From 9300399ed59f4d82f5e62f5ef43b752da4dd0735 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 22 Apr 2018 14:34:57 +0300 Subject: EV_PROTO_ONMENU removed --- protocols/MSN/src/msn_proto.h | 31 ++----------------------------- 1 file changed, 2 insertions(+), 29 deletions(-) (limited to 'protocols/MSN/src/msn_proto.h') diff --git a/protocols/MSN/src/msn_proto.h b/protocols/MSN/src/msn_proto.h index f64f2da3c7..20674b0986 100644 --- a/protocols/MSN/src/msn_proto.h +++ b/protocols/MSN/src/msn_proto.h @@ -67,6 +67,7 @@ struct CMsnProto : public PROTO int OnEvent(PROTOEVENTTYPE eventType, WPARAM wParam, LPARAM lParam) override; + void OnBuildProtoMenu(void) override; void OnContactDeleted(MCONTACT) override; void OnModulesLoaded() override; void OnShutdown() override; @@ -221,20 +222,11 @@ struct CMsnProto : public PROTO void __cdecl msn_storeProfileThread(void*); - ///////////////////////////////////////////////////////////////////////////////////////// - // MSN Connection properties detection - - void DecryptEchoPacket(UDPProbePkt& pkt); - void MSNatDetect(void); - - void __cdecl MSNConnDetectThread(void*); - ///////////////////////////////////////////////////////////////////////////////////////// // MSN menus HGENMENU menuItemsMain[4]; - void MsnInitMainMenu(void); void MSN_EnableMenuItems(bool parEnable); void MsnInvokeMyURL(bool ismail, const char* url); @@ -262,12 +254,6 @@ struct CMsnProto : public PROTO void __cdecl MsnGetAwayMsgThread(void* arg); - void __cdecl p2p_sendFeedThread(void* arg); - void __cdecl p2p_fileActiveThread(void* arg); - void __cdecl p2p_filePassiveThread(void* arg); - - void __cdecl MsgQueue_AllClearThread(void* arg); - ///////////////////////////////////////////////////////////////////////////////////////// // MSN thread support @@ -278,19 +264,6 @@ struct CMsnProto : public PROTO void __cdecl ThreadStub(void* arg); - ///////////////////////////////////////////////////////////////////////////////////////// - // MSN message queue support - - int MsgQueue_Add(const char* wlid, int msgType, const char* msg, int msglen, filetransfer* ft = nullptr, int flags = 0, STRLIST *cnt = nullptr); - const char* MsgQueue_CheckContact(const char* wlid, time_t tsc = 0); - const char* MsgQueue_GetNextRecipient(void); - bool MsgQueue_GetNext(const char* wlid, MsgQueueEntry& retVal); - int MsgQueue_NumMsg(const char* wlid); - void MsgQueue_Clear(const char* wlid = nullptr, bool msg = false); - - void MsgQueue_Init(void); - void MsgQueue_Uninit(void); - ///////////////////////////////////////////////////////////////////////////////////////// // MSN message reassembly support @@ -311,7 +284,7 @@ struct CMsnProto : public PROTO void MSN_KillChatSession(const wchar_t* id); void MSN_Kickuser(GCHOOK *gch); void MSN_Promoteuser(GCHOOK *gch, const char *pszRole); - const wchar_t *MSN_GCGetRole(GCThreadData* thread, const char *pszWLID); + const wchar_t* MSN_GCGetRole(GCThreadData* thread, const char *pszWLID); void MSN_GCProcessThreadActivity(ezxml_t xmli, const wchar_t *mChatID); void MSN_GCAddMessage(wchar_t *mChatID, MCONTACT hContact, char *email, time_t ts, bool sentMsg, char *msgBody); void MSN_GCRefreshThreadsInfo(void); -- cgit v1.2.3