From 9cf1444eb7888f2d942d220f938aa893396a8a1b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 18 Apr 2018 20:51:18 +0300 Subject: g_hInstance incapulated into PLUGIN<>, no need in the separate variable --- protocols/EmLanProto/src/stdafx.h | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'protocols/EmLanProto/src/stdafx.h') diff --git a/protocols/EmLanProto/src/stdafx.h b/protocols/EmLanProto/src/stdafx.h index d80030c4b1..f3156dd280 100644 --- a/protocols/EmLanProto/src/stdafx.h +++ b/protocols/EmLanProto/src/stdafx.h @@ -26,13 +26,15 @@ #define PROTONAME "EM_LAN_PROTO" -//#define ME_ICQ_STATUSMSGREQ "ICQ/StatusMsgReq" -// -//#define ICQ_MSGTYPE_GETAWAYMSG 0xE8 -//#define ICQ_MSGTYPE_GETOCCUMSG 0xE9 -//#define ICQ_MSGTYPE_GETNAMSG 0xEA -//#define ICQ_MSGTYPE_GETDNDMSG 0xEB -//#define ICQ_MSGTYPE_GETFFCMSG 0xEC +struct CMPlugin : public PLUGIN +{ + CMPlugin() : + PLUGIN(PROTONAME) + { + RegisterProtocol(PROTOTYPE_PROTOCOL); + SetUniqueId("Nick"); + } +}; //#define VERBOSE -- cgit v1.2.3