From 999fdaa2662a1fe8937ec110232a78e87d79bfe7 Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Thu, 3 Mar 2016 14:47:53 +0000 Subject: Dropbox: - remove menu item and srmm button for intercepted accounts - removed limitation on single transfer window from menu item and srmm git-svn-id: http://svn.miranda-ng.org/main/trunk@16405 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Dropbox/src/dropbox.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/Dropbox/src/dropbox.h') diff --git a/plugins/Dropbox/src/dropbox.h b/plugins/Dropbox/src/dropbox.h index 4ea16c4b67..aa83b795ea 100644 --- a/plugins/Dropbox/src/dropbox.h +++ b/plugins/Dropbox/src/dropbox.h @@ -33,8 +33,6 @@ private: HANDLE hUploadedEventHook; MCONTACT hDefaultContact; - MCONTACT hTransferContact; - HWND hTransferWindow; HGENMENU contactMenuItems[CMI_MAX]; @@ -49,8 +47,6 @@ private: int OnPrebuildContactMenu(WPARAM wParam, LPARAM lParam); int OnSrmmWindowOpened(WPARAM wParam, LPARAM lParam); int OnTabSrmmButtonPressed(WPARAM wParam, LPARAM lParam); - int OnFileDialogCancelled(WPARAM wParam, LPARAM lParam); - int OnFileDialogSuccessed(WPARAM wParam, LPARAM lParam); // services static INT_PTR ProtoGetCaps(WPARAM wParam, LPARAM lParam); @@ -93,6 +89,8 @@ private: void AppendToUploadSession(const char *data, size_t size, const char *sessionId, size_t offset); char* FinishUploadSession(const char *data, size_t size, const char *sessionId, size_t offset, char *path); + void CreateFolder(const char *path); + void CreateDownloadUrl(const char *path, char *url); static UINT UploadToDropbox(void *owner, void *arg); @@ -119,6 +117,8 @@ private: static char* PreparePath(const char *oldPath, char *newPath); static char* PreparePath(const TCHAR *oldPath, char *newPath); + static bool IsAccountIntercepted(const char *module); + static char* HttpStatusToText(HTTP_STATUS status); static void HandleJsonResponseError(NETLIBHTTPREQUEST *response); -- cgit v1.2.3