116
|
1 |
/*
|
|
2 |
* Copyright (c) 2008 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: Task list entry
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
|
|
19 |
#ifndef TSENTRYKEY_H
|
|
20 |
#define TSENTRYKEY_H
|
|
21 |
|
|
22 |
#include <e32base.h>
|
127
|
23 |
#include <s32strm.h>
|
|
24 |
|
|
25 |
typedef TInt TTsKey;
|
116
|
26 |
|
|
27 |
class TTsEntryKey
|
|
28 |
{
|
|
29 |
public:
|
127
|
30 |
static TInt Size();
|
|
31 |
TTsEntryKey();
|
|
32 |
TTsEntryKey( TTsKey aKey, TInt aRoot );
|
|
33 |
TTsEntryKey( const TTsEntryKey &aKey );
|
|
34 |
TTsEntryKey& operator =( const TTsEntryKey& aKey );
|
|
35 |
TBool operator == ( const TTsEntryKey aKey ) const;
|
|
36 |
TInt Key() const;
|
|
37 |
void ExternalizeL( RWriteStream& aStream ) const;
|
|
38 |
void InternalizeL( RReadStream& aStream );
|
116
|
39 |
|
|
40 |
private:
|
127
|
41 |
TTsKey iKey;
|
|
42 |
TInt iRoot;
|
116
|
43 |
};
|
|
44 |
|
|
45 |
#endif //TSENTRYKEY_H
|