equal
deleted
inserted
replaced
|
1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 /** |
|
17 @file |
|
18 @internalTechnology |
|
19 */ |
|
20 |
|
21 #ifndef CMTPPROXYDPPCONFIGMGR_H |
|
22 #define CMTPPROXYDPPCONFIGMGR_H |
|
23 #include "mtpdebug.h" |
|
24 #include <e32base.h> |
|
25 #include <badesca.h> |
|
26 struct FileMappingStruct |
|
27 { |
|
28 TUint iDpUid; |
|
29 CDesCArray* iFileArray; |
|
30 }; |
|
31 class MMTPDataProviderFramework; |
|
32 |
|
33 class CMTPProxyDpConfigMgr : public CBase |
|
34 { |
|
35 public: |
|
36 static CMTPProxyDpConfigMgr* NewL(MMTPDataProviderFramework& aFramework); |
|
37 ~CMTPProxyDpConfigMgr(); |
|
38 TBool GetFileName(const TDesC& aFileName,TInt& aIndex); |
|
39 TUint GetDPId(const TInt& aIndex); |
|
40 private: |
|
41 CMTPProxyDpConfigMgr(MMTPDataProviderFramework& aFramework); |
|
42 void ConstructL(); |
|
43 void InsertToMappingStruct(FileMappingStruct& aRef); |
|
44 private: |
|
45 MMTPDataProviderFramework& iFramework; |
|
46 RArray<FileMappingStruct> iMappingStruct; |
|
47 /** |
|
48 FLOGGER debug trace member variable. |
|
49 */ |
|
50 __FLOG_DECLARATION_MEMBER_MUTABLE; |
|
51 }; |
|
52 |
|
53 #endif // CMTPPROXYDPPCONFIGMGR_H |