summaryrefslogtreecommitdiff
path: root/protocols/Telegram/src/stdafx.h
diff options
context:
space:
mode:
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