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)

voidHandleCFRequestingL(TBoolaTrue,
TBoolaInterrupted = EFalse
)

From MPsetDivertObserver, handles requesting notes.

Parameters

TBool aTrueIf ETrue, there is an active request
TBool aInterrupted = EFalseIf ETrue, means that notemaster should be immediately deleted

HandleDivertingChangedL(const TCallDivertSetting &, TBool)

voidHandleDivertingChangedL(const TCallDivertSetting &aSetting,
TBoolaPlural
)

From MPsetDivertObserver, handles diverting changed.

Parameters

const TCallDivertSetting & aSettingCall forwarding settings
TBool aPluralIndicates that operation affected several basic service groups

HandleDivertingErrorL(TInt)

voidHandleDivertingErrorL(TIntaReason)

From MPsetDivertObserver, handles diverting error.

Parameters

TInt aReasonReason for error

HandleDivertingStatusL(CMobilePhoneCFList &, TBool)

voidHandleDivertingStatusL(CMobilePhoneCFList &aSetting,
TBoolaPlural
)

From MPsetDivertObserver, handles diverting status.

Parameters

CMobilePhoneCFList & aSettingCall 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 & aContainerReference to container

SetContainer(CPsuiContainer &)

voidSetContainer(CPsuiContainer &aContainer)[private]

Parameters

CPsuiContainer & aContainer

SetEngineContact(MPsetCallDiverting *)

voidSetEngineContact(MPsetCallDiverting *aDivertEngine)

From MPsetDivertObserver, defines reference to requesting object.

Parameters

MPsetCallDiverting * aDivertEngineReference to the Phone Settings

Member Data Documentation

CPsuiContainer * iContainer

CPsuiContainer *iContainer[private]