From 09c998451798561b15e2b7a58d4d77446a238b5c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 7 Mar 2023 15:13:14 +0300 Subject: =?UTF-8?q?fixes=20#3405=20(Telegram:=20=D0=B4=D0=BE=D0=B1=D0=B0?= =?UTF-8?q?=D0=B2=D0=BB=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BA=D0=BE=D0=BD=D1=82?= =?UTF-8?q?=D0=B0=D0=BA=D1=82=D0=B0=20=D0=BF=D0=BE=20=D0=BD=D0=BE=D0=BC?= =?UTF-8?q?=D0=B5=D1=80=D1=83=20=D1=82=D0=B5=D0=BB=D0=B5=D1=84=D0=BE=D0=BD?= =?UTF-8?q?=D0=B0)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protocols/Telegram/src/proto.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'protocols/Telegram/src/proto.h') diff --git a/protocols/Telegram/src/proto.h b/protocols/Telegram/src/proto.h index f4635d44f6..8dd9ca1fa9 100644 --- a/protocols/Telegram/src/proto.h +++ b/protocols/Telegram/src/proto.h @@ -117,6 +117,8 @@ struct TG_BASIC_GROUP class CTelegramProto : public PROTO { + friend class CAddPhoneContactDlg; + class CProtoImpl { friend class CTelegramProto; @@ -262,7 +264,8 @@ public: HANDLE SearchByName(const wchar_t *nick, const wchar_t *firstName, const wchar_t *lastName) override; int SendMsg(MCONTACT hContact, int flags, const char *pszMessage) override; int SetStatus(int iNewStatus) override; - + + void OnBuildProtoMenu() override; void OnContactDeleted(MCONTACT hContact) override; MWindow OnCreateAccMgrUI(MWindow hwndParent) override; void OnMarkRead(MCONTACT, MEVENT) override; @@ -277,6 +280,10 @@ public: int __cdecl GcMenuHook(WPARAM, LPARAM); int __cdecl GcEventHook(WPARAM, LPARAM); + // Services ////////////////////////////////////////////////////////////////////////// + + INT_PTR __cdecl AddByPhone(WPARAM, LPARAM); + // Options /////////////////////////////////////////////////////////////////////////// CMOption m_iCountry; // set this status to m_iStatus1 after this interval of secs @@ -294,3 +301,5 @@ public: void __cdecl ServerThread(void *); }; + +typedef CProtoDlgBase CTelegramDlgBase; \ No newline at end of file -- cgit v1.2.3