CPsuiDivertObs Class Reference

class CPsuiDivertObs : public CBase
CPsuiDivertObs class implements the MPsetDivertObserver observer. psui.lib
Since
1.0

Inherits from

Member Functions Documentation

HandleCFRequestingL(TBool, TBool)

void HandleCFRequestingL ( TBool aTrue,
TBool aInterrupted = EFalse
)

From MPsetDivertObserver , handles requesting notes.

Parameters

TBool aTrue If ETrue, there is an active request
TBool aInterrupted = EFalse If ETrue, means that notemaster should be immediately deleted

HandleDivertingChangedL(const TCallDivertSetting &, TBool)

void HandleDivertingChangedL ( const TCallDivertSetting & aSetting,
TBool aPlural
)

From MPsetDivertObserver , handles diverting changed.

Parameters

const TCallDivertSetting & aSetting Call forwarding settings
TBool aPlural Indicates that operation affected several basic service groups

HandleDivertingErrorL(TInt)

void HandleDivertingErrorL ( TInt aReason )

From MPsetDivertObserver , handles diverting error.

Parameters

TInt aReason Reason for error

HandleDivertingStatusL(CMobilePhoneCFList &, TBool)

void HandleDivertingStatusL ( CMobilePhoneCFList & aSetting,
TBool aPlural
)

From MPsetDivertObserver , handles diverting status.

Parameters

CMobilePhoneCFList & aSetting Call forwarding settings
TBool aPlural - DEPRECATED

NewL(CPsuiContainer &)

IMPORT_C CPsuiDivertObs * NewL ( CPsuiContainer & aContainer ) [static]

Symbian OS two-phased 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();  
         }
     }
        

Parameters

CPsuiContainer & aContainer Reference to container

SetContainer(CPsuiContainer &)

void SetContainer ( CPsuiContainer & aContainer ) [private]

Parameters

CPsuiContainer & aContainer

SetEngineContact(MPsetCallDiverting *)

void SetEngineContact ( MPsetCallDiverting * aDivertEngine )

From MPsetDivertObserver , defines reference to requesting object.

Parameters

MPsetCallDiverting * aDivertEngine Reference to the Phone Settings

Member Data Documentation

CPsuiContainer * iContainer

CPsuiContainer * iContainer [private]