mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
32 lines
595 B
C++
32 lines
595 B
C++
#pragma once
|
|
|
|
#include "widgets/BaseWindow.hpp"
|
|
|
|
#include <pajlada/signals/signal.hpp>
|
|
|
|
namespace chatterino {
|
|
|
|
struct Link;
|
|
class ChannelView;
|
|
class Channel;
|
|
using ChannelPtr = std::shared_ptr<Channel>;
|
|
|
|
class EmotePopup : public BaseWindow
|
|
{
|
|
public:
|
|
EmotePopup(QWidget *parent = nullptr);
|
|
|
|
void loadChannel(ChannelPtr channel);
|
|
void loadEmojis();
|
|
|
|
pajlada::Signals::Signal<Link> linkClicked;
|
|
|
|
private:
|
|
ChannelView *globalEmotesView_{};
|
|
ChannelView *channelEmotesView_{};
|
|
ChannelView *subEmotesView_{};
|
|
ChannelView *viewEmojis_{};
|
|
};
|
|
|
|
} // namespace chatterino
|