summaryrefslogtreecommitdiff
path: root/src/modules/extraicons/ExtraIconGroup.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/ExtraIconGroup.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/ExtraIconGroup.h')
-rw-r--r--src/modules/extraicons/ExtraIconGroup.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/modules/extraicons/ExtraIconGroup.h b/src/modules/extraicons/ExtraIconGroup.h
index eb2aec5561..bddc3bed5e 100644
--- a/src/modules/extraicons/ExtraIconGroup.h
+++ b/src/modules/extraicons/ExtraIconGroup.h
@@ -27,6 +27,7 @@ class BaseExtraIcon;
class ExtraIconGroup : public ExtraIcon
{
+ int internalSetIcon(int id, HANDLE hContact, HANDLE icon, bool bByName);
public:
ExtraIconGroup(const char *name);
virtual ~ExtraIconGroup();
@@ -37,7 +38,8 @@ public:
virtual void applyIcon(HANDLE hContact);
virtual void onClick(HANDLE hContact);
- virtual int setIcon(int id, HANDLE hContact, void *icon);
+ virtual int setIcon(int id, HANDLE hContact, HANDLE icon);
+ virtual int setIconByName(int id, HANDLE hContact, const char* icon);
virtual void storeIcon(HANDLE hContact, void *icon);
virtual const TCHAR *getDescription() const;
@@ -56,7 +58,7 @@ protected:
bool setValidExtraIcon;
bool insideApply;
- virtual ExtraIcon * getCurrentItem(HANDLE hContact) const;
+ virtual ExtraIcon *getCurrentItem(HANDLE hContact) const;
};
#endif // __EXTRAICONGROUP_H__