diff options
author | aunsane <aunsane@gmail.com> | 2017-04-28 20:59:52 +0300 |
---|---|---|
committer | aunsane <aunsane@gmail.com> | 2017-04-28 21:00:27 +0300 |
commit | b89210e991e554adba6197091f99762182221de6 (patch) | |
tree | 7afff6d60ebf58ab4fa1db4ab5088086a3c9f3f8 /plugins/CloudFile/src/events.cpp | |
parent | 908059e124a7a45b37e85253bddac5217b46e98a (diff) |
CloudFile:
- avoid to simultaniosly load wit Dropbox plugin
- service loading moved to modules loaded
- cleanup
Diffstat (limited to 'plugins/CloudFile/src/events.cpp')
-rw-r--r-- | plugins/CloudFile/src/events.cpp | 11 |
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(); |