diff options
author | George Hazan <george.hazan@gmail.com> | 2016-09-11 11:14:00 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-09-11 11:14:00 +0000 |
commit | 7b6fab706d573bee87ed4df56d4ad42714318e4c (patch) | |
tree | a4b3cf44abd3b0e75d554aa8f432d2b5d4174e80 /include/m_extraicons.h | |
parent | c77af32ca5d045a672f97bea69d905646bb7de95 (diff) |
flag added to the extra icon creation functions
git-svn-id: http://svn.miranda-ng.org/main/trunk@17281 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/m_extraicons.h')
-rw-r--r-- | include/m_extraicons.h | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/include/m_extraicons.h b/include/m_extraicons.h index e07384cedb..fb5b3af3d0 100644 --- a/include/m_extraicons.h +++ b/include/m_extraicons.h @@ -32,13 +32,13 @@ Boston, MA 02111-1307, USA. #define EMPTY_EXTRA_ICON 0xFFFF
-//called with wparam=hContact
+// called with wparam=hContact
#define ME_CLIST_EXTRA_IMAGE_APPLY "CListFrames/OnExtraImageApply"
-//called with wparam=hContact lparam=extra
+// called with wparam=hContact lparam=extra
#define ME_CLIST_EXTRA_CLICK "CListFrames/OnExtraClick"
-//called with wparam=lparam=0
+// called with wparam=lparam=0
#define ME_CLIST_EXTRA_LIST_REBUILD "CListFrames/OnExtraListRebuild"
/*
@@ -105,17 +105,24 @@ EXTERN_C MIR_APP_DLL(void) KillModuleExtraIcons(int hLangpack); #pragma warning(disable:4505)
+/////////////////////////////////////////////////////////////////////////////////////////
+
+#define EIF_DISABLED_BY_DEFAULT 0x0001
+
EXTERN_C MIR_APP_DLL(HANDLE) ExtraIcon_RegisterCallback(const char *name, const char *description, const char *descIcon,
- MIRANDAHOOK RebuildIcons, MIRANDAHOOK ApplyIcon, MIRANDAHOOKPARAM OnClick = NULL, LPARAM onClickParam = 0, int = hLangpack);
+ MIRANDAHOOK RebuildIcons, MIRANDAHOOK ApplyIcon, MIRANDAHOOKPARAM OnClick = NULL, LPARAM onClickParam = 0, int flags = 0, int = hLangpack);
EXTERN_C MIR_APP_DLL(HANDLE) ExtraIcon_RegisterIcolib(const char *name, const char *description, const char *descIcon = NULL,
- MIRANDAHOOKPARAM OnClick = NULL, LPARAM onClickParam = 0, int = hLangpack);
+ MIRANDAHOOKPARAM OnClick = NULL, LPARAM onClickParam = 0, int flags = 0, int = hLangpack);
+
+/////////////////////////////////////////////////////////////////////////////////////////
EXTERN_C MIR_APP_DLL(int) ExtraIcon_SetIcon(HANDLE hExtraIcon, MCONTACT hContact, HANDLE hImage);
EXTERN_C MIR_APP_DLL(int) ExtraIcon_SetIconByName(HANDLE hExtraIcon, MCONTACT hContact, const char *icoName);
EXTERN_C MIR_APP_DLL(int) ExtraIcon_Clear(HANDLE hExtraIcon, MCONTACT hContact);
+/////////////////////////////////////////////////////////////////////////////////////////
// Adding icon to extra image list.
// Used for EXTRAICON_TYPE_CALLBACK extra icons
|