diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/m_clistint.h | 6 | ||||
-rw-r--r-- | include/m_extraicons.h | 12 |
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__
|