diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2016-03-04 16:59:35 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2016-03-04 16:59:35 +0000 |
commit | 6d02559b3c3cb05cfc6a0ade5c4815dda4427834 (patch) | |
tree | 1233d2f09a0c7e25c045ccae29edb6cc88e4efc4 /plugins/Dropbox/src/dropbox.cpp | |
parent | 03c5cb9df33ae92ac85e045fd9c7c5b9adf294b3 (diff) |
Dropbox: removed old service
git-svn-id: http://svn.miranda-ng.org/main/trunk@16420 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dropbox/src/dropbox.cpp')
-rw-r--r-- | plugins/Dropbox/src/dropbox.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/Dropbox/src/dropbox.cpp b/plugins/Dropbox/src/dropbox.cpp index fa31010600..63b779c59c 100644 --- a/plugins/Dropbox/src/dropbox.cpp +++ b/plugins/Dropbox/src/dropbox.cpp @@ -6,10 +6,8 @@ CDropbox::CDropbox() : transfers(1, HandleKeySortT) HookEvent(ME_SYSTEM_PRESHUTDOWN, OnPreShutdown);
HookEventObj(ME_SYSTEM_MODULESLOADED, GlobalEvent<&CDropbox::OnModulesLoaded>, this);
- hFileSentEventHook = CreateHookableEvent(ME_DROPBOX_SENT);
hUploadedEventHook = CreateHookableEvent(ME_DROPBOX_UPLOADED);
- CreateServiceFunctionObj(MS_DROPBOX_SEND_FILE, GlobalService<&CDropbox::SendFileToDropbox>, this);
CreateServiceFunctionObj(MS_DROPBOX_UPLOAD, GlobalService<&CDropbox::UploadToDropbox>, this);
CreateServiceFunctionObj(MS_DROPBOX_UPLOADASYNC, GlobalService<&CDropbox::UploadToDropboxAsync>, this);
@@ -41,7 +39,7 @@ CDropbox::CDropbox() : transfers(1, HandleKeySortT) CDropbox::~CDropbox()
{
- DestroyHookableEvent(hFileSentEventHook);
+ DestroyHookableEvent(hUploadedEventHook);
}
MCONTACT CDropbox::GetDefaultContact()
|