summaryrefslogtreecommitdiff
path: root/Plugins/extraicons/ExtraIcon.h
diff options
context:
space:
mode:
authorpescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7>2009-04-30 15:54:18 +0000
committerpescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7>2009-04-30 15:54:18 +0000
commit9451a687c9f422b54d1cbb21f6d8648dd2036845 (patch)
tree1a5c76396fc5b7527e78636df6b0ec02138a96c1 /Plugins/extraicons/ExtraIcon.h
parent6a1cf551e14639349eda6295575cf04e9e770580 (diff)
extraicons: 0.2.0.0
+ Allows group/ungroup of icons + New options dialog git-svn-id: http://pescuma.googlecode.com/svn/trunk/Miranda@170 c086bb3d-8645-0410-b8da-73a8550f86e7
Diffstat (limited to 'Plugins/extraicons/ExtraIcon.h')
-rw-r--r--Plugins/extraicons/ExtraIcon.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/Plugins/extraicons/ExtraIcon.h b/Plugins/extraicons/ExtraIcon.h
index 19cfb9e..03b0177 100644
--- a/Plugins/extraicons/ExtraIcon.h
+++ b/Plugins/extraicons/ExtraIcon.h
@@ -27,7 +27,7 @@
class ExtraIcon
{
public:
- ExtraIcon(int id, const char *name);
+ ExtraIcon(const char *name);
virtual ~ExtraIcon();
virtual void rebuildIcons() =0;
@@ -38,7 +38,6 @@ public:
virtual int setIcon(int id, HANDLE hContact, void *icon) =0;
virtual void storeIcon(HANDLE hContact, void *icon) =0;
- virtual int getID() const;
virtual const char *getName() const;
virtual const char *getDescription() const =0;
virtual const char *getDescIcon() const =0;
@@ -62,14 +61,13 @@ public:
bool operator>(const ExtraIcon &other) const;
bool operator>=(const ExtraIcon &other) const;
+ virtual int ClistSetExtraIcon(HANDLE hContact, HANDLE hImage) =0;
+
protected:
- int id;
std::string name;
int slot;
int position;
-
- virtual int ClistSetExtraIcon(HANDLE hContact, int slot, HANDLE hImage);
};
#endif // __EXTRAICON_H__