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 --- plugins/YAMN/src/stdafx.h | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'plugins/YAMN/src/stdafx.h') diff --git a/plugins/YAMN/src/stdafx.h b/plugins/YAMN/src/stdafx.h index 55af23dff3..eb842b2efa 100644 --- a/plugins/YAMN/src/stdafx.h +++ b/plugins/YAMN/src/stdafx.h @@ -43,8 +43,17 @@ #include "proto/pop3/pop3comm.h" #include "proto/pop3/pop3opt.h" - -//From services.cpp +struct CMPlugin : public PLUGIN +{ + CMPlugin() : + PLUGIN(YAMN_DBMODULE) + { + RegisterProtocol(PROTOTYPE_VIRTUAL); + SetUniqueId("Id"); + } +}; + +// From services.cpp void CreateServiceFunctions(void); void HookEvents(void); void RefreshContact(void); -- cgit v1.2.3