aboutsummaryrefslogtreecommitdiff
path: root/src/Core/CoreObject/coreobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Core/CoreObject/coreobject.h')
-rw-r--r--src/Core/CoreObject/coreobject.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/Core/CoreObject/coreobject.h b/src/Core/CoreObject/coreobject.h
new file mode 100644
index 0000000..91bd33b
--- /dev/null
+++ b/src/Core/CoreObject/coreobject.h
@@ -0,0 +1,30 @@
+#ifndef COREOBJECT_H
+#define COREOBJECT_H
+
+#include "Core/CoreObject/serverinfostructure.h"
+#include "Core/GameInfo/gameinfostructure.h"
+#include "Logger/logger.h"
+#include "Settings/settingstructure.h"
+
+class CoreObject
+{
+public:
+ CoreObject();
+
+ // struct with internal and external settings
+ SettingStructure Settings;
+
+ // list of game details: gamename, cipher
+ QHash<QString, GameInfo> SupportedGames;
+
+ // logging functions
+ Logger Log;
+
+ // server address list acquired through third party masterservers
+ QList<ServerInfo> PendingServers;
+
+ // generate our session/identification string, to prevent self-syncing
+ QString masterserverIdentity; // msid value
+};
+
+#endif // COREOBJECT_H