diff options
Diffstat (limited to 'plugins/CloudFile/src/cloud_file.cpp')
-rw-r--r-- | plugins/CloudFile/src/cloud_file.cpp | 15 |
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); |