From 83310365c69bd40365ee0ae0e16c99c28e24cd0b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 19 Jun 2015 14:24:12 +0000 Subject: - all static protocol services replaced with functions; - m_protomod.h removed as useless git-svn-id: http://svn.miranda-ng.org/main/trunk@14260 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Dummy/src/main.cpp | 2 +- protocols/Dummy/src/stdafx.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'protocols/Dummy') diff --git a/protocols/Dummy/src/main.cpp b/protocols/Dummy/src/main.cpp index ec1c2e52eb..d5cb7ab141 100644 --- a/protocols/Dummy/src/main.cpp +++ b/protocols/Dummy/src/main.cpp @@ -87,7 +87,7 @@ extern "C" int __declspec(dllexport) Load() pd.fnInit = (pfnInitProto)dummyProtoInit; pd.fnUninit = (pfnUninitProto)dummyProtoUninit; pd.type = PROTOTYPE_PROTOCOL; - CallService(MS_PROTO_REGISTERMODULE, 0, (LPARAM)&pd); + Proto_RegisterModule(&pd); HookEvent(ME_SYSTEM_MODULESLOADED, OnModulesLoaded); return 0; diff --git a/protocols/Dummy/src/stdafx.h b/protocols/Dummy/src/stdafx.h index ac945252c3..7416c2aeef 100644 --- a/protocols/Dummy/src/stdafx.h +++ b/protocols/Dummy/src/stdafx.h @@ -47,7 +47,6 @@ along with this program. If not, see . #include #include #include -#include #include #include #include -- cgit v1.2.3