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 example3();
namespace Cloud { namespace Dropbox {
namespace Cloud {
namespace Dropbox {
void DropboxStorage::handler() {
if (_firstTime) {
@ -48,7 +49,8 @@ void DropboxStorage::syncSaves() {
setTimeout(1000000); //in one second
}
} } //end of namespace Cloud::Dropbox
} //end of namespace Dropbox
} //end of namespace Cloud
/// SimpleJSON examples:

View file

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

View file

@ -45,7 +45,8 @@ public:
* @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;

View file

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

View file

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

View file

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