#include <ext/mw/wsaccmgruipluginbase.h>
Link against: wsaccountmanager.lib
class CWSAccMgrUiPluginBase : public CActive, public MWSAccMgrUiPlugin, public MWSAccMgrMepPlugin |
Public Member Functions | |
---|---|
CWSAccMgrUiPluginBase() | |
~CWSAccMgrUiPluginBase() | |
virtual IMPORT_C TInt | InvokeCustomUIAccountCreateL(TRequestStatus &, CWSAccount &, MWSAccMgrUiPlugin::TUICommand, CWSAccountManager::TCreateStartupView) |
virtual IMPORT_C TInt | InvokeCustomUIAccountDetailsL(TRequestStatus &, CWSAccount &, MWSAccMgrUiPlugin::TUICommand, CWSAccountManager::TEditorMode) |
virtual IMPORT_C TInt | InvokeCustomUIAccountSignInL(TRequestStatus &, CWSAccount &, MWSAccMgrUiPlugin::TUICommand) |
Inherited Attributes | |
---|---|
CActive::iStatus |
Inherited Enumerations | |
---|---|
CActive:TPriority | |
MWSAccMgrUiPlugin:TMEPNeeded | |
MWSAccMgrUiPlugin:TUICommand |
Base for plugins, includes default UI implmentation driven by XML. It means UI views are generated from xml metaData. Not supported yet.
IMPORT_C | CWSAccMgrUiPluginBase | ( | ) |
IMPORT_C | ~CWSAccMgrUiPluginBase | ( | ) |
IMPORT_C TInt | InvokeCustomUIAccountCreateL | ( | TRequestStatus & | aStatus, |
CWSAccount & | aAccount, | |||
MWSAccMgrUiPlugin::TUICommand | aCommand, | |||
CWSAccountManager::TCreateStartupView | aView = CWSAccountManager::EMain | |||
) | [virtual] |
Reimplemented from MWSAccMgrUiPlugin::InvokeCustomUIAccountCreateL(TRequestStatus &,CWSAccount &,TUICommand,CWSAccountManager::TCreateStartupView)
Invoke UI layer to perform SignUp process, account creation wizard. Account manager asks UI plugin to show views & gather all information about account in order to store it within aAccount
Out values ========================================================================= |key | description | ========================================================================= |aAccount.UserId() | Account name (user id) | ------------------------------------------------------------------------- |KWSAccAttrAccountCaptcha | Holds already human text of CAPTCHA| ------------------------------------------------------------------------- |KWSAccAttrAccountMobile | Account's owner mobile phone number| ------------------------------------------------------------------------- |aAccount.Password() | Account password | ------------------------------------------------------------------------- |KWSAccAttrAccountSecretQuest | Id of security question | ------------------------------------------------------------------------- |KWSAccAttrAccountSecretAnswer | Answer for security question | -------------------------------------------------------------------------
Parameters | |
---|---|
aStatus | Used by plugin to indicate completion of the send request. Value of completion is equal to: -negative cases: symbian error code -positive cases: TMEPNeeded |
aAccount | in/out parameter. Holds information about processed account & user input In values ========================================================================= |key | description | ========================================================================= |AvailableUsernames | Keeps list of free Account-names, | | | If SignUp fails | ------------------------------------------------------------------------- |KWSAccAttrAccountCaptcha | Holds CAPTCHA, usually as Base64 | ------------------------------------------------------------------------- |aAccount.SecurityQuestions() | Array of secret questions | ------------------------------------------------------------------------- |
aCommand | control flow, determines/suggests UI how to behave |
aView | init view when EStart aCommand is passed |
IMPORT_C TInt | InvokeCustomUIAccountDetailsL | ( | TRequestStatus & | aStatus, |
CWSAccount & | aAccount, | |||
MWSAccMgrUiPlugin::TUICommand | aCommand, | |||
CWSAccountManager::TEditorMode | aMode = CWSAccountManager::EReadOnly | |||
) | [virtual] |
Reimplemented from MWSAccMgrUiPlugin::InvokeCustomUIAccountDetailsL(TRequestStatus &,CWSAccount &,TUICommand,CWSAccountManager::TEditorMode)
Invoke UI layer to show account details.
Parameters | |
---|---|
aStatus | Used by plugin to indicate completion of the send request. Value of completion is equal to: -negative cases: symbian error code -positive cases: TMEPNeeded |
aAccount | in parameter. Holds information about account. |
aCommand | control flow, determine/suggest UI how to behave |
IMPORT_C TInt | InvokeCustomUIAccountSignInL | ( | TRequestStatus & | aStatus, |
CWSAccount & | aAccount, | |||
MWSAccMgrUiPlugin::TUICommand | aCommand | |||
) | [virtual] |
Reimplemented from MWSAccMgrUiPlugin::InvokeCustomUIAccountSignInL(TRequestStatus &,CWSAccount &,TUICommand)