telephonyserverplugins/common_tsy/featmgrstub/inc/featurecontrol.h
changeset 0 3553901f7fa8
equal deleted inserted replaced
-1:000000000000 0:3553901f7fa8
       
     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 //
       
    15 
       
    16 #ifndef FEATURECONTROL_H
       
    17 #define FEATURECONTROL_H
       
    18 
       
    19 #include <e32std.h>
       
    20 #include <e32svr.h>
       
    21 #include <featmgr/featurecmn.h>
       
    22 
       
    23 NONSHARABLE_CLASS(RFeatureControl)
       
    24     {
       
    25     public: 
       
    26         IMPORT_C RFeatureControl();
       
    27         IMPORT_C TInt Connect();
       
    28         IMPORT_C TInt Open();
       
    29         IMPORT_C void Close();
       
    30         IMPORT_C TInt FeatureSupported( TUid aFeature );
       
    31         IMPORT_C TInt FeatureSupported( TFeatureEntry& aFeature );
       
    32         IMPORT_C TInt FeaturesSupported( RFeatureArray& aFeatures );
       
    33         IMPORT_C TInt EnableFeature( TUid aFeature );
       
    34         IMPORT_C TInt DisableFeature( TUid aFeature );
       
    35         IMPORT_C TInt SetFeature( TUid aFeature, TBool aEnabled, TUint32 aData );
       
    36         IMPORT_C TInt SetFeature( TUid aFeature, TUint32 aData );
       
    37         IMPORT_C TInt AddFeature( TFeatureEntry& aFeature );
       
    38         IMPORT_C TInt ListSupportedFeatures( RFeatureUidArray& aSupportedFeatures );      
       
    39     };
       
    40 
       
    41 #endif      // FEATURECONTROL_H