summaryrefslogtreecommitdiff
path: root/plugins/StatusChange/src/Common.h
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-03-13 11:06:51 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-03-13 11:06:51 +0000
commit4f768c2c74564c76410c704a7cd63cf6c5ecda9a (patch)
tree48f7aa39424585de3617dd19f0668eaeba8ab51e /plugins/StatusChange/src/Common.h
parentac2739c8507026028b1c3558e10668be79f15db4 (diff)
StatusChange plugin adopted
git-svn-id: http://svn.miranda-ng.org/main/trunk@3997 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/StatusChange/src/Common.h')
-rw-r--r--plugins/StatusChange/src/Common.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/plugins/StatusChange/src/Common.h b/plugins/StatusChange/src/Common.h
new file mode 100644
index 0000000000..f7568d19c1
--- /dev/null
+++ b/plugins/StatusChange/src/Common.h
@@ -0,0 +1,41 @@
+#define _CRT_SECURE_NO_WARNINGS
+#define WIN32_LEAN_AND_MEAN
+
+#include <windows.h>
+#include <commctrl.h>
+
+#include <newpluginapi.h>
+#include <m_database.h>
+#include <m_clist.h>
+#include <m_options.h>
+#include <m_skin.h>
+#include <m_langpack.h>
+#include <m_protosvc.h>
+
+#include "resource.h"
+#include "version.h"
+
+#define PLUGINNAME "StatusChange"
+
+typedef struct
+{
+ BOOL MessageRead;
+ BOOL MessageSend;
+ BOOL UrlRead;
+ BOOL UrlSend;
+ BOOL FileRead;
+ BOOL FileSend;
+
+ int ChangeTo; // ID_STATUS_XXX
+
+ BOOL IfOffline;
+ BOOL IfOnline;
+ BOOL IfAway;
+ BOOL IfNA;
+ BOOL IfOccupied;
+ BOOL IfDND;
+ BOOL IfFreeforchat;
+ BOOL IfInvisible;
+ BOOL IfOnthephone;
+ BOOL IfOuttolunch;
+} TOPTIONS;