summaryrefslogtreecommitdiff
path: root/include/m_plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/m_plugin.h')
-rw-r--r--include/m_plugin.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/m_plugin.h b/include/m_plugin.h
index 233e03a432..592aa565bf 100644
--- a/include/m_plugin.h
+++ b/include/m_plugin.h
@@ -17,6 +17,10 @@ protected:
// pass one of PROTOTYPE_* constants as type
void RegisterProtocol(int type, pfnInitProto = nullptr, pfnUninitProto = nullptr);
+ __forceinline void SetUniqueId(const char *pszUniqueId)
+ {
+ ::Proto_SetUniqueId(m_szModuleName, pszUniqueId);
+ }
public:
void debugLogA(LPCSTR szFormat, ...);