mirror-chatterino2/src/widgets/emotepopup.hpp
Rasmus Karlsson ae26b835b6 Perform initial refactoring work
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
2018-04-27 22:11:19 +02:00

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