summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-04-22 00:55:51 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-04-22 00:57:16 +0300
commitd28931ebdfc4ff561d05ab000aee4cbb5ac24d62 (patch)
treee5cfd83eb231df123a3d744106a4e9b521fba409 /include
parent921f870dd0feec3230a8634abbd85c556e9f3d22 (diff)
OnEvent(EV_PROTO_ONCONTACTDELETED) => PROTO_INTERFACE::OnContactDeleted
Diffstat (limited to 'include')
-rw-r--r--include/m_protoint.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/m_protoint.h b/include/m_protoint.h
index b48469749a..136f54481d 100644
--- a/include/m_protoint.h
+++ b/include/m_protoint.h
@@ -38,8 +38,7 @@ typedef enum
{
EV_PROTO_ONRENAME,
EV_PROTO_ONERASE,
- EV_PROTO_ONMENU,
- EV_PROTO_ONCONTACTDELETED
+ EV_PROTO_ONMENU
}
PROTOEVENTTYPE;
@@ -226,6 +225,7 @@ public:
//////////////////////////////////////////////////////////////////////////////////////
// events
+ virtual void OnContactDeleted(MCONTACT);
virtual void OnModulesLoaded(void); // the analog of ME_SYSTEM_MODULESLOADED for an account
virtual void OnShutdown(void); // same for ME_SYSTEM_SHUTDOWN
virtual bool IsReadyToExit(void); // same for ME_SYSTEM_OKTOEXIT