equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2005-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 the License "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 |
|
18 |
|
19 #ifndef __T_ENTRY_ARRAY_DATA_H__ |
|
20 #define __T_ENTRY_ARRAY_DATA_H__ |
|
21 |
|
22 // User Includes |
|
23 #include "DataWrapperBase.h" |
|
24 #include "T_FsData.h" |
|
25 |
|
26 // EPOC includes |
|
27 #include <f32file.h> |
|
28 #include <e32std.h> |
|
29 #include <f32fsys.h> |
|
30 |
|
31 |
|
32 class CT_EntryArrayData: public CDataWrapperBase |
|
33 { |
|
34 public: |
|
35 static CT_EntryArrayData* NewL( ); |
|
36 ~CT_EntryArrayData(); |
|
37 |
|
38 virtual TBool DoCommandL( const TTEFFunction& aCommand, const TTEFSectionName& aSection, const TInt aAsyncErrorIndex ); |
|
39 virtual TAny* GetObject(); |
|
40 virtual void SetObjectL( TAny* aAny ); |
|
41 |
|
42 protected: |
|
43 CT_EntryArrayData( ); |
|
44 void ConstructL(); |
|
45 |
|
46 private: |
|
47 inline void DoCmdCount( const TDesC& aSection ); |
|
48 inline void DoCmdDelete(); |
|
49 inline void DoCmdNew(); |
|
50 inline void DoCmdIndexOperatorL(const TDesC& aSection); |
|
51 inline void DoCleanup(); |
|
52 |
|
53 private: |
|
54 |
|
55 // TEntryArray class instance |
|
56 TEntryArray* iEntryArray; |
|
57 }; |
|
58 |
|
59 #endif // __T_ENTRY_ARRAY_DATA_H__ |
|
60 |