From ff6a107e5f566da2644fbfe36455467beafaeb1e Mon Sep 17 00:00:00 2001 From: aunsane Date: Sun, 7 May 2017 02:25:29 +0300 Subject: CloudFile: - reworked options to dupport default service - added options to select conflict behavior - multiple fix and refactoring - version bump --- plugins/CloudFile/src/file_transfer.h | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) (limited to 'plugins/CloudFile/src/file_transfer.h') diff --git a/plugins/CloudFile/src/file_transfer.h b/plugins/CloudFile/src/file_transfer.h index 700988eaf4..cdf4475aeb 100644 --- a/plugins/CloudFile/src/file_transfer.h +++ b/plugins/CloudFile/src/file_transfer.h @@ -14,9 +14,7 @@ private: const wchar_t* folderName; int relativePathStart; - - CMStringW serverFolder; - + CMStringW data; public: @@ -96,17 +94,9 @@ public: folderName = wcsrchr(path, '\\') + 1; } - void SetServerFolder(const wchar_t *path) - { - if (path) - serverFolder = path; - } - - const wchar_t* GetServerFolder() const + const wchar_t* IsFolder() const { - if (serverFolder.IsEmpty()) - return NULL; - return serverFolder; + return folderName; } const wchar_t* GetFolderName() const -- cgit v1.2.3