summaryrefslogtreecommitdiff
path: root/plugins/Dropbox/src/dropbox.h
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2014-03-06 19:03:12 +0000
committerAlexander Lantsev <aunsane@gmail.com>2014-03-06 19:03:12 +0000
commit5fb7d6a8304db2236f46a6c7b33b0540fee11fd6 (patch)
tree89c9fde528f3437a86bb9fb83171f64bbc75efed /plugins/Dropbox/src/dropbox.h
parentaeff43204a4f2b583f9f83b383be00cac89cbd4e (diff)
Dropbox:
- added first approach of options page - fixed tabsrmm button destruction git-svn-id: http://svn.miranda-ng.org/main/trunk@8430 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dropbox/src/dropbox.h')
-rw-r--r--plugins/Dropbox/src/dropbox.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/Dropbox/src/dropbox.h b/plugins/Dropbox/src/dropbox.h
index 1b84aa786b..b10d78edb0 100644
--- a/plugins/Dropbox/src/dropbox.h
+++ b/plugins/Dropbox/src/dropbox.h
@@ -57,6 +57,7 @@ private:
// hooks
static int OnModulesLoaded(WPARAM wParam, LPARAM lParam);
+ static int OnPreShutdown(WPARAM wParam, LPARAM lParam);
static int OnOptionsInit(WPARAM wParam, LPARAM lParam);
static int OnContactDeleted(WPARAM wParam, LPARAM lParam);
static int OnPrebuildContactMenu(WPARAM wParam, LPARAM);
@@ -91,7 +92,7 @@ private:
static void RevokeApiAuthorizationAsync(void *arg);
// transrers
- int HandleFileTransferError(NETLIBHTTPREQUEST *response, MCONTACT hContact);
+ static int HandleFileTransferError(NETLIBHTTPREQUEST *response, MCONTACT hContact);
int SendFileChunkedFirst(const char *data, int length, char *uploadId, int &offset, MCONTACT hContact);
int SendFileChunkedNext(const char *data, int length, const char *uploadId, int &offset, MCONTACT hContact);
@@ -118,8 +119,8 @@ private:
// utils
static wchar_t *HttpStatusToText(HTTP_STATUS status);
- void ShowNotification(const wchar_t *caption, const wchar_t *message, int flags = 0, MCONTACT hContact = NULL);
- void ShowNotification(const wchar_t *message, int flags = 0, MCONTACT hContact = NULL);
+ static void ShowNotification(const wchar_t *caption, const wchar_t *message, int flags = 0, MCONTACT hContact = NULL);
+ static void ShowNotification(const wchar_t *message, int flags = 0, MCONTACT hContact = NULL);
};
#endif //_DROPBOX_PROTO_H_ \ No newline at end of file