diff options
Diffstat (limited to 'include/newpluginapi.h')
-rw-r--r-- | include/newpluginapi.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/newpluginapi.h b/include/newpluginapi.h index 611b92b7b0..280f34eacf 100644 --- a/include/newpluginapi.h +++ b/include/newpluginapi.h @@ -46,10 +46,12 @@ struct MUUID };
__forceinline bool operator==(const MUUID &p1, const MUUID &p2)
-{ return memcmp(&p1, &p2, sizeof(MUUID)) == 0;
+{
+ return memcmp(&p1, &p2, sizeof(MUUID)) == 0;
}
__forceinline bool operator!=(const MUUID &p1, const MUUID &p2)
-{ return memcmp(&p1, &p2, sizeof(MUUID)) != 0;
+{
+ return memcmp(&p1, &p2, sizeof(MUUID)) != 0;
}
MIR_APP_DLL(int) GetPluginLangId(const MUUID &uuid, int langId);
@@ -201,6 +203,8 @@ public: HANDLE addIcon(const struct SKINICONDESC*);
+ HGENMENU addRootMenu(int hMenuObject, LPCWSTR ptszName, int position, HANDLE hIcoLib = nullptr);
+
int addHotkey(const struct HOTKEYDESC*);
int addSound(const char *name, const wchar_t *section, const wchar_t *description, const wchar_t *defaultFile = nullptr);
int addUserInfo(WPARAM wParam, struct OPTIONSDIALOGPAGE *odp);
|