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/t_proto.h | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'protocols/Telegram/src/t_proto.h') diff --git a/protocols/Telegram/src/t_proto.h b/protocols/Telegram/src/t_proto.h index 4b486cafbe..927718340e 100644 --- a/protocols/Telegram/src/t_proto.h +++ b/protocols/Telegram/src/t_proto.h @@ -63,6 +63,9 @@ public: void InitPopups(); void UninitPopups(); + void InitNetwork(); + void InitCallbacks(); + // languages static void InitLanguages(); @@ -77,11 +80,19 @@ public: static INT_PTR EventGetIcon(WPARAM wParam, LPARAM lParam); static INT_PTR GetEventText(WPARAM, LPARAM lParam); + + + void OnMessage(tgl_message*); + + + + private: - tgl_state tgl; + MirTLS *TLS; static mir_cs accountsLock; + //---Accounts static LIST CTelegramProto::Accounts; static int CompareAccounts(const CTelegramProto *p1, const CTelegramProto *p2); -- cgit v1.2.3