diff options
author | George Hazan <george.hazan@gmail.com> | 2013-09-27 17:07:04 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-09-27 17:07:04 +0000 |
commit | 62e59387c15f062f16984cab024a0980a8503369 (patch) | |
tree | dc0640bcde3dd4f4c314fa289a3245c1891b479f /src/modules/extraicons/ExtraIcon.cpp | |
parent | 8a3b60207162ad0d6540531c6ede0696370b75b3 (diff) |
attempt to wipe out STL from extra icons
git-svn-id: http://svn.miranda-ng.org/main/trunk@6252 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/extraicons/ExtraIcon.cpp')
-rw-r--r-- | src/modules/extraicons/ExtraIcon.cpp | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/src/modules/extraicons/ExtraIcon.cpp b/src/modules/extraicons/ExtraIcon.cpp index 379265e9ba..5298ea3a64 100644 --- a/src/modules/extraicons/ExtraIcon.cpp +++ b/src/modules/extraicons/ExtraIcon.cpp @@ -73,57 +73,3 @@ void ExtraIcon::applyIcons() applyIcon(hContact);
}
}
-
-int ExtraIcon::compare(const ExtraIcon *other) const
-{
- if (this == other)
- return 0;
-
- int ret = getPosition() - other->getPosition();
- if (ret != 0)
- return ret;
-
- int id = 0;
- if (getType() != EXTRAICON_TYPE_GROUP)
- id = ((BaseExtraIcon*) this)->getID();
- int otherId = 0;
- if (other->getType() != EXTRAICON_TYPE_GROUP)
- otherId = ((BaseExtraIcon*) other)->getID();
- return id - otherId;
-}
-
-bool ExtraIcon::operator==(const ExtraIcon & other) const
-{
- int c = compare(&other);
- return c == 0;
-}
-
-bool ExtraIcon::operator!=(const ExtraIcon & other) const
-{
- int c = compare(&other);
- return c != 0;
-}
-
-bool ExtraIcon::operator<(const ExtraIcon & other) const
-{
- int c = compare(&other);
- return c < 0;
-}
-
-bool ExtraIcon::operator<=(const ExtraIcon & other) const
-{
- int c = compare(&other);
- return c <= 0;
-}
-
-bool ExtraIcon::operator>(const ExtraIcon & other) const
-{
- int c = compare(&other);
- return c > 0;
-}
-
-bool ExtraIcon::operator>=(const ExtraIcon & other) const
-{
- int c = compare(&other);
- return c >= 0;
-}
|