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