diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-11 19:06:07 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-11 19:06:07 +0000 |
commit | e521cf5548352e7a443241e10614f97bc9630a2c (patch) | |
tree | f42e46cf4eb5bd7d994cd3eefa74856dc539d04f /src/core | |
parent | e498e2e961e0edf547cbc478797e69ec8a8d42d4 (diff) |
- 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
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/miranda.h | 4 | ||||
-rw-r--r-- | src/core/stdplug.h | 2 |
2 files changed, 5 insertions, 1 deletions
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
|