This commit is contained in:
Kbz-8
2024-01-21 10:40:54 +01:00
parent 4374f826ea
commit 488c0ad83c
8 changed files with 139 additions and 6 deletions

26
includes/channel.hpp Normal file
View File

@@ -0,0 +1,26 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* channel.hpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: maldavid <kbz_8.dev@akel-engine.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/01/21 10:34:25 by maldavid #+# #+# */
/* Updated: 2024/01/21 10:35:49 by maldavid ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef __CHANNEL__
#define __CHANNEL__
namespace irc
{
class Channel
{
public:
private:
};
}
#endif

29
includes/client.hpp Normal file
View File

@@ -0,0 +1,29 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* client.hpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: maldavid <kbz_8.dev@akel-engine.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/01/21 10:33:17 by maldavid #+# #+# */
/* Updated: 2024/01/21 10:34:13 by maldavid ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef __CLIENT__
#define __CLIENT__
namespace irc
{
class Client
{
public:
Client();
~Client();
private:
};
}
#endif

View File

@@ -6,23 +6,30 @@
/* By: maldavid <kbz_8.dev@akel-engine.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/01/21 09:12:28 by maldavid #+# #+# */
/* Updated: 2024/01/21 09:14:20 by maldavid ### ########.fr */
/* Updated: 2024/01/21 10:37:58 by maldavid ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef __SERVER_IRC__
#define __SERVER_IRC__
#include <string>
#include <vector>
namespace irc
{
class Server
{
public:
Server();
Server(int port, const std::string& password);
~Server();
private:
std::vector<class Channel> _channels;
const std::string _password;
const int _port;
int _socket;
};
}