summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-04-04 22:13:32 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-04-04 22:13:32 +0300
commit8e6a28579846d35bc36966dfb50e2eb7f662471a (patch)
tree1c0f19350badaf3dafdb9fddb837d898bcdfb9d9 /include
parentad2a5992f1fa9558ad653f8d5c81896472ce8363 (diff)
CLIST_INTERFACE::pfnReloadExtraIcons => ExtraIcon_Reload()
CLIST_INTERFACE::pfnSetAllExtraIcons => ExtraIcon_SetAll()
Diffstat (limited to 'include')
-rw-r--r--include/m_clistint.h6
-rw-r--r--include/m_extraicons.h12
2 files changed, 11 insertions, 7 deletions
diff --git a/include/m_clistint.h b/include/m_clistint.h
index a9170b64e5..72fc4ab601 100644
--- a/include/m_clistint.h
+++ b/include/m_clistint.h
@@ -470,12 +470,6 @@ struct CLIST_INTERFACE
VOID (CALLBACK *pfnTrayCycleTimerProc)(HWND hwnd, UINT message, UINT_PTR idEvent, DWORD dwTime);
/*************************************************************************************
- * version 7 additions (0.11.0.x) - extra images
- *************************************************************************************/
- void (*pfnReloadExtraIcons)(void);
- void (*pfnSetAllExtraIcons)(MCONTACT hContact);
-
- /*************************************************************************************
* Miranda NG additions
*************************************************************************************/
int (*pfnTrayCalcChanged)(const char *szChangedProto, int averageMode, int iProtoCount);
diff --git a/include/m_extraicons.h b/include/m_extraicons.h
index 8611a02e6c..11ce000a32 100644
--- a/include/m_extraicons.h
+++ b/include/m_extraicons.h
@@ -123,9 +123,19 @@ EXTERN_C MIR_APP_DLL(int) ExtraIcon_SetIconByName(HANDLE hExtraIcon, MCONTACT hC
EXTERN_C MIR_APP_DLL(int) ExtraIcon_Clear(HANDLE hExtraIcon, MCONTACT hContact);
/////////////////////////////////////////////////////////////////////////////////////////
-// Adding icon to extra image list.
+// Adds an icon to extra image list.
// Used for EXTRAICON_TYPE_CALLBACK extra icons
EXTERN_C MIR_APP_DLL(HANDLE) ExtraIcon_AddIcon(HICON hIcon);
+/////////////////////////////////////////////////////////////////////////////////////////
+// Reloads all extra icons from their sources
+
+EXTERN_C MIR_APP_DLL(void) ExtraIcon_Reload();
+
+/////////////////////////////////////////////////////////////////////////////////////////
+// Sets all extra icons for the specified contact or for all contacts by default
+
+EXTERN_C MIR_APP_DLL(void) ExtraIcon_SetAll(MCONTACT hContact = 0);
+
#endif // __M_EXTRAICONS_H__