diff options
author | George Hazan <george.hazan@gmail.com> | 2015-03-29 16:59:10 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-03-29 16:59:10 +0000 |
commit | c9ed24bc7228fa836018be139dadfbec57c8d168 (patch) | |
tree | 1fd3001a31c1bad68c2a9b336050dffa0d700862 /include | |
parent | 9ba27ccad75fe432f79c28f8beb7fb5a7355026b (diff) |
unneeded helper removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@12544 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include')
-rw-r--r-- | include/m_protocols.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/m_protocols.h b/include/m_protocols.h index f4932f1b77..15da03bc01 100644 --- a/include/m_protocols.h +++ b/include/m_protocols.h @@ -30,6 +30,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. struct PROTO_INTERFACE;
#include "statusmodes.h"
+#include <m_core.h>
// send a general request through the protocol chain for a contact
// wParam = 0
@@ -223,9 +224,10 @@ typedef struct { // NULL if it isn't.
#define MS_PROTO_ISPROTOCOLLOADED "Proto/IsProtocolLoaded"
-__forceinline PROTOCOLDESCRIPTOR* IsProtocolLoaded(const char *szProto)
-{ return (PROTOCOLDESCRIPTOR*)CallService(MS_PROTO_ISPROTOCOLLOADED, 0, (LPARAM)szProto);
-}
+#ifdef __cplusplus
+extern "C"
+#endif
+MIR_CORE_DLL(PROTOCOLDESCRIPTOR*) Proto_IsProtocolLoaded(const char *szProtoName);
// gets the network-level protocol associated with a contact
// wParam = (MCONTACT)hContact
|