summaryrefslogtreecommitdiff
path: root/metacontacts/metacontacts.h
diff options
context:
space:
mode:
authorsje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2007-01-29 22:51:41 +0000
committersje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2007-01-29 22:51:41 +0000
commit53448c838a6f71da0726d0bca14bec5e1c2b0d24 (patch)
tree18423d028e4d36ab77cc5bed8d89a7ff7c2a4219 /metacontacts/metacontacts.h
parent783ba1f8e28e5ce0bb50e0b90a6e390095c2053a (diff)
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
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;