author | Mike Kinghan <mikek@symbian.org> |
Thu, 25 Nov 2010 14:35:45 +0000 | |
branch | GCC_SURGE |
changeset 305 | 1ba12ef4ef89 |
parent 15 | 4122176ea935 |
permissions | -rw-r--r-- |
0 | 1 |
/* |
15
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 |
|
15
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 |
* |
|
15
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 |
||
18 |
||
15
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
19 |
|
0 | 20 |
#ifndef __T_FIND_FILE_DATA_H__ |
21 |
#define __T_FIND_FILE_DATA_H__ |
|
22 |
||
23 |
// User Includes |
|
24 |
#include "DataWrapperBase.h" |
|
25 |
#include "T_FsData.h" |
|
26 |
||
27 |
// EPOC includes |
|
28 |
#include <f32file.h> |
|
29 |
#include <e32std.h> |
|
30 |
#include <f32fsys.h> |
|
31 |
||
32 |
||
33 |
class CT_FindFileData: public CDataWrapperBase |
|
34 |
{ |
|
35 |
public: |
|
36 |
static CT_FindFileData* NewL(); |
|
37 |
~CT_FindFileData(); |
|
38 |
||
39 |
virtual TBool DoCommandL( const TTEFFunction& aCommand, const TTEFSectionName& aSection, const TInt /*aAsyncErrorIndex*/ ); |
|
40 |
virtual TAny* GetObject(); |
|
41 |
||
42 |
protected: |
|
43 |
CT_FindFileData(); |
|
44 |
void ConstructL(); |
|
45 |
||
46 |
private: |
|
47 |
inline void DoCleanup(); |
|
48 |
inline void DoCmdNew( const TDesC& aEntry ); |
|
49 |
inline void DoCmdFile( const TDesC& aEntry ); |
|
50 |
inline void DoCmdFind( const TDesC& aEntry ); |
|
51 |
inline void DoCmdFindByDir( const TDesC& aEntry ); |
|
52 |
inline void DoCmdFindByPath( const TDesC& aEntry ); |
|
53 |
inline void DoCmdFindWildL( const TDesC& aEntry ); |
|
54 |
inline void DoCmdFindWildByDirL( const TDesC& aEntry ); |
|
55 |
inline void DoCmdFindWildByPathL( const TDesC& aEntry ); |
|
56 |
inline void DoCmdSetFindMask( const TDesC& aEntry ); |
|
57 |
//Utility functions |
|
58 |
TBool ConvertToDriveAtts(const TDesC& aMediaAttStr, TUint& aMediaAtt); |
|
59 |
TBool GetDriveAttsFromConfig(const TDesC& aSection, TUint& aDriveAtt); |
|
60 |
||
61 |
||
62 |
private: |
|
63 |
// TFindFile class instance that is tested |
|
64 |
TFindFile* iFindFile; |
|
65 |
||
66 |
// Pointer to the path list |
|
67 |
TPtrC iPathList; |
|
68 |
}; |
|
69 |
||
70 |
#endif // __T_FIND_FILE_ARRAY_DATA_H__ |
|
71 |