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: Wraps the information about variable features of GS Tones |
|
15 * View. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 #ifndef CPROFILESGSTONESVIEWFEATURES_H |
|
22 #define CPROFILESGSTONESVIEWFEATURES_H |
|
23 |
|
24 // INCLUDES |
|
25 #include <e32base.h> |
|
26 |
|
27 // CONSTANTS |
|
28 |
|
29 // FORWARD DECLARATIONS |
|
30 |
|
31 // CLASS DECLARATION |
|
32 /** |
|
33 * Contains the information about variated features of GS Tones View. |
|
34 * |
|
35 * @lib ProfilesGSTonesPlugin.lib |
|
36 * @since 3.1 |
|
37 */ |
|
38 NONSHARABLE_CLASS( CProfilesGSTonesViewFeatures ) : public CBase |
|
39 { |
|
40 public: // Constructor and destructor |
|
41 |
|
42 static CProfilesGSTonesViewFeatures* NewL(); |
|
43 |
|
44 /** |
|
45 * Destructor. |
|
46 */ |
|
47 ~CProfilesGSTonesViewFeatures(); |
|
48 |
|
49 public: // New functions |
|
50 |
|
51 /** |
|
52 * Checks if the given locally variated feature is enabled. |
|
53 * @param aFeatureId the feature id Tones view features as specified in |
|
54 * ProfileEngineDomainCRKeys.h |
|
55 * @return ETrue is the given feature is supported, false otherwise. |
|
56 */ |
|
57 TBool IsLocalFeatureSupported( TUint32 aFeatureId ) const; |
|
58 |
|
59 private: // constructors |
|
60 /** |
|
61 * C++ default constructor. |
|
62 */ |
|
63 CProfilesGSTonesViewFeatures() {}; |
|
64 |
|
65 /** |
|
66 * Symbian constructor. |
|
67 */ |
|
68 void ConstructL(); |
|
69 |
|
70 private: // Data |
|
71 |
|
72 // Local features of Tones View |
|
73 TInt iLocalFeatures; |
|
74 |
|
75 }; |
|
76 |
|
77 #endif // CPROFILESGSTONESVIEWFEATURES_H |
|
78 |
|
79 // End of File |
|
80 |
|