tsrc/featmgrstub/inc/FeatMgr.h
changeset 15 ccd8e69b5392
parent 2 b31261fd4e04
child 20 e8be2c2e049d
child 22 496ad160a278
equal deleted inserted replaced
2:b31261fd4e04 15:ccd8e69b5392
     1 /*
       
     2 * Copyright (c) 2009 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:
       
    15 *
       
    16 */
       
    17 // FeatMgr.h
       
    18 //
       
    19 //stubsfor Feature Manager
       
    20 
       
    21 #ifndef FEATUREMANAGER_H
       
    22 #define FEATUREMANAGER_H
       
    23 
       
    24 
       
    25 //INCLUDES
       
    26 #include <e32std.h>
       
    27 
       
    28 
       
    29 class FeatureManager
       
    30     {
       
    31     public: 
       
    32 
       
    33 		/**
       
    34         * Fetches information whether a certain feature is supported.
       
    35         * @return feature support status
       
    36         */
       
    37         IMPORT_C static TBool FeatureSupported( TInt aFeature );
       
    38 		
       
    39         static void InitializeLibL();
       
    40         static void UnInitializeLib();
       
    41 
       
    42         // functions to set/unset camera feature
       
    43         IMPORT_C static void CameraNotSupported();
       
    44         IMPORT_C static void CameraSupported();
       
    45 		
       
    46 		// functions to set/unset MultimediaSharing feature
       
    47         IMPORT_C static void MultimediaSharingNotSupported();
       
    48         IMPORT_C static void MultimediaSharingSupported();
       
    49 
       
    50     private:
       
    51         // member to 
       
    52         static TBool iIsCameraSupported;
       
    53         static TBool iIsMultimediaSharingSupported;
       
    54     };
       
    55 
       
    56 #endif      // FEATUREMANAGER_H
       
    57             
       
    58 // End of File