From e521cf5548352e7a443241e10614f97bc9630a2c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 11 Jun 2015 19:06:07 +0000 Subject: - more transparent ProtoServiceExists implementation; - ProtoServiceExists moved from mir_core into miranda32.exe; - miranda32.def is used again to define the order of functions precisely; - libraries updated git-svn-id: http://svn.miranda-ng.org/main/trunk@14118 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/core/miranda.h | 4 ++++ src/core/stdplug.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'src/core') diff --git a/src/core/miranda.h b/src/core/miranda.h index 5d31e64aed..ba8516baf1 100644 --- a/src/core/miranda.h +++ b/src/core/miranda.h @@ -183,4 +183,8 @@ extern "C" MIR_CORE_DLL(void) db_setCurrent(MIDatabase* _db); MIR_CORE_DLL(PROTOCOLDESCRIPTOR*) Proto_RegisterModule(PROTOCOLDESCRIPTOR *pd); + + int ProtoServiceExists(LPCSTR szModule, const char *szService); + INT_PTR CallContactService(MCONTACT, const char *, WPARAM, LPARAM); + INT_PTR CallProtoService(LPCSTR szModule, const char *szService, WPARAM wParam, LPARAM lParam); }; diff --git a/src/core/stdplug.h b/src/core/stdplug.h index ef65298258..9a6f751829 100644 --- a/src/core/stdplug.h +++ b/src/core/stdplug.h @@ -1,6 +1,6 @@ #ifdef _STATIC - #define MIRANDA_EXE_FUNC(T) extern "C" T __declspec(dllexport) + #define MIRANDA_EXE_FUNC(T) extern "C" T #else #define MIRANDA_EXE_FUNC(T) extern "C" T __declspec(dllimport) #endif -- cgit v1.2.3