22 #ifndef BACKENDS_CLOUD_BOX_BOXSTORAGE_H 23 #define BACKENDS_CLOUD_BOX_BOXSTORAGE_H 25 #include "backends/cloud/id/idstorage.h" 26 #include "backends/networking/curl/curljsonrequest.h" bool uploadStreamSupported() override
Common::String name() const override
Definition: basestorage.h:28
static void removeFromConfig(const Common::String &keyPrefix)
uint32 storageIndex() override
Definition: boxstorage.h:31
Common::String savesDirectoryPath() override
Networking::Request * info(StorageInfoCallback callback, Networking::ErrorCallback errorCallback) override
bool needsRefreshToken() override
Networking::Request * upload(const Common::String &remotePath, const Common::Path &localPath, UploadCallback callback, Networking::ErrorCallback errorCallback) override
Common::String _token
Definition: basestorage.h:33
static BoxStorage * loadFromConfig(const Common::String &keyPrefix)
Definition: callback.h:49
Networking::Request * listDirectoryById(const Common::String &id, ListDirectoryCallback callback, Networking::ErrorCallback errorCallback) override
Definition: idstorage.h:45
bool canReuseRefreshToken() override
Networking::Request * streamFileById(const Common::String &path, Networking::NetworkReadStreamCallback callback, Networking::ErrorCallback errorCallback) override
Common::String cloudProvider() override
void saveConfig(const Common::String &keyPrefix) override
Definition: request.h:119