#pragma once #include "widgets/BasePopup.hpp" #include "widgets/Notebook.hpp" #include namespace chatterino { struct Link; class ChannelView; class Channel; using ChannelPtr = std::shared_ptr; class EmotePopup : public BasePopup { public: EmotePopup(QWidget *parent = nullptr); void loadChannel(ChannelPtr channel); void loadEmojis(); virtual void closeEvent(QCloseEvent *event) override; pajlada::Signals::Signal linkClicked; private: ChannelView *globalEmotesView_{}; ChannelView *channelEmotesView_{}; ChannelView *subEmotesView_{}; ChannelView *viewEmojis_{}; Notebook *notebook_; void addShortcuts() override; }; } // namespace chatterino