|
1 // Copyright (c) 2007-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 // This file contains a stubbed implementation of RFeatureControl. |
|
15 // |
|
16 // |
|
17 |
|
18 #include <featmgr/featurecontrol.h> |
|
19 |
|
20 EXPORT_C RFeatureControl::RFeatureControl() |
|
21 { |
|
22 } |
|
23 |
|
24 EXPORT_C TInt RFeatureControl::Connect() |
|
25 { |
|
26 return KErrNone; |
|
27 } |
|
28 |
|
29 EXPORT_C TInt RFeatureControl::Open() |
|
30 { |
|
31 return KErrNone; |
|
32 } |
|
33 |
|
34 EXPORT_C void RFeatureControl::Close() |
|
35 { |
|
36 } |
|
37 |
|
38 EXPORT_C TInt RFeatureControl::FeatureSupported( TUid /*aFeature */) |
|
39 { |
|
40 return KFeatureSupported; |
|
41 } |
|
42 |
|
43 EXPORT_C TInt RFeatureControl::FeatureSupported( TFeatureEntry& /*aFeature */) |
|
44 { |
|
45 return KFeatureSupported; |
|
46 } |
|
47 |
|
48 EXPORT_C TInt RFeatureControl::FeaturesSupported( RFeatureArray& /*aFeatures*/ ) |
|
49 { |
|
50 return KFeatureSupported; |
|
51 } |
|
52 |
|
53 EXPORT_C TInt RFeatureControl::EnableFeature( TUid /*aFeature*/ ) |
|
54 { |
|
55 return KErrNone; |
|
56 } |
|
57 |
|
58 EXPORT_C TInt RFeatureControl::DisableFeature( TUid /*aFeature*/ ) |
|
59 { |
|
60 return KErrNone; |
|
61 } |
|
62 |
|
63 EXPORT_C TInt RFeatureControl::SetFeature( TUid /*aFeature*/, TBool /*aEnabled*/, TUint32 /*aData */) |
|
64 { |
|
65 return KErrNone; |
|
66 } |
|
67 |
|
68 EXPORT_C TInt RFeatureControl::SetFeature( TUid /*aFeature*/, TUint32 /*aData */) |
|
69 { |
|
70 return KErrNone; |
|
71 } |
|
72 |
|
73 EXPORT_C TInt RFeatureControl::AddFeature( TFeatureEntry& /*aFeature*/ ) |
|
74 { |
|
75 return KErrNone; |
|
76 } |
|
77 |
|
78 EXPORT_C TInt RFeatureControl::ListSupportedFeatures( RFeatureUidArray& /*aSupportedFeatures*/ ) |
|
79 { |
|
80 return KErrNone; |
|
81 } |