CLOUD: Do minor fixes
This commit is contained in:
parent
14785b12d3
commit
b272bba751
6 changed files with 9 additions and 11 deletions
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue