From 0b60fcc5772e91c80c52527ab6554ed25a05bab0 Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Wed, 23 Mar 2016 15:50:14 +0000 Subject: Telegram: more initial code git-svn-id: http://svn.miranda-ng.org/main/trunk@16528 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Telegram/src/stdafx.h | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) (limited to 'protocols/Telegram/src/stdafx.h') 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 @@ -41,12 +38,24 @@ #include #include -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" -- cgit v1.2.3