diff options
author | George Hazan <ghazan@miranda.im> | 2018-06-19 12:43:27 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-06-19 12:43:27 +0300 |
commit | 0fb39531240a0a23e92c0456fe72e26027740696 (patch) | |
tree | 8b85028b680b6951f8afa369297adfc93baef79a /plugins/StatusManager/src/commonstatus.cpp | |
parent | aef4307d04fb8d8bbc05921d45d97a63e627fb4d (diff) |
StatusManager:
- project structure linearized;
- AAA flag "Use same settings wasn't saved across Miranda starts;
- perversion with declaring static arrays in commonstatus.h removed
Diffstat (limited to 'plugins/StatusManager/src/commonstatus.cpp')
-rw-r--r-- | plugins/StatusManager/src/commonstatus.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/plugins/StatusManager/src/commonstatus.cpp b/plugins/StatusManager/src/commonstatus.cpp index 371dfeae1a..f95ec3f89c 100644 --- a/plugins/StatusManager/src/commonstatus.cpp +++ b/plugins/StatusManager/src/commonstatus.cpp @@ -21,6 +21,20 @@ #include "stdafx.h" +StatusModeMap statusModes[MAX_STATUS_COUNT] = +{ + { ID_STATUS_OFFLINE, PF2_OFFLINE }, + { ID_STATUS_ONLINE, PF2_ONLINE }, + { ID_STATUS_AWAY, PF2_SHORTAWAY }, + { ID_STATUS_NA, PF2_LONGAWAY }, + { ID_STATUS_OCCUPIED, PF2_LIGHTDND }, + { ID_STATUS_DND, PF2_HEAVYDND }, + { ID_STATUS_FREECHAT, PF2_FREECHAT }, + { ID_STATUS_INVISIBLE, PF2_INVISIBLE }, + { ID_STATUS_ONTHEPHONE, PF2_ONTHEPHONE }, + { ID_STATUS_OUTTOLUNCH, PF2_OUTTOLUNCH } +}; + // handles for hooks and other Miranda thingies static HANDLE hCSStatusChangedExEvent; |