diff options
Diffstat (limited to 'protocols/Telegram/src/t_proto.h')
-rw-r--r-- | protocols/Telegram/src/t_proto.h | 13 |
1 files changed, 12 insertions, 1 deletions
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> CTelegramProto::Accounts;
static int CompareAccounts(const CTelegramProto *p1, const CTelegramProto *p2);
|