CLOUD: Do minor fixes

This commit is contained in:
Alexander Tkachev 2016-05-12 18:52:57 +06:00
parent 14785b12d3
commit b272bba751
6 changed files with 9 additions and 11 deletions

View file

@ -28,7 +28,8 @@ void example1();
void example2(); void example2();
void example3(); void example3();
namespace Cloud { namespace Dropbox { namespace Cloud {
namespace Dropbox {
void DropboxStorage::handler() { void DropboxStorage::handler() {
if (_firstTime) { if (_firstTime) {
@ -48,7 +49,8 @@ void DropboxStorage::syncSaves() {
setTimeout(1000000); //in one second setTimeout(1000000); //in one second
} }
} } //end of namespace Cloud::Dropbox } //end of namespace Dropbox
} //end of namespace Cloud
/// SimpleJSON examples: /// SimpleJSON examples:

View file

@ -26,7 +26,7 @@
namespace Cloud { namespace Cloud {
void cloudThread(void *thread) { static void cloudThread(void *thread) {
Storage *cloudThread = (Storage *)thread; Storage *cloudThread = (Storage *)thread;
cloudThread->handler(); cloudThread->handler();
} }

View file

@ -45,7 +45,8 @@ public:
* @param path directory to list * @param path directory to list
*/ */
//TODO: actually make it list directories and some callback to pass gathered files list //TODO: actually make it list directories
//TODO: add some callback to pass gathered files list
virtual void listDirectory(Common::String path) = 0; virtual void listDirectory(Common::String path) = 0;

View file

@ -160,7 +160,7 @@ const char *gScummVMFeatures = ""
#ifdef USE_LIBCURL #ifdef USE_LIBCURL
"servers" "servers"
#ifdef USE_SDL_NET #ifdef USE_SDL_NET
" " ", "
#endif #endif
#endif #endif
#ifdef USE_SDL_NET #ifdef USE_SDL_NET

View file

@ -62,8 +62,5 @@ MODULE_OBJS += \
updates.o updates.o
endif endif
ifdef USE_CLOUD
endif
# Include common rules # Include common rules
include $(srcdir)/rules.mk include $(srcdir)/rules.mk

View file

@ -56,9 +56,7 @@ class HardwareInputSet;
class Keymap; class Keymap;
class KeymapperDefaultBindings; class KeymapperDefaultBindings;
#endif #endif
#if defined(USE_CLOUD)
class CloudManager; class CloudManager;
#endif
} }
class AudioCDManager; class AudioCDManager;