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/LotusNotify/src/LotusNotify.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'plugins/LotusNotify/src/LotusNotify.h') diff --git a/plugins/LotusNotify/src/LotusNotify.h b/plugins/LotusNotify/src/LotusNotify.h index 89b2ff6762..49b0ca4e99 100644 --- a/plugins/LotusNotify/src/LotusNotify.h +++ b/plugins/LotusNotify/src/LotusNotify.h @@ -27,3 +27,12 @@ __declspec(dllexport) STATUS LNPUBLIC MainEntryPoint (void); void ErMsgT(wchar_t* msg); void checkthread(void*); + +struct CMPlugin : public PLUGIN +{ + CMPlugin() : + PLUGIN(PLUGINNAME) + { + RegisterProtocol(PROTOTYPE_PROTOCOL); + } +}; -- cgit v1.2.3