From c9ed24bc7228fa836018be139dadfbec57c8d168 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 29 Mar 2015 16:59:10 +0000 Subject: unneeded helper removed git-svn-id: http://svn.miranda-ng.org/main/trunk@12544 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- include/m_protocols.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'include') 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 // 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 -- cgit v1.2.3