class FeatureManager |
Inquire whether a certain static feature is supported. For usage, see example code at the end of the header file.
Use the class CFeatureDiscovery for basic feature queries, or the class RFeatureControl for advanced feature queries and control.
Public Member Functions | |
---|---|
IMPORT_C TBool | FeatureSupported ( TInt ) |
IMPORT_C void | InitializeLibL () |
IMPORT_C void | UnInitializeLib () |
Private Member Functions | |
---|---|
FeatureManager () | |
CFeatMgrTlsData * | TlsData () |
FeatureManager | ( | ) | [private] |
C++ default constructor. Prohibits instantiation of this class.
IMPORT_C TBool | FeatureSupported | ( | TInt | aFeature | ) | [static] |
Fetches information whether a certain feature is supported.
Use the class CFeatureDiscovery for basic feature queries, or the class RFeatureControl for advanced feature queries and control.
TInt aFeature | feature id. |
IMPORT_C void | InitializeLibL | ( | ) | [static] |
This must be called in the scope of the thread before calling any other methods. It sets up TLS. Uninitialization is done by calling the UnInitializeLib() function.
IMPORT_C void | UnInitializeLib | ( | ) | [static] |
This must be called in the scope of the thread after calling InitializeLibL() . It frees the allocated TLS. Do not call UnInitializeLib() if InitalizeLibL() leaves.
Use the class CFeatureDiscovery for basic feature queries, or the class RFeatureControl for advanced feature queries and control.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.