summaryrefslogtreecommitdiff
path: root/protocols/Telegram/src/stdafx.h
diff options
context:
space:
mode:
authoraunsane <aunsane@gmail.com>2018-04-27 21:33:17 +0300
committeraunsane <aunsane@gmail.com>2018-04-27 21:33:17 +0300
commite1ec72eab6d00b3ba38e5932bc88920f103b6e4a (patch)
tree999de2725a83e30fbbf6576200525d4ef0c5fe38 /protocols/Telegram/src/stdafx.h
parentb9ce1d4d98525490ca1a38e2d9fd4f3369adb3e0 (diff)
Telegram: initial commit
- tdlib moved to telegram dir
Diffstat (limited to 'protocols/Telegram/src/stdafx.h')
-rw-r--r--protocols/Telegram/src/stdafx.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/protocols/Telegram/src/stdafx.h b/protocols/Telegram/src/stdafx.h
new file mode 100644
index 0000000000..06f32c205d
--- /dev/null
+++ b/protocols/Telegram/src/stdafx.h
@@ -0,0 +1,31 @@
+#ifndef _COMMON_H_
+#define _COMMON_H_
+
+#include <windows.h>
+
+#include <newpluginapi.h>
+
+#include <m_protoint.h>
+#include <m_protosvc.h>
+
+#include <m_database.h>
+#include <m_langpack.h>
+
+struct CMTProto;
+
+#define MODULE "Telegram"
+
+#include "version.h"
+#include "resource.h"
+#include "mt_proto.h"
+
+struct CMPlugin : public ACCPROTOPLUGIN<CMTProto>
+{
+ CMPlugin() :
+ ACCPROTOPLUGIN<CMTProto>("TELEGRAM")
+ {
+ SetUniqueId("Phone");
+ }
+};
+
+#endif //_COMMON_H_ \ No newline at end of file