diff options
author | George Hazan <george.hazan@gmail.com> | 2023-05-30 17:47:15 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-05-30 17:47:15 +0300 |
commit | 1cb5721c62ccea00e1423e347f56038e52176736 (patch) | |
tree | a9b728f4b55797a520d7a47e084f45877e1c4c06 /protocols/Telegram/src/proto.h | |
parent | b84d7da2abb0632aa9214987102b783f63f8bc2e (diff) |
Telegram: text messages forwarding
Diffstat (limited to 'protocols/Telegram/src/proto.h')
-rw-r--r-- | protocols/Telegram/src/proto.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/protocols/Telegram/src/proto.h b/protocols/Telegram/src/proto.h index a656671e53..ce514a20d3 100644 --- a/protocols/Telegram/src/proto.h +++ b/protocols/Telegram/src/proto.h @@ -124,6 +124,7 @@ struct TG_BASIC_GROUP class CTelegramProto : public PROTO<CTelegramProto> { + friend class CForwardDlg; friend class CAddPhoneContactDlg; class CProtoImpl @@ -272,6 +273,14 @@ class CTelegramProto : public PROTO<CTelegramProto> int64_t GetId(MCONTACT); void SetId(MCONTACT, int64_t id); + // Menus + HGENMENU hmiForward; + + void InitMenus(); + + INT_PTR __cdecl SvcExecMenu(WPARAM, LPARAM); + int __cdecl OnPrebuildMenu(WPARAM, LPARAM); + // Popups HANDLE m_hPopupClass; |