Initial submit
This commit is contained in:
73
.gitignore
vendored
Normal file
73
.gitignore
vendored
Normal file
@@ -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
|
||||||
|
|
||||||
6
YourChat.pro
Normal file
6
YourChat.pro
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
TEMPLATE = app
|
||||||
|
CONFIG += console c++11
|
||||||
|
CONFIG -= app_bundle
|
||||||
|
CONFIG -= qt
|
||||||
|
|
||||||
|
SOURCES += main.cpp
|
||||||
12
config.cpp
Normal file
12
config.cpp
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
#include "config.h"
|
||||||
|
|
||||||
|
namespace Yc {
|
||||||
|
namespace Lib {
|
||||||
|
|
||||||
|
Config::Config()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
} // namespace Lib
|
||||||
|
} // namespace Yc
|
||||||
17
config.h
Normal file
17
config.h
Normal file
@@ -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
|
||||||
0
config/chatconfig.json
Normal file
0
config/chatconfig.json
Normal file
9
main.cpp
Normal file
9
main.cpp
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
#include <iostream>
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
|
int main(int argc, char *argv[])
|
||||||
|
{
|
||||||
|
cout << "Hello World!" << endl;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
12
room.cpp
Normal file
12
room.cpp
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
#include "room.h"
|
||||||
|
|
||||||
|
namespace Yc {
|
||||||
|
namespace Lib {
|
||||||
|
|
||||||
|
Room::Room()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
} // namespace Lib
|
||||||
|
} // namespace Yc
|
||||||
17
room.h
Normal file
17
room.h
Normal file
@@ -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
|
||||||
12
server.cpp
Normal file
12
server.cpp
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
#include "server.h"
|
||||||
|
|
||||||
|
namespace Yp {
|
||||||
|
namespace Lib {
|
||||||
|
|
||||||
|
Server::Server()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
} // namespace Lib
|
||||||
|
} // namespace Yp
|
||||||
17
server.h
Normal file
17
server.h
Normal file
@@ -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
|
||||||
12
tools.cpp
Normal file
12
tools.cpp
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
#include "tools.h"
|
||||||
|
|
||||||
|
namespace Yp {
|
||||||
|
namespace Lib {
|
||||||
|
|
||||||
|
Tools::Tools()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
} // namespace Lib
|
||||||
|
} // namespace Yp
|
||||||
17
tools.h
Normal file
17
tools.h
Normal file
@@ -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
|
||||||
12
user.cpp
Normal file
12
user.cpp
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
#include "user.h"
|
||||||
|
|
||||||
|
namespace Yc {
|
||||||
|
namespace Lib {
|
||||||
|
|
||||||
|
User::User()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
} // namespace Lib
|
||||||
|
} // namespace Yc
|
||||||
Reference in New Issue
Block a user