diff options
Diffstat (limited to 'src/irc')
| -rw-r--r-- | src/irc/client.cpp | 10 | ||||
| -rw-r--r-- | src/irc/client.hpp | 17 |
2 files changed, 27 insertions, 0 deletions
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 <string> + +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 <string> + +namespace RedpilledBot { + namespace IRC { + class Client { + public: + Client(std::string username, std::string password); + ~Client() = default; + + private: + std::string username; + std::string password; + }; + } +} |
