From 53448c838a6f71da0726d0bca14bec5e1c2b0d24 Mon Sep 17 00:00:00 2001 From: sje Date: Mon, 29 Jan 2007 22:51:41 +0000 Subject: applied and modified GDI resource patch by Borkra git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@89 4f64403b-2f21-0410-a795-97e2b3489a10 --- metacontacts/metacontacts.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'metacontacts/metacontacts.h') 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; -- cgit v1.2.3