diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-08-12 14:15:47 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-08-12 14:15:47 (GMT) |
| commit | 5d3d1d4916cf6d126b54c8bbfb9ba67e27a2e789 (patch) | |
| tree | c25f80f42de7d771011f5809bb34ea58d6f50938 /src/client/Client.h | |
| parent | 08b4e5553aa10df74c4fdb0ba519fb700fa8100b (diff) | |
| download | powder-5d3d1d4916cf6d126b54c8bbfb9ba67e27a2e789.zip powder-5d3d1d4916cf6d126b54c8bbfb9ba67e27a2e789.tar.gz | |
Message of the day and user session check on startup
Diffstat (limited to 'src/client/Client.h')
| -rw-r--r-- | src/client/Client.h | 6 |
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); |
