From 071d70ecf62a8f1270424816c2171a05d33790e5 Mon Sep 17 00:00:00 2001 From: Torsten Schulz Date: Tue, 18 Jul 2017 23:49:40 +0200 Subject: [PATCH] Initial submit --- .gitignore | 73 ++++++++++++++++++++++++++++++++++++++++++ YourChat.pro | 6 ++++ config.cpp | 12 +++++++ config.h | 17 ++++++++++ config/chatconfig.json | 0 main.cpp | 9 ++++++ room.cpp | 12 +++++++ room.h | 17 ++++++++++ server.cpp | 12 +++++++ server.h | 17 ++++++++++ tools.cpp | 12 +++++++ tools.h | 17 ++++++++++ user.cpp | 12 +++++++ user.h | 17 ++++++++++ 14 files changed, 233 insertions(+) create mode 100644 .gitignore create mode 100644 YourChat.pro create mode 100644 config.cpp create mode 100644 config.h create mode 100644 config/chatconfig.json create mode 100644 main.cpp create mode 100644 room.cpp create mode 100644 room.h create mode 100644 server.cpp create mode 100644 server.h create mode 100644 tools.cpp create mode 100644 tools.h create mode 100644 user.cpp create mode 100644 user.h diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..fab7372 --- /dev/null +++ b/.gitignore @@ -0,0 +1,73 @@ +# This file is used to ignore files which are generated +# ---------------------------------------------------------------------------- + +*~ +*.autosave +*.a +*.core +*.moc +*.o +*.obj +*.orig +*.rej +*.so +*.so.* +*_pch.h.cpp +*_resource.rc +*.qm +.#* +*.*# +core +!core/ +tags +.DS_Store +.directory +*.debug +Makefile* +*.prl +*.app +moc_*.cpp +ui_*.h +qrc_*.cpp +Thumbs.db +*.res +*.rc +/.qmake.cache +/.qmake.stash + +# qtcreator generated files +*.pro.user* + +# xemacs temporary files +*.flc + +# Vim temporary files +.*.swp + +# Visual Studio generated files +*.ib_pdb_index +*.idb +*.ilk +*.pdb +*.sln +*.suo +*.vcproj +*vcproj.*.*.user +*.ncb +*.sdf +*.opensdf +*.vcxproj +*vcxproj.* + +# MinGW generated files +*.Debug +*.Release + +# Python byte code +*.pyc + +# Binaries +# -------- +*.dll +*.exe + diff --git a/YourChat.pro b/YourChat.pro new file mode 100644 index 0000000..e4b5a40 --- /dev/null +++ b/YourChat.pro @@ -0,0 +1,6 @@ +TEMPLATE = app +CONFIG += console c++11 +CONFIG -= app_bundle +CONFIG -= qt + +SOURCES += main.cpp diff --git a/config.cpp b/config.cpp new file mode 100644 index 0000000..9e0287b --- /dev/null +++ b/config.cpp @@ -0,0 +1,12 @@ +#include "config.h" + +namespace Yc { +namespace Lib { + +Config::Config() +{ + +} + +} // namespace Lib +} // namespace Yc diff --git a/config.h b/config.h new file mode 100644 index 0000000..306b12c --- /dev/null +++ b/config.h @@ -0,0 +1,17 @@ +#ifndef YC_LIB_CONFIG_H +#define YC_LIB_CONFIG_H + + +namespace Yc { +namespace Lib { + +class Config +{ +public: + Config(); +}; + +} // namespace Lib +} // namespace Yc + +#endif // YC_LIB_CONFIG_H \ No newline at end of file diff --git a/config/chatconfig.json b/config/chatconfig.json new file mode 100644 index 0000000..e69de29 diff --git a/main.cpp b/main.cpp new file mode 100644 index 0000000..b5b73c5 --- /dev/null +++ b/main.cpp @@ -0,0 +1,9 @@ +#include + +using namespace std; + +int main(int argc, char *argv[]) +{ + cout << "Hello World!" << endl; + return 0; +} diff --git a/room.cpp b/room.cpp new file mode 100644 index 0000000..de52a12 --- /dev/null +++ b/room.cpp @@ -0,0 +1,12 @@ +#include "room.h" + +namespace Yc { +namespace Lib { + +Room::Room() +{ + +} + +} // namespace Lib +} // namespace Yc diff --git a/room.h b/room.h new file mode 100644 index 0000000..63d89a1 --- /dev/null +++ b/room.h @@ -0,0 +1,17 @@ +#ifndef YC_LIB_ROOM_H +#define YC_LIB_ROOM_H + + +namespace Yc { +namespace Lib { + +class Room +{ +public: + Room(); +}; + +} // namespace Lib +} // namespace Yc + +#endif // YC_LIB_ROOM_H \ No newline at end of file diff --git a/server.cpp b/server.cpp new file mode 100644 index 0000000..6ee1a4a --- /dev/null +++ b/server.cpp @@ -0,0 +1,12 @@ +#include "server.h" + +namespace Yp { +namespace Lib { + +Server::Server() +{ + +} + +} // namespace Lib +} // namespace Yp diff --git a/server.h b/server.h new file mode 100644 index 0000000..3417c70 --- /dev/null +++ b/server.h @@ -0,0 +1,17 @@ +#ifndef YP_LIB_SERVER_H +#define YP_LIB_SERVER_H + + +namespace Yp { +namespace Lib { + +class Server +{ +public: + Server(); +}; + +} // namespace Lib +} // namespace Yp + +#endif // YP_LIB_SERVER_H \ No newline at end of file diff --git a/tools.cpp b/tools.cpp new file mode 100644 index 0000000..30c619d --- /dev/null +++ b/tools.cpp @@ -0,0 +1,12 @@ +#include "tools.h" + +namespace Yp { +namespace Lib { + +Tools::Tools() +{ + +} + +} // namespace Lib +} // namespace Yp diff --git a/tools.h b/tools.h new file mode 100644 index 0000000..99e3b92 --- /dev/null +++ b/tools.h @@ -0,0 +1,17 @@ +#ifndef YP_LIB_TOOLS_H +#define YP_LIB_TOOLS_H + + +namespace Yp { +namespace Lib { + +class Tools +{ +public: + Tools(); +}; + +} // namespace Lib +} // namespace Yp + +#endif // YP_LIB_TOOLS_H \ No newline at end of file diff --git a/user.cpp b/user.cpp new file mode 100644 index 0000000..4516463 --- /dev/null +++ b/user.cpp @@ -0,0 +1,12 @@ +#include "user.h" + +namespace Yc { +namespace Lib { + +User::User() +{ + +} + +} // namespace Lib +} // namespace Yc diff --git a/user.h b/user.h new file mode 100644 index 0000000..4c1c68d --- /dev/null +++ b/user.h @@ -0,0 +1,17 @@ +#ifndef YC_LIB_USER_H +#define YC_LIB_USER_H + + +namespace Yc { +namespace Lib { + +class User +{ +public: + User(); +}; + +} // namespace Lib +} // namespace Yc + +#endif // YC_LIB_USER_H \ No newline at end of file