summaryrefslogtreecommitdiff
path: root/plugins/Variables/src/variables.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-09-13 19:26:02 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-09-13 19:26:02 +0000
commiteacc63d1fe3c0a5f6b982575867258650f98119b (patch)
treeafe39a5e1764c13293cfd3e8a403a181ea8c3e1f /plugins/Variables/src/variables.h
parent8aebeeca820d48c4a126bc7670b4a558d73ed881 (diff)
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@6056 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Variables/src/variables.h')
-rw-r--r--plugins/Variables/src/variables.h59
1 files changed, 30 insertions, 29 deletions
diff --git a/plugins/Variables/src/variables.h b/plugins/Variables/src/variables.h
index bd92fa74cb..e76387924a 100644
--- a/plugins/Variables/src/variables.h
+++ b/plugins/Variables/src/variables.h
@@ -77,43 +77,44 @@
#include "parse_variables.h"
#include "parse_xml.h"
-#define MODULENAME "Variables"
-
-#define SETTING_STARTUPTEXT "StartupText"
-#define SETTING_STRIPCRLF "StripCRLF"
-#define SETTING_STRIPWS "StripWS"
-#define SETTING_STRIPALL "StripAll"
-#define SETTING_PARSEATSTARTUP "ParseAtStartup"
-#define SETTING_SPLITTERPOS "SplitterPos"
-#define SETTING_SUBJECT "LastSubject"
-
-#define FIELD_CHAR '%'
-#define FUNC_CHAR '?'
-#define FUNC_ONCE_CHAR '!'
-#define DONTPARSE_CHAR '`'
-#define TRYPARSE_CHAR_OPEN '['
-#define TRYPARSE_CHAR_CLOSE ']'
-#define COMMENT_STRING "#"
+#define MODULENAME "Variables"
+
+#define SETTING_STARTUPTEXT "StartupText"
+#define SETTING_STRIPCRLF "StripCRLF"
+#define SETTING_STRIPWS "StripWS"
+#define SETTING_STRIPALL "StripAll"
+#define SETTING_PARSEATSTARTUP "ParseAtStartup"
+#define SETTING_SPLITTERPOS "SplitterPos"
+#define SETTING_SUBJECT "LastSubject"
+
+#define FIELD_CHAR '%'
+#define FUNC_CHAR '?'
+#define FUNC_ONCE_CHAR '!'
+#define DONTPARSE_CHAR '`'
+#define TRYPARSE_CHAR_OPEN '['
+#define TRYPARSE_CHAR_CLOSE ']'
+#define COMMENT_STRING "#"
// special tokens
-#define SUBJECT "subject"
-#define MIR_EXTRATEXT "extratext"
+#define SUBJECT "subject"
+#define MIR_EXTRATEXT "extratext"
// options
-#define IDT_PARSE 1
+#define IDT_PARSE 1
+
#define DM_SPLITTERMOVED (WM_USER+15)
// Messages you can send to the help window:
-#define VARM_PARSE (WM_APP+11) // wParam=lParam=0
-#define VARM_SETINPUTTEXT (WM_APP+12)
-#define VARM_GETINPUTTEXT (WM_APP+13)
-#define VARM_GETINPUTTEXTLENGTH (WM_APP+14)
-#define VARM_SETSUBJECT (WM_APP+15)
-#define VARM_GETSUBJECT (WM_APP+16) // wParam=HANDLE hContact
-#define VARM_SETEXTRATEXT (WM_APP+17)
-#define VARM_GETEXTRATEXT (WM_APP+18)
+#define VARM_PARSE (WM_APP+11) // wParam=lParam=0
+#define VARM_SETINPUTTEXT (WM_APP+12)
+#define VARM_GETINPUTTEXT (WM_APP+13)
+#define VARM_GETINPUTTEXTLENGTH (WM_APP+14)
+#define VARM_SETSUBJECT (WM_APP+15)
+#define VARM_GETSUBJECT (WM_APP+16) // wParam=HANDLE hContact
+#define VARM_SETEXTRATEXT (WM_APP+17)
+#define VARM_GETEXTRATEXT (WM_APP+18)
#define VARM_GETEXTRATEXTLENGTH (WM_APP+19)
-#define VARM_GETDIALOG (WM_APP+20)
+#define VARM_GETDIALOG (WM_APP+20)
// if a different struct internally is used, we can use TOKENREGISTEREX
#define TOKENREGISTEREX TOKENREGISTER