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:
parent
f004db19d0
commit
eba5fd3f46
7 changed files with 26 additions and 26 deletions
33
Applications/IRCClient/IRCClientWindow.h
Normal file
33
Applications/IRCClient/IRCClientWindow.h
Normal 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;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue