summaryrefslogtreecommitdiff
path: root/include/newpluginapi.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/newpluginapi.h')
-rw-r--r--include/newpluginapi.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/newpluginapi.h b/include/newpluginapi.h
index e02d454caf..1226df7ccc 100644
--- a/include/newpluginapi.h
+++ b/include/newpluginapi.h
@@ -49,6 +49,13 @@ struct MUUID
unsigned char d[8];
};
+__forceinline bool operator==(const MUUID &p1, const MUUID &p2)
+{ return memcmp(&p1, &p2, sizeof(MUUID)) == 0;
+}
+__forceinline bool operator!=(const MUUID &p1, const MUUID &p2)
+{ return memcmp(&p1, &p2, sizeof(MUUID)) != 0;
+}
+
MIR_APP_DLL(int) GetPluginLangId(const MUUID &uuid, int hLangpack);
MIR_APP_DLL(int) IsPluginLoaded(const MUUID &uuid);