mirror-chatterino2/src/widgets/dialogs/LogsPopup.hpp

31 lines
565 B
C++
Raw Normal View History

#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:
void initLayout();
void setMessages(std::vector<MessagePtr> &messages);
void getOverrustleLogs();
void getLogviewerLogs();
2018-07-06 19:23:47 +02:00
ChannelView *channelView_ = nullptr;
ChannelPtr channel_ = Channel::getEmpty();
QString userName_;
};
} // namespace chatterino