taskswitcher/client/s60/inc/tstaskmonitorhistory.h
changeset 127 7b66bc3c6dc9
parent 116 305818acdca4
equal deleted inserted replaced
126:efda7c0771b9 127:7b66bc3c6dc9
    14 * Description: 
    14 * Description: 
    15 *
    15 *
    16 */
    16 */
    17 #ifndef TSTASKMONITORHISTORY_H_
    17 #ifndef TSTASKMONITORHISTORY_H_
    18 #define TSTASKMONITORHISTORY_H_
    18 #define TSTASKMONITORHISTORY_H_
    19 
    19 #include <QSharedPointer>
    20 #include <QByteArray>
    20 #include "tscliententry.h"
    21 #include <QDateTime>
       
    22 
    21 
    23 class TsTaskMonitorHistory
    22 class TsTaskMonitorHistory
    24 {
    23 {
    25 public:
    24 public:
    26     TsTaskMonitorHistory(const QByteArray &key, const QDateTime &updateTime);
    25     TsTaskMonitorHistory(const QSharedPointer< CTsClientEntry > item, int offset);
    27     bool isEqual(const TsTaskMonitorHistory &item) const;
    26     bool operator == (const TsTaskMonitorHistory &item) const;
    28     bool isUpdated(const TsTaskMonitorHistory &item) const;
    27     bool isUpdated (const TsTaskMonitorHistory &item) const;
    29     int offset() const;
    28     int offset() const;
    30     void setOffset(int offset);
    29 
    31 private:
    30 private:
    32     QByteArray mKey;
    31     QSharedPointer<CTsClientEntry> mEntry;
    33     QDateTime mUpdateTime;
    32     const int mOffset;
    34     int mOffset;
       
    35 };
    33 };
    36 
    34 
    37 #endif /* TSTASKMONITORHISTORY_H_ */
    35 #endif /* TSTASKMONITORHISTORY_H_ */