|
| DropboxStorage (const Common::String &code, Networking::ErrorCallback cb) |
|
| DropboxStorage (const Networking::JsonResponse &codeFlowJson, Networking::ErrorCallback cb) |
|
void | saveConfig (const Common::String &keyPrefix) override |
|
Common::String | name () const override |
|
Networking::Request * | listDirectory (const Common::String &path, ListDirectoryCallback callback, Networking::ErrorCallback errorCallback, bool recursive=false) override |
|
Networking::Request * | upload (const Common::String &path, Common::SeekableReadStream *contents, UploadCallback callback, Networking::ErrorCallback errorCallback) override |
|
Networking::Request * | streamFileById (const Common::String &path, Networking::NetworkReadStreamCallback callback, Networking::ErrorCallback errorCallback) override |
|
Networking::Request * | createDirectory (const Common::String &path, BoolCallback callback, Networking::ErrorCallback errorCallback) override |
|
Networking::Request * | info (StorageInfoCallback callback, Networking::ErrorCallback errorCallback) override |
|
Common::String | savesDirectoryPath () override |
|
Common::String | accessToken () const |
|
| BaseStorage (const Common::String &token, const Common::String &refreshToken, bool enabled=false) |
|
virtual void | refreshAccessToken (BoolCallback callback, Networking::ErrorCallback errorCallback=nullptr) |
|
bool | isEnabled () const |
|
void | enable () |
|
virtual Networking::Request * | upload (const Common::String &remotePath, const Common::Path &localPath, UploadCallback callback, Networking::ErrorCallback errorCallback) |
|
virtual bool | uploadStreamSupported () |
|
virtual Networking::Request * | streamFile (const Common::String &path, Networking::NetworkReadStreamCallback callback, Networking::ErrorCallback errorCallback) |
|
virtual Networking::Request * | download (const Common::String &remotePath, const Common::Path &localPath, BoolCallback callback, Networking::ErrorCallback errorCallback) |
|
virtual Networking::Request * | downloadById (const Common::String &remoteId, const Common::Path &localPath, BoolCallback callback, Networking::ErrorCallback errorCallback) |
|
virtual Networking::Request * | downloadFolder (const Common::String &remotePath, const Common::Path &localPath, FileArrayCallback callback, Networking::ErrorCallback errorCallback, bool recursive=false) |
|
virtual SavesSyncRequest * | syncSaves (BoolCallback callback, Networking::ErrorCallback errorCallback) |
|
virtual bool | isWorking () |
|
virtual bool | isSyncing () |
|
virtual double | getSyncDownloadingProgress () |
|
virtual void | getSyncDownloadingInfo (SyncDownloadingInfo &info) |
|
virtual double | getSyncProgress () |
|
virtual Common::Array< Common::String > | getSyncingFiles () |
|
virtual void | cancelSync () |
|
virtual bool | startDownload (const Common::String &remotePath, const Common::Path &localPath) |
|
virtual void | cancelDownload () |
|
virtual void | setDownloadTarget (GUI::CommandReceiver *target) |
|
virtual bool | isDownloading () |
|
virtual double | getDownloadingProgress () |
|
virtual uint64 | getDownloadBytesNumber () |
|
virtual uint64 | getDownloadTotalBytesNumber () |
|
virtual uint64 | getDownloadSpeed () |
|
virtual Common::String | getDownloadRemoteDirectory () |
|
virtual Common::Path | getDownloadLocalDirectory () |
|