summaryrefslogtreecommitdiff
path: root/plugins/Dropbox/src/dropbox.h
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2016-03-03 14:47:53 +0000
committerAlexander Lantsev <aunsane@gmail.com>2016-03-03 14:47:53 +0000
commit999fdaa2662a1fe8937ec110232a78e87d79bfe7 (patch)
tree1c3d7c292fa5a54986e266778979c2496bb5a420 /plugins/Dropbox/src/dropbox.h
parent44223012ce0fa631cc5af6fc588166bccc3a66f6 (diff)
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
Diffstat (limited to 'plugins/Dropbox/src/dropbox.h')
-rw-r--r--plugins/Dropbox/src/dropbox.h8
1 files changed, 4 insertions, 4 deletions
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);