summaryrefslogtreecommitdiff
path: root/protocols/Telegram/src/t_proto.h
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2016-03-23 15:50:14 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2016-03-23 15:50:14 +0000
commit0b60fcc5772e91c80c52527ab6554ed25a05bab0 (patch)
tree5e93c63fce34c4b6e90559e7062da6313760af4c /protocols/Telegram/src/t_proto.h
parentc49db60246165780c37b86ba8a084d31c5cc5446 (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/t_proto.h')
-rw-r--r--protocols/Telegram/src/t_proto.h13
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);