diff options
author | George Hazan <ghazan@miranda.im> | 2018-05-22 18:00:57 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-05-22 18:00:57 +0300 |
commit | feac2b1a6a79c9d0bb58b0825ec2a776b888f9ce (patch) | |
tree | ef2fde024f8e13ac1ff5f2de8c772066319b3e6c /include/newpluginapi.h | |
parent | 737d05018bbc2da54414bea0c2ccce6f1e15bde2 (diff) |
m_genmenu.h unbound from hLangpack
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);
|