summaryrefslogtreecommitdiff
path: root/protocols/CloudFile/src/cloud_file.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/CloudFile/src/cloud_file.cpp')
-rw-r--r--protocols/CloudFile/src/cloud_file.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/protocols/CloudFile/src/cloud_file.cpp b/protocols/CloudFile/src/cloud_file.cpp
index 81e2c37a2b..8674789126 100644
--- a/protocols/CloudFile/src/cloud_file.cpp
+++ b/protocols/CloudFile/src/cloud_file.cpp
@@ -9,8 +9,6 @@ CCloudService::CCloudService(const char *protoName, const wchar_t *userName, HPL
nlu.szSettingsModule = (char*)protoName;
nlu.szDescriptiveName.w = (wchar_t*)userName;
m_hConnection = Netlib_RegisterUser(&nlu);
-
- CreateProtoService(PS_CREATEACCMGRUI, &CCloudService::OnAccountManagerInit);
}
CCloudService::~CCloudService()
@@ -86,12 +84,12 @@ void CCloudService::OpenUploadDialog(MCONTACT hContact)
SetActiveWindow(it->second);
}
-INT_PTR CCloudService::OnAccountManagerInit(WPARAM, LPARAM lParam)
+MWindow CCloudService::OnCreateAccMgrUI(MWindow hwndParent)
{
CAccountManagerDlg *page = new CAccountManagerDlg(this);
- page->SetParent((HWND)lParam);
+ page->SetParent(hwndParent);
page->Show();
- return (INT_PTR)page->GetHwnd();
+ return page->GetHwnd();
}
std::string CCloudService::PreparePath(const std::string &path) const