taskswitcher/utils/src/tsidlist.cpp
changeset 125 26079c1bb561
parent 119 50e220be30d1
child 127 7b66bc3c6dc9
--- a/taskswitcher/utils/src/tsidlist.cpp	Mon Sep 27 11:31:59 2010 +0300
+++ b/taskswitcher/utils/src/tsidlist.cpp	Wed Oct 06 16:00:22 2010 +0300
@@ -118,3 +118,18 @@
         }
     }
 
+//------------------------------------------------------------------------------
+TBool CTsIdList::operator ==( const CTsIdList& aList) const
+    {
+    TBool retVal(aList.iIds.Count() == iIds.Count());
+    for( TInt offset(0); retVal && offset < iIds.Count(); ++offset )
+        {
+        retVal = (KErrNotFound != aList.iIds.Find(iIds[offset]));
+        }
+    return retVal;
+    }
+//------------------------------------------------------------------------------
+TBool CTsIdList::operator !=( const CTsIdList& aList) const
+    {
+    return !(*this ==aList);
+    }