32 lines
585 B
C++
32 lines
585 B
C++
#pragma once
|
|
|
|
#include "widgets/helper/SearchPopup.hpp"
|
|
|
|
namespace chatterino {
|
|
|
|
class LogsPopup : public SearchPopup
|
|
{
|
|
public:
|
|
LogsPopup();
|
|
|
|
void setChannel(const ChannelPtr &channel) override;
|
|
void setChannelName(const QString &channelName);
|
|
void setTargetUserName(const QString &userName);
|
|
|
|
void getLogs();
|
|
|
|
protected:
|
|
void updateWindowTitle() override;
|
|
|
|
private:
|
|
ChannelPtr channel_;
|
|
|
|
QString userName_;
|
|
QString channelName_;
|
|
|
|
void setMessages(std::vector<MessagePtr> &messages);
|
|
void getOverrustleLogs();
|
|
};
|
|
|
|
} // namespace chatterino
|