taskswitcher/client/s60/inc/tstaskmonitorhistory.h
changeset 116 305818acdca4
child 127 7b66bc3c6dc9
equal deleted inserted replaced
112:dbfb5e38438b 116:305818acdca4
       
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 *
       
    16 */
       
    17 #ifndef TSTASKMONITORHISTORY_H_
       
    18 #define TSTASKMONITORHISTORY_H_
       
    19 
       
    20 #include <QByteArray>
       
    21 #include <QDateTime>
       
    22 
       
    23 class TsTaskMonitorHistory
       
    24 {
       
    25 public:
       
    26     TsTaskMonitorHistory(const QByteArray &key, const QDateTime &updateTime);
       
    27     bool isEqual(const TsTaskMonitorHistory &item) const;
       
    28     bool isUpdated(const TsTaskMonitorHistory &item) const;
       
    29     int offset() const;
       
    30     void setOffset(int offset);
       
    31 private:
       
    32     QByteArray mKey;
       
    33     QDateTime mUpdateTime;
       
    34     int mOffset;
       
    35 };
       
    36 
       
    37 #endif /* TSTASKMONITORHISTORY_H_ */