mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
5aa892e834
* 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
35 lines
682 B
C++
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
|