#include <CloudSyncManager.h>
Public Member Functions |
|
CloudSyncManager () | |
void | closeSync () |
bool | isLoggedIn () const |
bool | isSyncEnabled (const awString::IString &localPath, bool *pIsRoot) const |
bool | enableSync (const awString::IString &localPath, const awString::IString &cloudPath) |
bool | disableSync (const awString::IString &localPath, bool permanent) |
bool | getSyncStatus (const awString::IString &localPath) const |
bool | uploadFile (const awString::IString &localFile, const awString::IString &cloudFile) |
bool | downloadFile (const awString::IString &cloudFile, const awString::IString &localFile) |
bool | createFolderInCloud (const awString::IString &cloudPath) |
bool | deleteInCloud (const awString::IString &cloudPath) |
bool | setSourceProduct (const awString::IString &cachePath) |
double | getCloudFolderSize () |
bool | uploadAssociatedFile (const awString::IString &cloudFile, const awString::IString &associatedFile) |
double | getCloudStorageQuota () const |
double | getCloudStorageUsed () const |
awString::IString | getCloudPath (const awString::IString &localPath) |
awString::IString | getUrl (const awString::IString &localPath) |
awString::IString | getLocalPath (const awString::IString &cloudPath) |
bool | moveInCloud (const awString::IString ¤tCloudPath, const awString::IString &newCloudPath) const |
bool | openCloudDocuments () const |
awString::IString | getCloudCacheFolder (bool mappedPath=false) |
bool | isCloudCacheFolderSyncSetup () const |
bool | isCloudCacheFolderSyncEnabled () const |
bool | enableCloudCacheFolderSync () |
bool | disableCloudCacheFolderSync (bool deleteCacheFolder) |
bool | share (const awString::IString &idOrPath, bool isPath, bool isFolder) |
bool | isShared (const awString::IString &path) const |
bool | isCloudCacheFolderPath (const awString::IString &path) const |
awString::IString | getOwnerId (const awString::IString &path) |
bool | start () |
bool | restart () |
bool | stop () |
bool | syncNow () |
CloudSyncManager | ( | ) |
void closeSync | ( | ) |
bool isLoggedIn | ( | ) | const |
bool isSyncEnabled | ( | const awString::IString & | localPath, |
bool * | pIsRoot | ||
) | const |
bool enableSync | ( | const awString::IString & | localPath, |
const awString::IString & | cloudPath | ||
) |
bool disableSync | ( | const awString::IString & | localPath, |
bool | permanent | ||
) |
bool getSyncStatus | ( | const awString::IString & | localPath | ) | const |
bool uploadFile | ( | const awString::IString & | localFile, |
const awString::IString & | cloudFile | ||
) |
bool downloadFile | ( | const awString::IString & | cloudFile, |
const awString::IString & | localFile | ||
) |
bool createFolderInCloud | ( | const awString::IString & | cloudPath | ) |
bool deleteInCloud | ( | const awString::IString & | cloudPath | ) |
bool setSourceProduct | ( | const awString::IString & | cachePath | ) |
double getCloudFolderSize | ( | ) |
bool uploadAssociatedFile | ( | const awString::IString & | cloudFile, |
const awString::IString & | associatedFile | ||
) |
double getCloudStorageQuota | ( | ) | const |
double getCloudStorageUsed | ( | ) | const |
awString::IString getCloudPath | ( | const awString::IString & | localPath | ) |
awString::IString getUrl | ( | const awString::IString & | localPath | ) |
awString::IString getLocalPath | ( | const awString::IString & | cloudPath | ) |
bool moveInCloud | ( | const awString::IString & | currentCloudPath, |
const awString::IString & | newCloudPath | ||
) | const |
bool openCloudDocuments | ( | ) | const |
awString::IString getCloudCacheFolder | ( | bool | mappedPath = false |
) |
bool isCloudCacheFolderSyncSetup | ( | ) | const |
bool isCloudCacheFolderSyncEnabled | ( | ) | const |
bool enableCloudCacheFolderSync | ( | ) |
bool disableCloudCacheFolderSync | ( | bool | deleteCacheFolder | ) |
bool share | ( | const awString::IString & | idOrPath, |
bool | isPath, | ||
bool | isFolder | ||
) |
bool isShared | ( | const awString::IString & | path | ) | const |
bool isCloudCacheFolderPath | ( | const awString::IString & | path | ) | const |
awString::IString getOwnerId | ( | const awString::IString & | path | ) |
bool start | ( | ) |
bool restart | ( | ) |
bool stop | ( | ) |
bool syncNow | ( | ) |