summaryrefslogtreecommitdiff
path: root/protocols/MSN/src/msn_proto.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-04-22 14:34:57 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-04-22 14:34:57 +0300
commit9300399ed59f4d82f5e62f5ef43b752da4dd0735 (patch)
tree3b3454be313297cb33d5e550043217b467915581 /protocols/MSN/src/msn_proto.h
parent1a71e02f8edb73943f3ce7de693c7f3c3e9ebc48 (diff)
EV_PROTO_ONMENU removed
Diffstat (limited to 'protocols/MSN/src/msn_proto.h')
-rw-r--r--protocols/MSN/src/msn_proto.h31
1 files changed, 2 insertions, 29 deletions
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<CMsnProto>
int OnEvent(PROTOEVENTTYPE eventType, WPARAM wParam, LPARAM lParam) override;
+ void OnBuildProtoMenu(void) override;
void OnContactDeleted(MCONTACT) override;
void OnModulesLoaded() override;
void OnShutdown() override;
@@ -222,19 +223,10 @@ struct CMsnProto : public PROTO<CMsnProto>
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<CMsnProto>
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
@@ -279,19 +265,6 @@ struct CMsnProto : public PROTO<CMsnProto>
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
OBJLIST<chunkedmsg> msgCache;
@@ -311,7 +284,7 @@ struct CMsnProto : public PROTO<CMsnProto>
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);