class CPsetCallBarring : public CActive |
Public Member Functions | |
---|---|
~CPsetCallBarring () | |
IMPORT_C TInt | CancelCurrentRequest () |
IMPORT_C void | ChangePasswordL ( RMobilePhone::TMobilePhonePasswordChangeV2 &, TBool ) |
IMPORT_C void | ChangePasswordL ( RMobilePhone::TMobilePhonePasswordChangeV2 &) |
IMPORT_C void | GetBarringStatusL (const TServiceGroup , const TBarringProgram ) |
CPsetCallBarring * | NewL ( MPsetBarringObserver &, RMobilePhone &) |
void | PhoneSettingChanged ( TSSSettingsSetting , TInt ) |
IMPORT_C void | SetBarringL (const TCallBarringSetting &, TBasicServiceGroups ) |
IMPORT_C void | SetRequestObserver ( MPsetRequestObserver *) |
Private Member Functions | |
---|---|
CPsetCallBarring ( RMobilePhone &) | |
void | CleanupLeavePushL () |
void | ClearParams () |
void | ConstructL ( MPsetBarringObserver &) |
void | DoCancel () |
void | DoHandleLeave ( TAny *) |
TBool | GetPlurality () |
void | HandleInquiryResultL () |
void | HandleLeave () |
void | RequestCompleted (const TInt &) |
void | RunL () |
RMobilePhone::TMobilePhoneServiceAction | SetBarringAction (const TBarringSetting &) |
RMobilePhone::TMobilePhoneCBCondition | SetBarringProgram ( TBarringProgram ) |
void | SetObserver ( MPsetBarringObserver &) |
void | SetRequestStatus ( TPSetBarringRequest ) |
void | StartRequestingL (const TInt &) |
void | ValidateBsc ( TBasicServiceGroups &) |
Public Member Enumerations | |
---|---|
enum | TPSetBarringRequest { EPSetRequestNone , EPSetRequestChangeBarring , EPSetRequestGetStatus , EPSetRequestChangeBarringPwd , EPSetRequestChangeCommonPwd } |
Inherited Enumerations | |
---|---|
CActive:TPriority |
Inherited Attributes | |
---|---|
CActive::iStatus |
CPsetCallBarring | ( | RMobilePhone & | aPhone | ) | [private] |
RMobilePhone & aPhone |
IMPORT_C void | ChangePasswordL | ( | RMobilePhone::TMobilePhonePasswordChangeV2 & | aPwds, |
TBool | aIsBarringPassword | |||
) |
DEPRECATED - calls the method below.
RMobilePhone::TMobilePhonePasswordChangeV2 & aPwds | |
TBool aIsBarringPassword |
IMPORT_C void | ChangePasswordL | ( | RMobilePhone::TMobilePhonePasswordChangeV2 & | aPwds | ) |
RMobilePhone::TMobilePhonePasswordChangeV2 & aPwds | Passwords (old, new, verified new) needed for the operation. |
void | ConstructL | ( | MPsetBarringObserver & | aObserver | ) | [private] |
MPsetBarringObserver & aObserver |
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 void | GetBarringStatusL | ( | const TServiceGroup | aGroup, |
const TBarringProgram | aMode | |||
) |
const TServiceGroup aGroup | |
const TBarringProgram aMode |
CPsetCallBarring * | NewL | ( | MPsetBarringObserver & | aObserver, |
RMobilePhone & | aPhone | |||
) | [static] |
Symbian OS 2-phase Constructor.
MPsetBarringObserver & aObserver | Observer for call barring. |
RMobilePhone & aPhone | Provides client access to mobile phone functionality provided by TSY. |
void | PhoneSettingChanged | ( | TSSSettingsSetting | aSetting, |
TInt | aNewValue | |||
) |
TSSSettingsSetting aSetting | |
TInt aNewValue |
void | RequestCompleted | ( | const TInt & | aError | ) | [private] |
const TInt & aError |
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
RMobilePhone::TMobilePhoneServiceAction | SetBarringAction | ( | const TBarringSetting & | aSetting | ) | [private] |
const TBarringSetting & aSetting |
IMPORT_C void | SetBarringL | ( | const TCallBarringSetting & | aBarring, |
TBasicServiceGroups | aBsc | |||
) |
const TCallBarringSetting & aBarring | |
TBasicServiceGroups aBsc |
RMobilePhone::TMobilePhoneCBCondition | SetBarringProgram | ( | TBarringProgram | aMode | ) | [private] |
TBarringProgram aMode |
void | SetObserver | ( | MPsetBarringObserver & | aObserver | ) | [private] |
MPsetBarringObserver & aObserver |
IMPORT_C void | SetRequestObserver | ( | MPsetRequestObserver * | aObs | ) |
Sets request observer.
MPsetRequestObserver * aObs | Where the request completion should be informed to. |
void | SetRequestStatus | ( | TPSetBarringRequest | aStatus | ) | [private] |
TPSetBarringRequest aStatus |
void | StartRequestingL | ( | const TInt & | aRequest | ) | [private] |
const TInt & aRequest |
void | ValidateBsc | ( | TBasicServiceGroups & | aBsc | ) | [private] |
TBasicServiceGroups & aBsc |
EPSetRequestNone | |
EPSetRequestChangeBarring | |
EPSetRequestGetStatus | |
EPSetRequestChangeBarringPwd | |
EPSetRequestChangeCommonPwd |
RMobilePhone::TMobilePhoneCBChangeV1 | iBarringParameters | [private] |
CRetrieveMobilePhoneCBList * | iCbStatusInterrogator | [private] |
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.