diff options
Diffstat (limited to 'message_notify/options.h')
-rw-r--r-- | message_notify/options.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/message_notify/options.h b/message_notify/options.h new file mode 100644 index 0000000..75f1c88 --- /dev/null +++ b/message_notify/options.h @@ -0,0 +1,37 @@ +#ifndef _OPTIONS_INC
+#define _OPTIONS_INC
+
+#define NOTIFY_NONE 0
+#define NOTIFY_CLOSED 1
+#define NOTIFY_NFORE 2
+#define NOTIFY_ALWAYS 3
+/*
+#define ID_STATUS_ONLINE 40072
+#define ID_STATUS_AWAY 40073
+#define ID_STATUS_DND 40074
+#define ID_STATUS_NA 40075
+#define ID_STATUS_OCCUPIED 40076
+#define ID_STATUS_FREECHAT 40077
+#define ID_STATUS_INVISIBLE 40078
+#define ID_STATUS_ONTHEPHONE 40079
+#define ID_STATUS_OUTTOLUNCH 40080
+*/
+typedef struct Options_tag {
+ int notify_when;
+ int timeout;
+ bool set_colours;
+ COLORREF bkCol;
+ COLORREF textCol;
+ bool consider_tabs;
+ bool close_win;
+ bool disable_status[9];
+} Options;
+
+extern Options options;
+
+int OptInit(WPARAM wParam, LPARAM lParam);
+
+void LoadOptions();
+void SaveOptions();
+
+#endif
|