mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:57:35 +00:00
IRCClient: Modernize Core::Object usage
This commit is contained in:
parent
a70cc5ca1d
commit
8efafdfc12
4 changed files with 27 additions and 25 deletions
|
@ -45,7 +45,6 @@ class IRCClient final : public Core::Object {
|
|||
friend class IRCQuery;
|
||||
|
||||
public:
|
||||
IRCClient();
|
||||
virtual ~IRCClient() override;
|
||||
|
||||
void set_server(const String& hostname, int port = 6667);
|
||||
|
@ -114,6 +113,8 @@ public:
|
|||
void add_server_message(const String&, Color = Color::Black);
|
||||
|
||||
private:
|
||||
IRCClient();
|
||||
|
||||
struct Message {
|
||||
String prefix;
|
||||
String command;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue