summaryrefslogtreecommitdiff
path: root/plugins/CloudFile/src/cloud_file.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-04-22 14:49:00 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-04-22 14:49:00 +0300
commitfcae50377289915682e56fcbd49297d76da38b51 (patch)
tree1aceb0a6cb033b6be709401a42cc13eea6b4c928 /plugins/CloudFile/src/cloud_file.cpp
parent9300399ed59f4d82f5e62f5ef43b752da4dd0735 (diff)
no more PROTO_INTERFACE::OnEvent
Diffstat (limited to 'plugins/CloudFile/src/cloud_file.cpp')
-rw-r--r--plugins/CloudFile/src/cloud_file.cpp15
1 files changed, 5 insertions, 10 deletions
diff --git a/plugins/CloudFile/src/cloud_file.cpp b/plugins/CloudFile/src/cloud_file.cpp
index 3217716341..2c019cbd96 100644
--- a/plugins/CloudFile/src/cloud_file.cpp
+++ b/plugins/CloudFile/src/cloud_file.cpp
@@ -21,6 +21,11 @@ CCloudService::~CCloudService()
m_hConnection = nullptr;
}
+void CCloudService::OnErase()
+{
+ KillModuleMenus(m_hLangpack);
+}
+
int CCloudService::GetId() const
{
return m_hLangpack;
@@ -88,16 +93,6 @@ void CCloudService::OpenUploadDialog(MCONTACT hContact)
SetActiveWindow(it->second);
}
-int CCloudService::OnEvent(PROTOEVENTTYPE iEventType, WPARAM, LPARAM)
-{
- switch (iEventType) {
- case EV_PROTO_ONERASE:
- KillModuleMenus(m_hLangpack);
- return 0;
- }
- return 1;
-}
-
INT_PTR CCloudService::OnAccountManagerInit(WPARAM, LPARAM lParam)
{
CAccountManagerDlg *page = new CAccountManagerDlg(this);