From fcae50377289915682e56fcbd49297d76da38b51 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 22 Apr 2018 14:49:00 +0300 Subject: no more PROTO_INTERFACE::OnEvent --- protocols/Tox/src/tox_proto.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'protocols/Tox/src/tox_proto.cpp') diff --git a/protocols/Tox/src/tox_proto.cpp b/protocols/Tox/src/tox_proto.cpp index c8c66012a1..0ae5b521ec 100644 --- a/protocols/Tox/src/tox_proto.cpp +++ b/protocols/Tox/src/tox_proto.cpp @@ -224,13 +224,3 @@ int CToxProto::UserIsTyping(MCONTACT hContact, int type) { return OnUserIsTyping(hContact, type); } - -int CToxProto::OnEvent(PROTOEVENTTYPE iEventType, WPARAM, LPARAM) -{ - switch (iEventType) { - case EV_PROTO_ONERASE: - return OnDeleteToxProfile(); - } - - return 1; -} -- cgit v1.2.3