diff options
Diffstat (limited to 'plugins/Boltun/src/boltun.h')
-rw-r--r-- | plugins/Boltun/src/boltun.h | 44 |
1 files changed, 34 insertions, 10 deletions
diff --git a/plugins/Boltun/src/boltun.h b/plugins/Boltun/src/boltun.h index c6782e8f6b..6dc05b9f88 100644 --- a/plugins/Boltun/src/boltun.h +++ b/plugins/Boltun/src/boltun.h @@ -21,11 +21,35 @@ #ifndef _BOLTUN_H
#define _BOLTUN_H
-//Should use different keys in UNICODE and ANSI builds, because usage of plugin
-//with old (another) configs will cause crashes.
+#define _CRT_SECURE_NO_WARNINGS
-#define BOLTUN_KEY "Boltun"
+#include <windows.h>
+#include <time.h>
+#include <fstream>
+#include <algorithm>
+#include "assert.h"
+
+#include "newpluginapi.h"
+#include "m_clist.h"
+#include "m_skin.h"
+#include "m_database.h"
+#include "m_system.h"
+#include "m_protosvc.h"
+#include "m_options.h"
+#include "m_langpack.h"
+
+#include "resource.h"
+#include "version.h"
+#include "config.h"
+#include "actionQueue.h"
+#include "Engine/TalkEngine.h"
+#include "Engine/WordsList.h"
+#include "Engine/UnrecentChooser.h"
+#include "Engine/MyCodeCvt.h"
+#include "Engine/Mind.h"
+#include "Engine/tstring.h"
+#define BOLTUN_KEY "Boltun"
//Service names
#define SERV_CONTACT_AUTO_CHAT "Boltun/ContactAutoChat"
@@ -35,13 +59,13 @@ //Database keys
#define DB_CONTACT_BOLTUN_NOT_TO_CHAT "BoltunNotToChat"
#define DB_CONTACT_BOLTUN_AUTO_CHAT "BoltunAutoChat"
-#define DB_CONTACT_WARNED "Warned" - -//Plugin group in settings -#define BOLTUN_GROUP LPGEN("Message sessions") - -//Filename depends on UNICODE -#define DEFAULT_MIND_FILE _T("boltun.mindw") +#define DB_CONTACT_WARNED "Warned"
+
+//Plugin group in settings
+#define BOLTUN_GROUP LPGEN("Message sessions")
+
+//Filename depends on UNICODE
+#define DEFAULT_MIND_FILE _T("boltun.mindw")
//===============================================
// These are strings for translation:
|