class CRfsHandler : public CBase |
This class provides a method to activate the rfs process including all UI. (notes etc.)
Public Member Functions | |
---|---|
CRfsHandler() | |
~CRfsHandler() | |
IMPORT_C void | ActivateRfsL(TRfsType, TBool) |
IMPORT_C void | Cancel() |
Private Member Functions | |
---|---|
TBool | AskConfirmationL(const TBool &, TRfsType) |
TBool | CheckConnectionsL() |
void | DoCleanup(TAny *) |
TBool | IsGprs() |
void | LoadResourceL() |
void | SetDefaultLanguage() |
Private Attributes | |
---|---|
TBool | iAlwaysOnlineConnectionClosed |
TBool * | iDestroyedPtr |
CEikonEnv * | iEnv |
TInt | iFlags |
RMobilePhone | iPhone |
CAknQueryDialog * | iQuery |
TInt | iResourceFileOffset |
CRfsSecurityHandler * | iSecHandler |
CSecurityHandler * | iSecurityHandler |
RTelServer | iTelServer |
IMPORT_C void | ActivateRfsL | ( | TRfsType | aMode, |
TBool | aAskSecurityCodeFirst = EFalse | |||
) |
Activates the RFS process. Returns when the user either canceled RFS or confirmed it, in which case the phone will be rebooted.
While the queries are on the screen, the active scheduler is running, allowing the operation to be canceled.
In RFS process:
Security code is asked and confirmation query is shown (order depending on the parameter aAskSecurityCodeFirst). If the correct security code is entered and the confirmation query approved, the phone is rebooted with RFS reason.
Method leaves if the initialisations can't be done (problems in ETel connection or memory allocations)
TBool | AskConfirmationL | ( | const TBool & | aThisDestroyed, |
TRfsType | aType | |||
) | [private] |
Shows the RFS confirmation query.
IMPORT_C void | Cancel | ( | ) |
Cancels the RFS process. Deletes the RFS notes/queries from the screen.
This can be called from an active object's RunL() while ActivateRfsL() is being executed.
Multiple cancel calls have no effect.
TBool | CheckConnectionsL | ( | ) | [private] |
Checks for calls or data sessions and warns if active
void | DoCleanup | ( | TAny * | aAny | ) | [private, static] |
Cleans up the mess, by calling Cancel().
TAny * aAny |
void | SetDefaultLanguage | ( | ) | const [private] |
Sets the default language code in HAL. This must be done before rebooting the phone for deep level RFS.
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.