mmfenh/enhancedmediaclient/Plugins/DataSourceConfigIntfc/inc/DataSourceConfigIntfcImpl.h
equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2006 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 "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: Header of DataSourceConfigIntfc object. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef DATASOURCECONFIGINTFCIMPL_H |
|
20 #define DATASOURCECONFIGINTFCIMPL_H |
|
21 |
|
22 #include <e32base.h> |
|
23 #include <DataSourceConfigIntfc.h> |
|
24 |
|
25 class CDataSourceConfigIntfcImpl : public CDataSourceConfigIntfc |
|
26 { |
|
27 public: |
|
28 IMPORT_C static CDataSourceConfigIntfcImpl* NewL(); |
|
29 ~CDataSourceConfigIntfcImpl(); |
|
30 |
|
31 TInt SetCacheSize(TUint aSizeBytes); |
|
32 TInt GetCacheSize(TUint& aSizeBytes); |
|
33 TInt SetCacheType(TCacheType aCacheType); |
|
34 TInt GetCacheType(TCacheType& aCacheType); |
|
35 TInt SetCacheLocation(const TDesC& aLocation); |
|
36 TInt GetCacheLocation(TDes& aLocation); |
|
37 TInt Reset(); |
|
38 private: |
|
39 |
|
40 CDataSourceConfigIntfcImpl(); |
|
41 void ConstructL(); |
|
42 private: |
|
43 TUint iSizeBytes; |
|
44 TCacheType iCacheType; |
|
45 HBufC* iLocation; |
|
46 }; |
|
47 |
|
48 #endif // DATASOURCECONFIGINTFCIMPL_H |
|
49 |
|
50 // End of file |