mirror-chatterino2/src/application.hpp
Rasmus Karlsson 5aa892e834 Refactor ConcurrentMap
* Add operator[] to ConcurrentMap which returns a TValue reference
* BTTV/FFZ channel emotes are now stored in the Emote Manager, and each Channel object has a reference to their own BTTV/FFZ channel emote map.
* Restructure EmoteManager a bit (simplify the ConcurrentMap havoc).
* Add EmoteData struct which can store emote data (for now only messages::LazyLoadedImage*)
* Add CompletionManager that does nothing
2017-07-09 17:58:59 +02:00

35 lines
682 B
C++

#pragma once
#include "channelmanager.hpp"
#include "colorscheme.hpp"
#include "emotemanager.hpp"
#include "ircmanager.hpp"
#include "messagefactory.hpp"
#include "resources.hpp"
#include "windowmanager.hpp"
#include "completionmanager.hpp"
#include <QApplication>
namespace chatterino {
class Application
{
public:
Application();
~Application();
int run(QApplication &qtApp);
CompletionManager completionManager;
WindowManager windowManager;
ColorScheme colorScheme;
EmoteManager emoteManager;
Resources resources;
ChannelManager channelManager;
IrcManager ircManager;
MessageFactory messageFactory;
};
} // namespace chatterino