author | John Imhofe <john.imhofe@nokia.com> |
Mon, 21 Dec 2009 16:14:42 +0000 | |
changeset 2 | 4122176ea935 |
parent 0 | a41df078684a |
permissions | -rw-r--r-- |
0 | 1 |
/* |
2
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
2 |
* Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
0 | 3 |
* All rights reserved. |
4 |
* This component and the accompanying materials are made available |
|
2
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
5 |
* under the terms of "Eclipse Public License v1.0" |
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 |
* |
|
2
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
14 |
* Description: |
0 | 15 |
* |
16 |
*/ |
|
17 |
||
2
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
18 |
|
0 | 19 |
/** |
20 |
@test |
|
21 |
@internalComponent |
|
22 |
||
23 |
This contains CT_DirData |
|
24 |
*/ |
|
25 |
||
26 |
#if (!defined __T_DIR_DATA_H__) |
|
27 |
#define __T_DIR_DATA_H__ |
|
28 |
||
29 |
// User Includes |
|
30 |
#include "DataWrapperBase.h" |
|
31 |
#include "T_FsData.h" |
|
32 |
||
33 |
// EPOC includes |
|
34 |
#include <f32file.h> |
|
35 |
||
36 |
class CT_DirData: public CDataWrapperBase |
|
37 |
{ |
|
38 |
public: |
|
39 |
static CT_DirData* NewL(); |
|
40 |
~CT_DirData(); |
|
41 |
||
42 |
virtual TBool DoCommandL(const TTEFFunction& aCommand, const TTEFSectionName& aSection, const TInt aAsyncErrorIndex); |
|
43 |
virtual TAny* GetObject(); |
|
44 |
virtual void SetObjectL(TAny* aAny); |
|
45 |
virtual void DisownObjectL(); |
|
46 |
inline virtual TCleanupOperation CleanupOperation(); |
|
47 |
||
48 |
protected: |
|
49 |
CT_DirData(); |
|
50 |
void ConstructL(); |
|
51 |
||
52 |
private: |
|
53 |
void DoCleanup(); |
|
54 |
void DoCmdCount(const TDesC& aSection); |
|
55 |
void DoCmdOperatorBracketsL(const TDesC& aSection); |
|
56 |
void DoCmdSort(const TDesC& aSection); |
|
57 |
||
58 |
//Helper function |
|
59 |
static void CleanupOperation(TAny* aAny); |
|
60 |
TBool ConvertSortKeys(TDesC &aConstantName, TUint& aSortKey); |
|
61 |
private: |
|
62 |
//** Directory entry list */ |
|
63 |
CDir* iDir; |
|
64 |
}; |
|
65 |
||
66 |
#endif /* __T_DIR_DATA_H__ */ |