diff options
author | Alexander Tkachev | 2016-05-11 15:15:23 +0600 |
---|---|---|
committer | Alexander Tkachev | 2016-08-24 16:05:07 +0600 |
commit | 7446ffd73bd184610d550a354a8e252b0b7f334d (patch) | |
tree | 66527d233886549ed881230f275cb3ebeb9c94a4 /common | |
parent | 52240c68c7301b941f51ea315994ee7e4665707b (diff) | |
download | scummvm-rg350-7446ffd73bd184610d550a354a8e252b0b7f334d.tar.gz scummvm-rg350-7446ffd73bd184610d550a354a8e252b0b7f334d.tar.bz2 scummvm-rg350-7446ffd73bd184610d550a354a8e252b0b7f334d.zip |
CLOUD: Integrate CloudThread into OSystem
Would be changed soon.
Diffstat (limited to 'common')
-rw-r--r-- | common/system.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/common/system.h b/common/system.h index 6d185d3075..1af45fb1fc 100644 --- a/common/system.h +++ b/common/system.h @@ -58,6 +58,12 @@ class KeymapperDefaultBindings; #endif } +//TODO: define USE_CLOUD +//TODO: probably move to common and name CloudManager +//#if defined(USE_CLOUD) +class CloudThread; +//#endif + class AudioCDManager; class FilesystemFactory; class PaletteManager; @@ -178,6 +184,16 @@ protected: Common::UpdateManager *_updateManager; #endif +//TODO: define USE_CLOUD +//#if defined(USE_CLOUD) + /** + * No default value is provided for _cloudThread by OSystem. + * + * @note _cloudThread is deleted by the OSystem destructor. + */ + CloudThread *_cloudThread; +//#endif + /** * No default value is provided for _fsFactory by OSystem. * @@ -1116,6 +1132,19 @@ public: } #endif +//TODO: define USE_CLOUD +//#if defined(USE_CLOUD) + /** + * Returns the CloudThread, used to sync save games and + * upload/download files from user's cloud storage. + * + * @return the CloudThread for the current architecture + */ + virtual CloudThread *getCloudThread() { + return _cloudThread; + } +//#endif + /** * Returns the FilesystemFactory object, depending on the current architecture. * |