summaryrefslogtreecommitdiff
path: root/plugins/CloudFile/src/events.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/CloudFile/src/events.cpp')
-rw-r--r--plugins/CloudFile/src/events.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/plugins/CloudFile/src/events.cpp b/plugins/CloudFile/src/events.cpp
index 815a5f0b96..df71721dfb 100644
--- a/plugins/CloudFile/src/events.cpp
+++ b/plugins/CloudFile/src/events.cpp
@@ -2,6 +2,17 @@
int OnModulesLoaded(WPARAM, LPARAM)
{
+ // init
+ InitServices();
+ InitializeIcons();
+ InitializeMenus();
+ // netlib
+ NETLIBUSER nlu = {};
+ nlu.flags = NUF_INCOMING | NUF_OUTGOING | NUF_HTTPCONNS | NUF_UNICODE;
+ nlu.szSettingsModule = MODULE;
+ nlu.szDescriptiveName.w = _A2W("MODULE");
+ hNetlibConnection = Netlib_RegisterUser(&nlu);
+ // options
HookEvent(ME_OPT_INITIALISE, OnOptionsInitialized);
// srfile
size_t count = Services.getCount();