summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/m_protoint.h6
-rw-r--r--include/m_protomod.h4
2 files changed, 8 insertions, 2 deletions
diff --git a/include/m_protoint.h b/include/m_protoint.h
index 471108ba55..0c457f03cc 100644
--- a/include/m_protoint.h
+++ b/include/m_protoint.h
@@ -25,6 +25,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#define M_PROTOINT_H__ 1
#include <m_system_cpp.h>
+#include <m_protomod.h>
typedef enum
{
@@ -53,6 +54,11 @@ struct PROTO_INTERFACE : public MZeroedObject
char* m_szModuleName;
HANDLE m_hProtoIcon;
+ DWORD __forceinline ProtoBroadcastAck(HANDLE hContact, int type, int hResult, HANDLE hProcess, LPARAM lParam)
+ {
+ return ::ProtoBroadcastAck(m_szModuleName, hContact, type, hResult, hProcess, lParam);
+ }
+
virtual HANDLE __cdecl AddToList(int flags, PROTOSEARCHRESULT* psr) = 0;
virtual HANDLE __cdecl AddToListByEvent(int flags, int iContact, HANDLE hDbEvent) = 0;
diff --git a/include/m_protomod.h b/include/m_protomod.h
index d8d364b987..0bc0a073b4 100644
--- a/include/m_protomod.h
+++ b/include/m_protomod.h
@@ -30,8 +30,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include <stdio.h>
-#include "m_protocols.h"
-#include "m_protosvc.h"
+#include <m_protocols.h>
+#include <m_protosvc.h>
//notify the protocol manager that you're around
//wParam = 0