From feac2b1a6a79c9d0bb58b0825ec2a776b888f9ce Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 22 May 2018 18:00:57 +0300 Subject: m_genmenu.h unbound from hLangpack --- include/newpluginapi.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'include/newpluginapi.h') 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); -- cgit v1.2.3