summaryrefslogtreecommitdiff
path: root/plugins/StatusManager/src/commonstatus.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/StatusManager/src/commonstatus.cpp')
-rw-r--r--plugins/StatusManager/src/commonstatus.cpp14
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;