#pragma once #include "common/Channel.hpp" #include "widgets/BaseWindow.hpp" namespace chatterino { class Channel; class ChannelView; class LogsPopup : public BaseWindow { public: LogsPopup(); void setInfo(std::shared_ptr channel, QString userName); private: void initLayout(); void setMessages(std::vector &messages); void getOverrustleLogs(); void getLogviewerLogs(); ChannelView *channelView_ = nullptr; ChannelPtr channel_ = Channel::getEmpty(); QString userName_; }; } // namespace chatterino