#pragma once #include "messages/LimitedQueueSnapshot.hpp" #include "messages/Message.hpp" #include "widgets/BaseWindow.hpp" #include class QLineEdit; namespace chatterino { class Channel; class ChannelView; class SearchPopup : public BaseWindow { public: SearchPopup(); void setChannel(std::shared_ptr channel); private: LimitedQueueSnapshot snapshot; QLineEdit *searchInput; ChannelView *channelView; void initLayout(); void performSearch(); }; } // namespace chatterino