From d76037b36feaa71923325f3f6073085a68810917 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Sat, 20 Apr 2024 22:47:34 +0500 Subject: feat: irc client (wip) --- src/irc/client.cpp | 10 ++++++++++ src/irc/client.hpp | 17 +++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 src/irc/client.cpp create mode 100644 src/irc/client.hpp (limited to 'src/irc') diff --git a/src/irc/client.cpp b/src/irc/client.cpp new file mode 100644 index 0000000..ed9552e --- /dev/null +++ b/src/irc/client.cpp @@ -0,0 +1,10 @@ +#include "client.hpp" + +#include + +using namespace RedpilledBot::IRC; + +Client::Client(std::string username, std::string password) { + this->username = username; + this->password = password; +} diff --git a/src/irc/client.hpp b/src/irc/client.hpp new file mode 100644 index 0000000..2fea780 --- /dev/null +++ b/src/irc/client.hpp @@ -0,0 +1,17 @@ +#pragma once + +#include + +namespace RedpilledBot { + namespace IRC { + class Client { + public: + Client(std::string username, std::string password); + ~Client() = default; + + private: + std::string username; + std::string password; + }; + } +} -- cgit v1.2.3