--- 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);
+ }