|
1 /* |
|
2 * Copyright (c) 2005 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: XDM Settings property |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 #ifndef __XDMSETTINGSPROPERTY__ |
|
22 #define __XDMSETTINGSPROPERTY__ |
|
23 |
|
24 #include <e32base.h> |
|
25 |
|
26 //CLASS DECLARATION |
|
27 NONSHARABLE_CLASS ( CXdmSettingsProperty ) : public CBase |
|
28 { |
|
29 public: |
|
30 |
|
31 /** |
|
32 * Return the name of each settings collection |
|
33 * stored in the repository |
|
34 * |
|
35 * @return CDesCArray* Names of all settings collections |
|
36 */ |
|
37 static CXdmSettingsProperty* NewL( const TDesC& aPropertyValue, |
|
38 TXdmSettingsProperty aPropertyName ); |
|
39 |
|
40 /** |
|
41 * Return the name of each settings collection |
|
42 * stored in the repository |
|
43 * |
|
44 * @return CDesCArray* Names of all settings collections |
|
45 */ |
|
46 IMPORT_C TXdmSettingsProperty PropertyName() const; |
|
47 |
|
48 /** |
|
49 * Return the name of each settings collection |
|
50 * stored in the repository |
|
51 * |
|
52 * @return CDesCArray* Names of all settings collections |
|
53 */ |
|
54 IMPORT_C TPtrC PropertyValue() const; |
|
55 |
|
56 /** |
|
57 * Return the name of each settings collection |
|
58 * stored in the repository |
|
59 * |
|
60 * @return CDesCArray* Names of all settings collections |
|
61 */ |
|
62 IMPORT_C virtual ~CXdmSettingsProperty(); |
|
63 |
|
64 private: |
|
65 |
|
66 /** |
|
67 * Return the name of each settings collection |
|
68 * stored in the repository |
|
69 * |
|
70 * @return CDesCArray* Names of all settings collections |
|
71 */ |
|
72 CXdmSettingsProperty( TXdmSettingsProperty aPropertyName ); |
|
73 |
|
74 /** |
|
75 * Return the name of each settings collection |
|
76 * stored in the repository |
|
77 * |
|
78 * @return CDesCArray* Names of all settings collections |
|
79 */ |
|
80 void ConstructL( const TDesC& aPropertyValue ); |
|
81 |
|
82 private: //Data |
|
83 |
|
84 HBufC* iPropertyValue; |
|
85 TXdmSettingsProperty iPropertyName; |
|
86 }; |
|
87 |
|
88 #endif //__XDMSETTINGSPROPERTY__ |
|
89 |
|
90 // End of File |