summaryrefslogtreecommitdiff
path: root/plugins/Dropbox/src/dropbox.h
diff options
context:
space:
mode:
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