mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:07:47 +00:00
IRCClient: Ask the user which IRC server to connect to on startup.
This commit is contained in:
parent
76ce68ac48
commit
cc20eef7ef
3 changed files with 20 additions and 8 deletions
|
@ -17,9 +17,11 @@ class IRCClient final : public GObject {
|
|||
friend class IRCChannel;
|
||||
friend class IRCQuery;
|
||||
public:
|
||||
IRCClient(const String& address, int port = 6667);
|
||||
IRCClient();
|
||||
virtual ~IRCClient() override;
|
||||
|
||||
void set_server(const String& hostname, int port = 6667);
|
||||
|
||||
bool connect();
|
||||
|
||||
String hostname() const { return m_hostname; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue