CESMRViewerController Class Reference

class CESMRViewerController : public CBase

ESMRVIEWER controller is responsible for control logic and UI view creation and execution.

Inherits from

  • CESMRViewerController
Public Member Functions
~CESMRViewerController()
IMPORT_C voidExecuteL()
IMPORT_C CESMRViewerController *NewL(const TDesC8 &, RPointerArray< CCalEntry > &, const MAgnEntryUi::TAgnEntryUiInParams &, MAgnEntryUi::TAgnEntryUiOutParams &, MAgnEntryUiCallback &)
Protected Member Functions
MESMRCalEntry *EntryL()
voidHandleCalEngStatus(TMRUtilsCalEngStatus)
voidHandleOperation(TInt, TInt, TInt)
TBool IsCommandAvailable(TInt)
MMRPolicyProvider &PolicyProvider()
voidProcessCommandL(TInt)
TInt ProcessCommandWithResultL(TInt)
Private Member Functions
CESMRViewerController(RPointerArray< CCalEntry > &, const MAgnEntryUi::TAgnEntryUiInParams &, MAgnEntryUi::TAgnEntryUiOutParams &, MAgnEntryUiCallback &)
voidCancelAndDeleteMRInEntryTypeChangeL(CCalEntry &, MESMRCalDbMgr &)
voidChangeEntryTypeL(TInt)
voidConstructL(const TDesC8 &)
voidLaunchCorrectOperationModeL()
voidLaunchUIL()
TInt ProcessCommandWithResultInternalL(TInt)
TInt ProcessDefaultCommandL(TInt)
TInt ProcessMeetingRequestCommandL(TInt)
voidUpdateComparativeEntryInTypeChangeL(const CCalEntry &)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
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()
Private Attributes
CCalEntry *iCalEntry
MAgnEntryUiCallback &iCallback
CActiveSchedulerWait *iCtrlSyncher
CESMRUtils *iESMRUtils
RPointerArray< CCalEntry > &iEntries
CMREntryProcessor *iEntryProcessor
TInt iExecutionError
CESMRUiFactory *iGuiFactory
const MAgnEntryUi::TAgnEntryUiInParamsiInParams
MAgnEntryUi::TAgnEntryUiOutParams &iOutParams
CESMRPolicyManager *iPolicyMgr
MESMRTaskExtension *iTaskExt

Constructor & Destructor Documentation

CESMRViewerController(RPointerArray< CCalEntry > &, const MAgnEntryUi::TAgnEntryUiInParams &, MAgnEntryUi::TAgnEntryUiOutParams &, MAgnEntryUiCallback &)

CESMRViewerController(RPointerArray< CCalEntry > &aEntries,
const MAgnEntryUi::TAgnEntryUiInParams &aParams,
MAgnEntryUi::TAgnEntryUiOutParams &aOutParams,
MAgnEntryUiCallback &aCallback
)[private]

~CESMRViewerController()

IMPORT_C~CESMRViewerController()

Destructor.

Member Functions Documentation

CancelAndDeleteMRInEntryTypeChangeL(CCalEntry &, MESMRCalDbMgr &)

voidCancelAndDeleteMRInEntryTypeChangeL(CCalEntry &entry,
MESMRCalDbMgr &aDbMgr
)[private]

Parameters

CCalEntry & entry
MESMRCalDbMgr & aDbMgr

ChangeEntryTypeL(TInt)

voidChangeEntryTypeL(TIntaCommandId)[private]

Parameters

TInt aCommandId

ConstructL(const TDesC8 &)

voidConstructL(const TDesC8 &aMtmuid)[private]

Parameters

const TDesC8 & aMtmuid

EntryL()

MESMRCalEntry *EntryL()[protected]

ExecuteL()

IMPORT_C voidExecuteL()

HandleCalEngStatus(TMRUtilsCalEngStatus)

voidHandleCalEngStatus(TMRUtilsCalEngStatusaStatus)[protected]

Parameters

TMRUtilsCalEngStatus aStatus

HandleOperation(TInt, TInt, TInt)

voidHandleOperation(TIntaType,
TIntaPercentageCompleted,
TIntaStatus
)[protected]

Parameters

TInt aType
TInt aPercentageCompleted
TInt aStatus

IsCommandAvailable(TInt)

TBool IsCommandAvailable(TIntaCommandId)[protected]

Parameters

TInt aCommandId

LaunchCorrectOperationModeL()

voidLaunchCorrectOperationModeL()[private]

LaunchUIL()

voidLaunchUIL()[private]

NewL(const TDesC8 &, RPointerArray< CCalEntry > &, const MAgnEntryUi::TAgnEntryUiInParams &, MAgnEntryUi::TAgnEntryUiOutParams &, MAgnEntryUiCallback &)

IMPORT_C CESMRViewerController *NewL(const TDesC8 &aMtmuid,
RPointerArray< CCalEntry > &aEntries,
const MAgnEntryUi::TAgnEntryUiInParams &aParams,
MAgnEntryUi::TAgnEntryUiOutParams &aOutParams,
MAgnEntryUiCallback &aCallback
)[static]

Two-phased constructor.

Parameters

const TDesC8 & aMtmuid
RPointerArray< CCalEntry > & aEntries
const MAgnEntryUi::TAgnEntryUiInParams & aParams
MAgnEntryUi::TAgnEntryUiOutParams & aOutParams
MAgnEntryUiCallback & aCallback

PolicyProvider()

MMRPolicyProvider &PolicyProvider()const [protected]

ProcessCommandL(TInt)

voidProcessCommandL(TIntaCommandId)[protected]

Parameters

TInt aCommandId

ProcessCommandWithResultInternalL(TInt)

TInt ProcessCommandWithResultInternalL(TIntaCommandId)[private]

Parameters

TInt aCommandId

ProcessCommandWithResultL(TInt)

TInt ProcessCommandWithResultL(TIntaCommandId)[protected]

Parameters

TInt aCommandId

ProcessDefaultCommandL(TInt)

TInt ProcessDefaultCommandL(TIntaCommandId)[private]

Parameters

TInt aCommandId

ProcessMeetingRequestCommandL(TInt)

TInt ProcessMeetingRequestCommandL(TIntaCommandId)[private]

Parameters

TInt aCommandId

UpdateComparativeEntryInTypeChangeL(const CCalEntry &)

voidUpdateComparativeEntryInTypeChangeL(const CCalEntry &aOriginalEntry)[private]

Parameters

const CCalEntry & aOriginalEntry

Member Data Documentation

CCalEntry * iCalEntry

CCalEntry *iCalEntry[private]

MAgnEntryUiCallback & iCallback

MAgnEntryUiCallback &iCallback[private]

CActiveSchedulerWait * iCtrlSyncher

CActiveSchedulerWait *iCtrlSyncher[private]

CESMRUtils * iESMRUtils

CESMRUtils *iESMRUtils[private]

RPointerArray< CCalEntry > & iEntries

RPointerArray< CCalEntry > &iEntries[private]

CMREntryProcessor * iEntryProcessor

CMREntryProcessor *iEntryProcessor[private]

TInt iExecutionError

TInt iExecutionError[private]

CESMRUiFactory * iGuiFactory

CESMRUiFactory *iGuiFactory[private]

const MAgnEntryUi::TAgnEntryUiInParams iInParams

const MAgnEntryUi::TAgnEntryUiInParamsiInParams[private]

MAgnEntryUi::TAgnEntryUiOutParams & iOutParams

MAgnEntryUi::TAgnEntryUiOutParams &iOutParams[private]

CESMRPolicyManager * iPolicyMgr

CESMRPolicyManager *iPolicyMgr[private]

MESMRTaskExtension * iTaskExt

MESMRTaskExtension *iTaskExt[private]