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 |
||
18 |
||
2
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_ENTRY_DATA_H__ |
21 |
#define __T_ENTRY_DATA_H__ |
|
22 |
||
23 |
// User Includes |
|
24 |
#include "T_FsData.h" |
|
25 |
#include "DataWrapperBase.h" |
|
26 |
||
27 |
// EPOC includes |
|
28 |
#include <f32file.h> |
|
29 |
#include <e32std.h> |
|
30 |
#include <f32fsys.h> |
|
31 |
||
32 |
||
33 |
class CT_EntryData: public CDataWrapperBase |
|
34 |
{ |
|
35 |
public: |
|
36 |
static CT_EntryData* NewL(); |
|
37 |
~CT_EntryData(); |
|
38 |
||
39 |
virtual TBool DoCommandL( const TTEFFunction& aCommand, const TTEFSectionName& aSection, const TInt aAsyncErrorIndex ); |
|
40 |
virtual TAny* GetObject(); |
|
41 |
virtual void SetObjectL( TAny* aAny ); |
|
42 |
virtual void DisownObjectL(); |
|
43 |
inline virtual TCleanupOperation CleanupOperation(); |
|
44 |
||
45 |
protected: |
|
46 |
CT_EntryData( ); |
|
47 |
void ConstructL(); |
|
48 |
||
49 |
private: |
|
50 |
inline void DoCmdAssignmentOperatorL( const TDesC& aSection ); |
|
51 |
inline void DoCmdIndexOperator( const TDesC& aSection ); |
|
52 |
inline void DoCleanup(); |
|
53 |
inline void DoCmdIsArchive( const TDesC& aSection ); |
|
54 |
inline void DoCmdIsDir( const TDesC& aSection ); |
|
55 |
inline void DoCmdIsHidden( const TDesC& aSection ); |
|
56 |
inline void DoCmdIsReadOnly( const TDesC& aSection ); |
|
57 |
inline void DoCmdIsSystem( const TDesC& aSection ); |
|
58 |
inline void DoCmdIsTypeValid( const TDesC& aSection ); |
|
59 |
inline void DoCmdIsUidPresent( const TDesC& aSection ); |
|
60 |
inline void DoCmdMostDerived( const TDesC& aSection ); |
|
61 |
inline void DoCmdNew( const TDesC& aSection ); |
|
62 |
inline void DoCmdSetAttribute( const TDesC& aSection ); |
|
63 |
||
64 |
private: |
|
65 |
// Helper function |
|
66 |
inline TBool CompareBool( TBool aResult, TBool aExpected ); |
|
67 |
static void CleanupOperation( TAny* aAny ); |
|
68 |
||
69 |
private: |
|
70 |
// TEntry class instance |
|
71 |
TEntry* iEntry; |
|
72 |
||
73 |
// RFs class instance |
|
74 |
RFs* iFs; |
|
75 |
}; |
|
76 |
||
77 |
#endif // __T_ENTRY_DATA_H__ |
|
78 |