mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
ae26b835b6
Things that were once singletons are no longer singletons, but are instead stored in the "Application" singleton Some singletons still remain, and some renaming/renamespacing is left
29 lines
510 B
C++
29 lines
510 B
C++
#pragma once
|
|
|
|
#include "channel.hpp"
|
|
#include "widgets/basewindow.hpp"
|
|
#include "widgets/helper/channelview.hpp"
|
|
|
|
#include <pajlada/signals/signal.hpp>
|
|
|
|
namespace chatterino {
|
|
namespace widgets {
|
|
|
|
class EmotePopup : public BaseWindow
|
|
{
|
|
public:
|
|
EmotePopup();
|
|
|
|
void loadChannel(ChannelPtr channel);
|
|
void loadEmojis();
|
|
|
|
pajlada::Signals::Signal<messages::Link> linkClicked;
|
|
|
|
private:
|
|
ChannelView *viewEmotes;
|
|
ChannelView *viewEmojis;
|
|
};
|
|
|
|
} // namespace widgets
|
|
} // namespace chatterino
|