diff -r efda7c0771b9 -r 7b66bc3c6dc9 taskswitcher/client/s60/inc/tstaskmonitorhistory.h --- a/taskswitcher/client/s60/inc/tstaskmonitorhistory.h Wed Oct 13 12:59:22 2010 +0300 +++ b/taskswitcher/client/s60/inc/tstaskmonitorhistory.h Mon Oct 18 10:44:15 2010 +0300 @@ -16,22 +16,20 @@ */ #ifndef TSTASKMONITORHISTORY_H_ #define TSTASKMONITORHISTORY_H_ - -#include -#include +#include +#include "tscliententry.h" class TsTaskMonitorHistory { public: - TsTaskMonitorHistory(const QByteArray &key, const QDateTime &updateTime); - bool isEqual(const TsTaskMonitorHistory &item) const; - bool isUpdated(const TsTaskMonitorHistory &item) const; + TsTaskMonitorHistory(const QSharedPointer< CTsClientEntry > item, int offset); + bool operator == (const TsTaskMonitorHistory &item) const; + bool isUpdated (const TsTaskMonitorHistory &item) const; int offset() const; - void setOffset(int offset); + private: - QByteArray mKey; - QDateTime mUpdateTime; - int mOffset; + QSharedPointer mEntry; + const int mOffset; }; #endif /* TSTASKMONITORHISTORY_H_ */