diff --git a/config.txt b/config.txt index 90fbde1..45c25a1 100644 --- a/config.txt +++ b/config.txt @@ -2,3 +2,8 @@ ip: 127.0.0.1 port: 2142 conn_limit: 30 motd: welcome + +db_host: herisson.ovh +db_user: meuporg +db_pass: meuporg +db_name: akata diff --git a/Config.cpp b/core/Config.cpp similarity index 100% rename from Config.cpp rename to core/Config.cpp diff --git a/Config.hpp b/core/Config.hpp similarity index 100% rename from Config.hpp rename to core/Config.hpp diff --git a/main.cpp b/core/main.cpp similarity index 66% rename from main.cpp rename to core/main.cpp index e50f52d..a7028c7 100644 --- a/main.cpp +++ b/core/main.cpp @@ -6,12 +6,12 @@ int main( int carg, char* varg[] ){ -Config conf("config.txt"); + Config conf("config.txt"); -Database db; + Database db; -Network net; + Network net; -net.run(); + net.run(); } diff --git a/Database.cpp b/server/Database.cpp similarity index 100% rename from Database.cpp rename to server/Database.cpp diff --git a/Database.hpp b/server/Database.hpp similarity index 100% rename from Database.hpp rename to server/Database.hpp diff --git a/Network.cpp b/server/Network.cpp similarity index 100% rename from Network.cpp rename to server/Network.cpp diff --git a/Network.hpp b/server/Network.hpp similarity index 100% rename from Network.hpp rename to server/Network.hpp diff --git a/social/Account.cpp b/social/Account.cpp new file mode 100644 index 0000000..247a144 --- /dev/null +++ b/social/Account.cpp @@ -0,0 +1,5 @@ +#include "Account.hpp" + +Account::Account() { + +} diff --git a/social/Account.hpp b/social/Account.hpp new file mode 100644 index 0000000..116902c --- /dev/null +++ b/social/Account.hpp @@ -0,0 +1,17 @@ +#include +#include "Database.hpp" + +#ifndef ACCOUNT_H +#define ACCOUNT_H + +class Account +{ +private: + std::string name; + +public: + Account(); + virtual ~Account(); +}; + +#endif /* ACCOUNT_H */