diff options
author | aunsane <aunsane@gmail.com> | 2017-01-06 20:12:37 +0300 |
---|---|---|
committer | aunsane <aunsane@gmail.com> | 2017-01-06 20:12:37 +0300 |
commit | 36a18b725e67bbc0286f4d550a368cc3400fc7ff (patch) | |
tree | aab063191ea8941792929dde23d9b47cb7c3d9c7 /plugins/StatusManager/src/AdvancedAutoAway/advancedautoaway.cpp | |
parent | b7336b2fc97092442ce643532f67466868a87812 (diff) |
StatusManager: #662
- ability to disable subplugins
- project cleaning
Diffstat (limited to 'plugins/StatusManager/src/AdvancedAutoAway/advancedautoaway.cpp')
-rw-r--r-- | plugins/StatusManager/src/AdvancedAutoAway/advancedautoaway.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/StatusManager/src/AdvancedAutoAway/advancedautoaway.cpp b/plugins/StatusManager/src/AdvancedAutoAway/advancedautoaway.cpp index d0eb48801c..b9647816f2 100644 --- a/plugins/StatusManager/src/AdvancedAutoAway/advancedautoaway.cpp +++ b/plugins/StatusManager/src/AdvancedAutoAway/advancedautoaway.cpp @@ -22,6 +22,8 @@ #include "..\stdafx.h" +int hAAALangpack = 0; + #ifdef _DEBUG #define SECS_PER_MINUTE 20 /* speedup */ #else @@ -587,6 +589,9 @@ int AAAModuleLoaded(WPARAM, LPARAM) void AdvancedAutoAwayLoad() { + MUUID muidLast = MIID_LAST; + hAAALangpack = GetPluginLangId(muidLast, 0); + hAAAModuleLoadedHook = HookEvent(ME_SYSTEM_MODULESLOADED, AAAModuleLoaded); hStateChangedEvent = CreateHookableEvent(ME_AAA_STATECHANGED); } |