summaryrefslogtreecommitdiff
path: root/metacontacts/metacontacts.h
diff options
context:
space:
mode:
Diffstat (limited to 'metacontacts/metacontacts.h')
-rw-r--r--metacontacts/metacontacts.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/metacontacts/metacontacts.h b/metacontacts/metacontacts.h
index f424eff..0e5bfd9 100644
--- a/metacontacts/metacontacts.h
+++ b/metacontacts/metacontacts.h
@@ -43,7 +43,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "resource.h"
#include "m_metacontacts.h"
-#include "IcoLib.h"
+#include "m_IcoLib.h"
#include "../../include/newpluginapi.h"
#include "../../include/m_clist.h"
@@ -234,10 +234,12 @@ int MyDBWriteContactSetting(HANDLE hContact, const char *szModule, const char *s
int MyDBGetContactSetting(HANDLE hContact, const char *szModule, const char *szSetting, DBVARIANT *dbv);
// IcoLib support
-extern HICON hIconToggleOn, hIconToggleOff, hIconConvert, hIconAdd, hIconEdit, hIconDefault, hIconRemove;
+void InitIcons(void);
+void DeinitIcons(void);
-void InitIcons();
-void DeinitIcons();
+typedef enum {I_MENUOFF, I_MENU, I_CONVERT, I_ADD, I_EDIT, I_SETDEFAULT, I_REMOVE} IconIndex;
+HICON LoadIconEx(IconIndex i);
+void ReleaseIconEx(HICON hIcon);
extern HANDLE hEventDefaultChanged, hEventForceSend, hEventUnforceSend, hSubcontactsChanged;