CWSAccMgrUiPluginBase Class Reference

#include <ext/mw/wsaccmgruipluginbase.h>

Link against: wsaccountmanager.lib

class CWSAccMgrUiPluginBase : public CActive, public MWSAccMgrUiPlugin, public MWSAccMgrMepPlugin

Inherits from

Public Member Functions
CWSAccMgrUiPluginBase()
~CWSAccMgrUiPluginBase()
virtual IMPORT_C TIntInvokeCustomUIAccountCreateL(TRequestStatus &, CWSAccount &, MWSAccMgrUiPlugin::TUICommand, CWSAccountManager::TCreateStartupView)
virtual IMPORT_C TIntInvokeCustomUIAccountDetailsL(TRequestStatus &, CWSAccount &, MWSAccMgrUiPlugin::TUICommand, CWSAccountManager::TEditorMode)
virtual IMPORT_C TIntInvokeCustomUIAccountSignInL(TRequestStatus &, CWSAccount &, MWSAccMgrUiPlugin::TUICommand)
Inherited Attributes
CActive::iStatus
Inherited Enumerations
CActive:TPriority
MWSAccMgrUiPlugin:TMEPNeeded
MWSAccMgrUiPlugin:TUICommand
Inherited Functions
CActive::CActive(TInt)
CActive::Cancel()
CActive::Deque()
CActive::Extension_(TUint,TAny *&,TAny *)
CActive::IsActive()const
CActive::IsAdded()const
CActive::Priority()const
CActive::SetActive()
CActive::SetPriority(TInt)
CActive::~CActive()
CBase::CBase()
CBase::Delete(CBase *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
MWSAccMgrMepPlugin::AutoDetectUserL(TRequestStatus &,CWSAccount &)
MWSAccMgrMepPlugin::CancelMepAsync()
MWSAccMgrMepPlugin::ChangePasswordL(TRequestStatus &,CWSAccount &)
MWSAccMgrMepPlugin::CheckUsernameAvailabilityL(TRequestStatus &,CWSAccount &)
MWSAccMgrMepPlugin::CloseConnection()
MWSAccMgrMepPlugin::CreateCaptchaL(TRequestStatus &,CWSAccount &)
MWSAccMgrMepPlugin::DeleteTokenL(TRequestStatus &,CWSAccount &,CWSToken &)
MWSAccMgrMepPlugin::FullAccountProfileL(TRequestStatus &,CWSAccount &)
MWSAccMgrMepPlugin::GetSmcSubscriptionStatusL(TRequestStatus &,CWSAccount &)
MWSAccMgrMepPlugin::Init(const CSenTransportProperties &)
MWSAccMgrMepPlugin::MarketingConsentRequestL(TRequestStatus &,CWSAccount &,TBool)
MWSAccMgrMepPlugin::OviEmailConfigRequestL(TRequestStatus &,CWSAccount &)
MWSAccMgrMepPlugin::ResetPasswordL(TRequestStatus &,CWSAccount &)
MWSAccMgrMepPlugin::RetrieveContactMethodsL(TRequestStatus &,CWSAccount &)
MWSAccMgrMepPlugin::RetrievePasswordQuestionL(TRequestStatus &,CWSAccount &)
MWSAccMgrMepPlugin::RetrieveSecurityQuestionsL(TRequestStatus &,CWSAccount &)
MWSAccMgrMepPlugin::RetrieveTOSL(TRequestStatus &)
MWSAccMgrMepPlugin::RetrieveYahooTermsLinksL(TRequestStatus &)
MWSAccMgrMepPlugin::SignUpAccountL(TRequestStatus &,CWSAccount &)
MWSAccMgrMepPlugin::SmcQueryVariantRequestL(TRequestStatus &,CWSAccount &)
MWSAccMgrMepPlugin::StartFetchClockServerTimeL(TRequestStatus &)
MWSAccMgrMepPlugin::StartFetchNokiaPrivacyPolicyContentL(TRequestStatus &,CWSAccount &)
MWSAccMgrMepPlugin::StartFetchNokiaTermsAcceptanceInformationL(TRequestStatus &,CWSAccount &)
MWSAccMgrMepPlugin::StartFetchNokiaToSContentL(TRequestStatus &,CWSAccount &)
MWSAccMgrMepPlugin::StartFetchYahooPrivacyPolicyContentL(TRequestStatus &,CWSAccount &)
MWSAccMgrMepPlugin::StartFetchYahooToSContentL(TRequestStatus &,CWSAccount &)
MWSAccMgrMepPlugin::StartUpdateTermsAcceptanceInformationL(TRequestStatus &,CWSAccount &)
MWSAccMgrMepPlugin::UpdateAccountProfileL(TRequestStatus &,CWSAccount &)
MWSAccMgrMepPlugin::UpdateDeviceInfoL(TRequestStatus &,CWSAccount &)
MWSAccMgrUiPlugin::CancelUIAsync()

Detailed Description

Base for plugins, includes default UI implmentation driven by XML. It means UI views are generated from xml metaData. Not supported yet.

Constructor & Destructor Documentation

CWSAccMgrUiPluginBase ( )

IMPORT_CCWSAccMgrUiPluginBase()

~CWSAccMgrUiPluginBase ( )

IMPORT_C~CWSAccMgrUiPluginBase()

Member Function Documentation

InvokeCustomUIAccountCreateL ( TRequestStatus &, CWSAccount &, MWSAccMgrUiPlugin::TUICommand, CWSAccountManager::TCreateStartupView )

IMPORT_C TIntInvokeCustomUIAccountCreateL(TRequestStatus &aStatus,
CWSAccount &aAccount,
MWSAccMgrUiPlugin::TUICommandaCommand,
CWSAccountManager::TCreateStartupViewaView = CWSAccountManager::EMain
)[virtual]

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
aStatusUsed by plugin to indicate completion of the send request. Value of completion is equal to: -negative cases: symbian error code -positive cases: TMEPNeeded
aAccountin/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 | -------------------------------------------------------------------------
aCommandcontrol flow, determines/suggests UI how to behave
aViewinit view when EStart aCommand is passed
Return Value
KErrNone or other system-wide Symbian error codes.

InvokeCustomUIAccountDetailsL ( TRequestStatus &, CWSAccount &, MWSAccMgrUiPlugin::TUICommand, CWSAccountManager::TEditorMode )

IMPORT_C TIntInvokeCustomUIAccountDetailsL(TRequestStatus &aStatus,
CWSAccount &aAccount,
MWSAccMgrUiPlugin::TUICommandaCommand,
CWSAccountManager::TEditorModeaMode = CWSAccountManager::EReadOnly
)[virtual]

Invoke UI layer to show account details.

Parameters
aStatusUsed by plugin to indicate completion of the send request. Value of completion is equal to: -negative cases: symbian error code -positive cases: TMEPNeeded
aAccountin parameter. Holds information about account.
aCommandcontrol flow, determine/suggest UI how to behave
Return Value
KErrNone or other system-wide Symbian error codes.

InvokeCustomUIAccountSignInL ( TRequestStatus &, CWSAccount &, MWSAccMgrUiPlugin::TUICommand )

IMPORT_C TIntInvokeCustomUIAccountSignInL(TRequestStatus &aStatus,
CWSAccount &aAccount,
MWSAccMgrUiPlugin::TUICommandaCommand
)[virtual]