class CPsetSAObserver : public CActive |
Class is used to exchange information to/from observer.
Public Member Functions | |
---|---|
~CPsetSAObserver() | |
IMPORT_C TInt | GetCurrentDivertStatus(TUnconditionalCFStatus &) |
IMPORT_C TInt | IsCallActive() |
IMPORT_C TInt | IsGPRSConnected() |
IMPORT_C CPsetSAObserver * | NewL() |
IMPORT_C void | NotifyDivertChange(TSelectedLine, TCallDivertNotifySetting &, const TInt &) |
IMPORT_C void | SetNetObserver(MPsetNetworkInfoObserver &) |
Public Member Enumerations | |
---|---|
enum | TPSetCallStatus { EPSetNoCallsActive = 0, EPSetCallActive } |
enum | TPSetGPRSConnectionStatus { EPSetGPRSNotConnected = 0, EPSetGPRSConnectionActive } |
Inherited Enumerations | |
---|---|
CActive:TPriority |
Private Attributes | |
---|---|
MPsetNetworkInfoObserver * | iNetObserver |
RProperty | iNotifyProperty |
CRepository * | iRepository |
Inherited Attributes | |
---|---|
CActive::iStatus |
void | DoCancel | ( | ) | [private, virtual] |
Implements cancellation of an outstanding request.
This function is called as part of the active object's Cancel().
It must call the appropriate cancel function offered by the active object's asynchronous service provider. The asynchronous service provider's cancel is expected to act immediately.
DoCancel() must not wait for event completion; this is handled by Cancel().
IMPORT_C TInt | GetCurrentDivertStatus | ( | TUnconditionalCFStatus & | aStatus | ) |
Returns whether there are active diverts and on what line.
TUnconditionalCFStatus & aStatus | TCallForwardingStatus info. |
void | HandleDivertActivation | ( | TUnconditionalCFStatus & | aStatus, |
const TInt | aBsc | |||
) | [private] |
Set correct indicator value when diverted to some other number than voicemail (no ALS).
TUnconditionalCFStatus & aStatus | |
const TInt aBsc |
void | HandleDivertDeactivation | ( | TUnconditionalCFStatus & | aStatus, |
const TInt | aBsc | |||
) | [private] |
Set correct indicator value when deactivation done (no ALS).
TUnconditionalCFStatus & aStatus | |
const TInt aBsc |
void | HandleNoAlsIndicators | ( | TCallDivertNotifySetting & | aDivertNotify, |
const TInt & | aActivatorUncertain | |||
) | [private] |
Handles divert indicator cases when ALS if OFF.
TCallDivertNotifySetting & aDivertNotify | |
const TInt & aActivatorUncertain |
void | HandlePrimaryLineDivertActivation | ( | TUnconditionalCFStatus & | aStatus, |
const TInt | aBsc | |||
) | [private] |
Set correct indicator value when Primary line activation done.
TUnconditionalCFStatus & aStatus | |
const TInt aBsc |
void | HandlePrimaryLineDivertDeactivation | ( | TUnconditionalCFStatus & | aStatus, |
const TInt | aBsc | |||
) | [private] |
Set correct indicator value when Primary line deactivation done.
TUnconditionalCFStatus & aStatus | |
const TInt aBsc |
void | HandlePrimaryLineDualDivertActivation | ( | TUnconditionalCFStatus & | aStatus, |
const TInt | aBsc | |||
) | [private] |
Set correct indicator value when Primary line activation done.
TUnconditionalCFStatus & aStatus | |
const TInt aBsc |
void | HandlePrimaryLineDualDivertDeactivation | ( | TUnconditionalCFStatus & | aStatus, |
const TInt | aBsc | |||
) | [private] |
Set correct indicator value when Primary line deactivation done.
TUnconditionalCFStatus & aStatus | |
const TInt aBsc |
void | HandlePrimaryLineIndicators | ( | TCallDivertNotifySetting & | aDivertNotify | ) | [private] |
Handles divert indicator cases when ALS on and ALS line 1 active.
TCallDivertNotifySetting & aDivertNotify |
void | HandleSecondaryLineDivertActivation | ( | TUnconditionalCFStatus & | aStatus, |
const TInt | aBsc | |||
) | [private] |
Set correct indicator value when Secondary line activation done.
TUnconditionalCFStatus & aStatus | |
const TInt aBsc |
void | HandleSecondaryLineDivertDeactivation | ( | TUnconditionalCFStatus & | aStatus, |
const TInt | aBsc | |||
) | [private] |
Set correct indicator value when Secondary line deactivation done.
TUnconditionalCFStatus & aStatus | |
const TInt aBsc |
void | HandleSecondaryLineDualDivertActivation | ( | TUnconditionalCFStatus & | aStatus, |
const TInt | aBsc | |||
) | [private] |
Set correct indicator value when Secondary line activation done.
TUnconditionalCFStatus & aStatus | |
const TInt aBsc |
void | HandleSecondaryLineDualDivertDeactivation | ( | TUnconditionalCFStatus & | aStatus, |
const TInt | aBsc | |||
) | [private] |
Set correct indicator value when Secondary line deactivation done.
TUnconditionalCFStatus & aStatus | |
const TInt aBsc |
void | HandleSecondaryLineIndicators | ( | TCallDivertNotifySetting & | aDivertNotify | ) | [private] |
Handles divert indicator cases when ALS on and ALS line 2 active.
TCallDivertNotifySetting & aDivertNotify |
void | HandleVoiceMailBoxDivertActivation | ( | TUnconditionalCFStatus & | aStatus, |
const TInt | aBsc | |||
) | [private] |
Set correct indicator value when divert activated to voicemail (no ALS).
TUnconditionalCFStatus & aStatus | |
const TInt aBsc |
TBool | IsDivertDualAffectFeatureEnabledL | ( | ) | [private] |
Checks KTelephonyLVFlagDivertDualAffect status.
void | NotifyCallStartedL | ( | ) | [private] |
Starts to listen to call alerting or call ringing events.
IMPORT_C void | NotifyDivertChange | ( | TSelectedLine | aAlsStatus, |
TCallDivertNotifySetting & | aDivertNotify, | |||
const TInt & | aActivatorUncertain | |||
) |
Notifies of Divert changes. If the activator is not sure of the settings, CPsetSAObserver tries to deduce correct state.
TSelectedLine aAlsStatus | Currently used line. |
TCallDivertNotifySetting & aDivertNotify | set of divert params, see TCallDivertNotifySetting above. |
const TInt & aActivatorUncertain | Call divert requester does not know for certain all the values. |
void | RunL | ( | ) | [private, virtual] |
Handles an active object's request completion event.
A derived class must provide an implementation to handle the completed request. If appropriate, it may issue another request.
The function is called by the active scheduler when a request completion event occurs, i.e. after the active scheduler's WaitForAnyRequest() function completes.
Before calling this active object's RunL() function, the active scheduler has:
1. decided that this is the highest priority active object with a completed request
2. marked this active object's request as complete (i.e. the request is no longer outstanding)
RunL() runs under a trap harness in the active scheduler. If it leaves, then the active scheduler calls RunError() to handle the leave.
Note that once the active scheduler's Start() function has been called, all user code is run under one of the program's active object's RunL() or RunError() functions.
CActiveScheduler::Start CActiveScheduler::Error CActiveScheduler::WaitForAnyRequest TRAPD
IMPORT_C void | SetNetObserver | ( | MPsetNetworkInfoObserver & | aObserver | ) |
Sets Network observer object.
MPsetNetworkInfoObserver & aObserver | Reference to network observer. |
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.