CMsgVoIPExtension Class Reference

class CMsgVoIPExtension : public CBase

Internal class to get count of VoIP profiles and the value of the settings Preferred Telephone. Allows also to drop RCSE component from rom.

Since
Series 60 3.0

Inherits from

Constructor & Destructor Documentation

CMsgVoIPExtension()

CMsgVoIPExtension ( ) [private]

C++ default constructor.

Example usage:

         // replace <featureUID> with a real UID 

 #include <featmgr/featmgr.h>
 #include <bldvariant.hrh> // for feature definitions

 CMyClass::ConstructL()
     {
     // Sets up TLS, must be done before FeatureManager is used.
     FeatureManager::InitializeLibL();
     // Used in destructor. 
     iFeatMgrInitialized = ETrue;
     }

 CMyClass::ShowMenuL()
     {
     if ( FeatureManager::FeatureSupported( <featureUID> ) )
         {
         // Feature supported, show menu item associated with it.
         }
     }

 CMyClass::~CMyClass()
     {
     // Do not call UnInitializeLib() if InitalizeLib() leaves.
     if ( iFeatMgrInitialized )
         {
	      // Frees the TLS. Must be done after FeatureManager is used.
         FeatureManager::UnInitializeLib();  
         }
     }
        

~CMsgVoIPExtension()

~CMsgVoIPExtension ( ) [virtual]

Destructor.

Member Functions Documentation

ConstructL()

void ConstructL ( ) [private]

By default Symbian 2nd phase constructor is private.

IsPreferredTelephonyVoIP()

IMPORT_C TBool IsPreferredTelephonyVoIP ( ) const
Check Preferred Telephony key value VoIP
Since
Series60 3.0

IsVoIPSupported()

IMPORT_C TBool IsVoIPSupported ( ) const
Check if Dynamic VoIP setting is on
Since
Series60 3.2

NewL()

IMPORT_C CMsgVoIPExtension * NewL ( ) [static]

Two-phased constructor.

VoIPProfilesExistL()

IMPORT_C TBool VoIPProfilesExistL ( ) const
Check if any VoIP profiles saved in the phone.
Since
Series60 3.0

Member Data Documentation

CSPSettings * iSPSettings

CSPSettings * iSPSettings [private]

A Service provider settings Own.

TBool iVoIPFeatureSupport

TBool iVoIPFeatureSupport [private]

A VOIP support This member has been added to check if VOIP is enabled via FeatureManager , instead of using define __VOIP Own.