summaryrefslogtreecommitdiff
path: root/src/modules/extraicons/ExtraIcon.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-11-19 12:51:53 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-11-19 12:51:53 +0000
commit32dedc767dec565c576b78b786e7a95d76ac806e (patch)
tree0f2eb209b3716569a8e3c3ef146a91f402ebbb4d /src/modules/extraicons/ExtraIcon.h
parentadf7367cfdb57b32aadeb74af45dce9a6a3c02a5 (diff)
- added another helper, ExtraIcon_Clear, to remove an icon from slot;
- added ability to pass IcoLib handles instead of icons' names git-svn-id: http://svn.miranda-ng.org/main/trunk@2371 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/extraicons/ExtraIcon.h')
-rw-r--r--src/modules/extraicons/ExtraIcon.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/modules/extraicons/ExtraIcon.h b/src/modules/extraicons/ExtraIcon.h
index 281e9e25eb..0fec56562c 100644
--- a/src/modules/extraicons/ExtraIcon.h
+++ b/src/modules/extraicons/ExtraIcon.h
@@ -30,18 +30,19 @@ public:
ExtraIcon(const char *name);
virtual ~ExtraIcon();
- virtual void rebuildIcons() =0;
+ virtual void rebuildIcons() = 0;
virtual void applyIcons();
- virtual void applyIcon(HANDLE hContact) =0;
- virtual void onClick(HANDLE hContact) =0;
+ virtual void applyIcon(HANDLE hContact) =0 ;
+ virtual void onClick(HANDLE hContact) = 0;
- virtual int setIcon(int id, HANDLE hContact, void *icon) =0;
- virtual void storeIcon(HANDLE hContact, void *icon) =0;
+ virtual int setIcon(int id, HANDLE hContact, HANDLE icon) = 0;
+ virtual int setIconByName(int id, HANDLE hContact, const char* icon) = 0;
+ virtual void storeIcon(HANDLE hContact, void *icon) = 0;
virtual const char *getName() const;
- virtual const TCHAR *getDescription() const =0;
- virtual const char *getDescIcon() const =0;
- virtual int getType() const =0;
+ virtual const TCHAR *getDescription() const = 0;
+ virtual const char *getDescIcon() const = 0;
+ virtual int getType() const = 0;
virtual int getSlot() const;
virtual void setSlot(int slot);