summaryrefslogtreecommitdiff
path: root/src/client/Client.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/Client.h')
-rw-r--r--src/client/Client.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/client/Client.h b/src/client/Client.h
index 8812496..31f1fa1 100644
--- a/src/client/Client.h
+++ b/src/client/Client.h
@@ -46,6 +46,8 @@ class ThumbnailListener;
class ClientListener;
class Client: public Singleton<Client> {
private:
+ std::string messageOfTheDay;
+
void * versionCheckRequest;
bool updateAvailable;
UpdateInfo updateInfo;
@@ -71,6 +73,7 @@ private:
static vector<std::string> explodePropertyString(std::string property);
void notifyUpdateAvailable();
void notifyAuthUserChanged();
+ void notifyMessageOfTheDay();
//Config file handle
json::Object configDocument;
@@ -90,6 +93,9 @@ public:
std::vector<unsigned char> ReadFile(std::string filename);
+ void SetMessageOfTheDay(std::string message);
+ std::string GetMessageOfTheDay();
+
void Initialise(std::string proxyString);
void SetProxy(std::string proxy);