mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
31 lines
565 B
C++
31 lines
565 B
C++
|
#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> channel, QString userName);
|
||
|
|
||
|
private:
|
||
|
ChannelView *channelView_ = nullptr;
|
||
|
ChannelPtr channel_ = Channel::getEmpty();
|
||
|
|
||
|
QString userName_;
|
||
|
|
||
|
void initLayout();
|
||
|
void setMessages(std::vector<MessagePtr> &messages);
|
||
|
void getOverrustleLogs();
|
||
|
void getLogviewerLogs();
|
||
|
};
|
||
|
|
||
|
} // namespace chatterino
|