diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2016-03-23 15:50:14 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2016-03-23 15:50:14 +0000 |
commit | 0b60fcc5772e91c80c52527ab6554ed25a05bab0 (patch) | |
tree | 5e93c63fce34c4b6e90559e7062da6313760af4c /protocols/Telegram/src/stdafx.h | |
parent | c49db60246165780c37b86ba8a084d31c5cc5446 (diff) |
Telegram: more initial code
git-svn-id: http://svn.miranda-ng.org/main/trunk@16528 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Telegram/src/stdafx.h')
-rw-r--r-- | protocols/Telegram/src/stdafx.h | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/protocols/Telegram/src/stdafx.h b/protocols/Telegram/src/stdafx.h index b6fce8c0ed..6c0c2016cb 100644 --- a/protocols/Telegram/src/stdafx.h +++ b/protocols/Telegram/src/stdafx.h @@ -1,9 +1,6 @@ #ifndef _STDAFX_H_
#define _STDAFX_H_
-//#pragma comment(lib, "$(SolutionDir)$(Configuration)\Obj\tgl\tgl.lib")
-
-#define TELEGRAM_APP_ID 17193
#include "..\..\..\miranda-private-keys\Telegram\api.h"
#include <windows.h>
@@ -41,12 +38,24 @@ #include <m_assocmgr.h>
#include <m_file.h>
-extern "C" {
-#include "tgl\tgl.h"
+extern "C"
+{
+ #include "tgl\tgl.h"
+ #include "tgl\tgl-net.h"
+ #include "tgl\tgl-timers.h"
}
+struct MirTLS : public tgl_state, public MZeroedObject
+{
+ struct CTelegramProto *m_proto;
+};
+
#include "version.h"
#include "t_proto.h"
+#include "t_network.h"
+#include "t_callback.h"
+
+extern char g_szMirVer[];
#define MODULE "Telegram"
|