1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 12:07:45 +00:00

IRCClient: Rename IRCSubWindow => IRCClientWindow.

This commit is contained in:
Andreas Kling 2019-03-15 13:20:46 +01:00
parent f004db19d0
commit eba5fd3f46
7 changed files with 26 additions and 26 deletions

View file

@ -0,0 +1,33 @@
#pragma once
#include <LibGUI/GWidget.h>
class IRCClient;
class IRCLogBuffer;
class GTableView;
class IRCClientWindow : public GWidget {
public:
enum Type {
Server,
Channel,
Query,
};
explicit IRCClientWindow(IRCClient&, Type, const String& name, GWidget* parent);
virtual ~IRCClientWindow() override;
String name() const { return m_name; }
void set_name(const String& name) { m_name = name; }
Type type() const { return m_type; }
void set_log_buffer(const IRCLogBuffer&);
private:
IRCClient& m_client;
Type m_type;
String m_name;
GTableView* m_table_view { nullptr };
RetainPtr<IRCLogBuffer> m_log_buffer;
};