22 #ifndef BACKENDS_CLOUD_DROPBOX_STORAGE_H 23 #define BACKENDS_CLOUD_DROPBOX_STORAGE_H 25 #include "backends/cloud/basestorage.h" 26 #include "common/callback.h" 27 #include "backends/networking/curl/curljsonrequest.h"
Definition: basestorage.h:28
static DropboxStorage * loadFromConfig(const Common::String &keyPrefix)
bool needsRefreshToken() override
static void removeFromConfig(const Common::String &keyPrefix)
Networking::Request * streamFileById(const Common::String &path, Networking::NetworkReadStreamCallback callback, Networking::ErrorCallback errorCallback) override
Common::String name() const override
uint32 storageIndex() override
bool canReuseRefreshToken() override
Common::String _token
Definition: basestorage.h:33
Networking::Request * upload(const Common::String &path, Common::SeekableReadStream *contents, UploadCallback callback, Networking::ErrorCallback errorCallback) override
Definition: callback.h:49
Networking::Request * listDirectory(const Common::String &path, ListDirectoryCallback callback, Networking::ErrorCallback errorCallback, bool recursive=false) override
Networking::Request * createDirectory(const Common::String &path, BoolCallback callback, Networking::ErrorCallback errorCallback) override
Networking::Request * info(StorageInfoCallback callback, Networking::ErrorCallback errorCallback) override
Definition: dropboxstorage.h:32
Definition: basestorage.h:30
Common::String savesDirectoryPath() override
void saveConfig(const Common::String &keyPrefix) override
Common::String cloudProvider() override
Definition: request.h:119