Files
ladybird/Applications/IRCClient/IRCSubWindow.h
Andreas Kling aa19735c5a IRCClient: Start working on a simple graphical IRC client.
This will be a nice way to exercise both LibGUI and the TCP/IP support. :^)
2019-03-15 12:14:23 +01:00

16 lines
324 B
C++

#pragma once
#include <LibGUI/GWidget.h>
class IRCSubWindow : public GWidget {
public:
explicit IRCSubWindow(const String& name, GWidget* parent);
virtual ~IRCSubWindow() override;
String name() const { return m_name; }
void set_name(const String& name) { m_name = name; }
private:
String m_name;
};