summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/miranda.h4
-rw-r--r--src/core/stdplug.h2
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