diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2014-02-21 19:37:00 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2014-02-21 19:37:00 +0000 |
commit | 9fbb540928c2584128bdd6361d60ee57f315a0f6 (patch) | |
tree | c4287ad64de116771179d5e240b8d4133caaac97 /plugins/Dropbox/src/dropbox.h | |
parent | 84fb545f1ee85924b1c51971e0d69dcaa49f6fe0 (diff) |
insignificant changes
git-svn-id: http://svn.miranda-ng.org/main/trunk@8203 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dropbox/src/dropbox.h')
-rw-r--r-- | plugins/Dropbox/src/dropbox.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/plugins/Dropbox/src/dropbox.h b/plugins/Dropbox/src/dropbox.h index c2aed06ec8..09f162302f 100644 --- a/plugins/Dropbox/src/dropbox.h +++ b/plugins/Dropbox/src/dropbox.h @@ -17,7 +17,8 @@ enum
{
- CMI_API_ACCESS_REQUERIED,
+ CMI_API_REQUEST_AUTH,
+ CMI_SEND_FILES,
CMI_MAX // this item shall be the last one
};
@@ -88,11 +89,13 @@ private: static int OnOptionsInit(WPARAM wParam, LPARAM lParam);
// services
- static INT_PTR GetCaps(WPARAM wParam, LPARAM lParam);
- static INT_PTR SendFile(WPARAM wParam, LPARAM lParam);
- static INT_PTR SendMessage(WPARAM wParam, LPARAM lParam);
+ static INT_PTR ProtoGetCaps(WPARAM wParam, LPARAM lParam);
+ static INT_PTR ProtoSendFile(WPARAM wParam, LPARAM lParam);
+ static INT_PTR ProtoSendMessage(WPARAM wParam, LPARAM lParam);
- static INT_PTR RequeriedApiAccess(WPARAM wParam, LPARAM lParam);
+ static INT_PTR RequestApiAuthorization(WPARAM wParam, LPARAM lParam);
+
+ static INT_PTR SendFilesToDropbox(WPARAM wParam, LPARAM lParam);
// access token
static bool HasAccessToken();
@@ -100,7 +103,7 @@ private: void RequestAcceessToken(MCONTACT hContact);
void DestroyAcceessToken(MCONTACT hContact);
- static void RequeriedAccessAsync(void *arg);
+ static void RequestApiAuthorizationAsync(void *arg);
// transrers
HttpRequest *CreateFileSendChunkedRequest(const char *data, int length);
|