summaryrefslogtreecommitdiff
path: root/protocols/CloudFile/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2025-04-11 14:00:40 +0300
committerGeorge Hazan <george.hazan@gmail.com>2025-04-11 14:00:40 +0300
commit6e33e16a110cb5b9747ec3edf969bdbafaf240a1 (patch)
tree530486da59e1d74feb015ae39ef95c587b0f7ca2 /protocols/CloudFile/src
parentc0ff932b9b6ba685160204fee0af84930f7aa922 (diff)
minor project cleaning
Diffstat (limited to 'protocols/CloudFile/src')
-rw-r--r--protocols/CloudFile/src/cloud_file.cpp5
-rw-r--r--protocols/CloudFile/src/menus.cpp5
2 files changed, 5 insertions, 5 deletions
diff --git a/protocols/CloudFile/src/cloud_file.cpp b/protocols/CloudFile/src/cloud_file.cpp
index e227105d1c..3be07d2f68 100644
--- a/protocols/CloudFile/src/cloud_file.cpp
+++ b/protocols/CloudFile/src/cloud_file.cpp
@@ -24,6 +24,11 @@ CCloudService::~CCloudService()
m_hNetlibUser = nullptr;
}
+void CCloudService::OnModulesLoaded()
+{
+ InitializeMenus();
+}
+
HPLUGIN CCloudService::GetId() const
{
return m_pPlugin;
diff --git a/protocols/CloudFile/src/menus.cpp b/protocols/CloudFile/src/menus.cpp
index aaf767a322..38a12c6798 100644
--- a/protocols/CloudFile/src/menus.cpp
+++ b/protocols/CloudFile/src/menus.cpp
@@ -48,11 +48,6 @@ void InitializeMenus()
}
}
-void CCloudService::OnModulesLoaded()
-{
- InitializeMenus();
-}
-
int OnPrebuildContactMenu(WPARAM hContact, LPARAM)
{
Menu_ShowItem(hContactMenu, CanSendToContact(hContact));