summaryrefslogtreecommitdiff
path: root/src/globals.h
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2012-07-30 01:30:27 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2012-07-30 01:30:27 +0300
commitb27e00fc51b2764b1e1a15adc8be40b5c19eefa6 (patch)
tree3da1e5353cfbb56c246724eb899196509e13a13e /src/globals.h
parent88e50ea16d146e145cae94e49be86e3b9eb246f4 (diff)
ported to miranda_ng
Diffstat (limited to 'src/globals.h')
-rwxr-xr-xsrc/globals.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/globals.h b/src/globals.h
new file mode 100755
index 0000000..790458e
--- /dev/null
+++ b/src/globals.h
@@ -0,0 +1,20 @@
+#define pluginName "StopSpam" //const char* ?
+/*
+TCHAR const * defAnswer = _T("nospam");
+TCHAR const * defCongratulation =
+_T("Congratulations! You just passed human/robot test. Now you can write me a message.");
+char const * defProtoList = "ICQ\r\n";
+TCHAR const * infTalkProtPrefix = _T("StopSpam automatic message:\r\n");
+char const * answeredSetting = "Answered";
+char const * questCountSetting = "QuestionCount";
+TCHAR const * defAufrepl = _T("StopSpam: send a message and reply to a anti-spam bot question.");*/
+
+
+#ifdef _UNICODE
+typedef std::wstring tstring;
+#define PREF_TCHAR2 PREF_UTF
+#else
+typedef std::string tstring;
+#define PREF_TCHAR2 0
+#endif //_UNICODE
+