CESMRViewerController Class Reference

class CESMRViewerController : public CBase

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

Inherits from

Public Member Functions
~CESMRViewerController ()
IMPORT_C void ExecuteL ()
IMPORT_C CESMRViewerController * NewL (const TDesC8 &, RPointerArray < CCalEntry > &, const MAgnEntryUi::TAgnEntryUiInParams &, MAgnEntryUi::TAgnEntryUiOutParams &, MAgnEntryUiCallback &)
Protected Member Functions
MESMRCalEntry * EntryL ()
void HandleCalEngStatus (TMRUtilsCalEngStatus)
void HandleOperation ( TInt , TInt , TInt )
TBool IsCommandAvailable ( TInt )
MMRPolicyProvider & PolicyProvider ()
void ProcessCommandL ( TInt )
TInt ProcessCommandWithResultL ( TInt )
Private Member Functions
CESMRViewerController ( RPointerArray < CCalEntry > &, const MAgnEntryUi::TAgnEntryUiInParams &, MAgnEntryUi::TAgnEntryUiOutParams &, MAgnEntryUiCallback &)
void CancelAndDeleteMRInEntryTypeChangeL ( CCalEntry &, MESMRCalDbMgr &)
void ChangeEntryTypeL ( TInt )
void ConstructL (const TDesC8 &)
void LaunchCorrectOperationModeL ()
void LaunchUIL ()
TInt ProcessCommandWithResultInternalL ( TInt )
TInt ProcessDefaultCommandL ( TInt )
TInt ProcessMeetingRequestCommandL ( TInt )
void UpdateComparativeEntryInTypeChangeL (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::TAgnEntryUiInParams iInParams
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 &)

void CancelAndDeleteMRInEntryTypeChangeL ( CCalEntry & entry,
MESMRCalDbMgr & aDbMgr
) [private]

Parameters

CCalEntry & entry
MESMRCalDbMgr & aDbMgr

ChangeEntryTypeL(TInt)

void ChangeEntryTypeL ( TInt aCommandId ) [private]

Parameters

TInt aCommandId

ConstructL(const TDesC8 &)

void ConstructL ( const TDesC8 & aMtmuid ) [private]

Parameters

const TDesC8 & aMtmuid

EntryL()

MESMRCalEntry * EntryL ( ) [protected]

ExecuteL()

IMPORT_C void ExecuteL ( )

HandleCalEngStatus(TMRUtilsCalEngStatus)

void HandleCalEngStatus ( TMRUtilsCalEngStatus aStatus ) [protected]

Parameters

TMRUtilsCalEngStatus aStatus

HandleOperation(TInt, TInt, TInt)

void HandleOperation ( TInt aType,
TInt aPercentageCompleted,
TInt aStatus
) [protected]

Parameters

TInt aType
TInt aPercentageCompleted
TInt aStatus

IsCommandAvailable(TInt)

TBool IsCommandAvailable ( TInt aCommandId ) [protected]

Parameters

TInt aCommandId

LaunchCorrectOperationModeL()

void LaunchCorrectOperationModeL ( ) [private]

LaunchUIL()

void LaunchUIL ( ) [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.

PolicyProvider()

MMRPolicyProvider & PolicyProvider ( ) const [protected]

ProcessCommandL(TInt)

void ProcessCommandL ( TInt aCommandId ) [protected]

Parameters

TInt aCommandId

ProcessCommandWithResultInternalL(TInt)

TInt ProcessCommandWithResultInternalL ( TInt aCommandId ) [private]

Parameters

TInt aCommandId

ProcessCommandWithResultL(TInt)

TInt ProcessCommandWithResultL ( TInt aCommandId ) [protected]

Parameters

TInt aCommandId

ProcessDefaultCommandL(TInt)

TInt ProcessDefaultCommandL ( TInt aCommandId ) [private]

Parameters

TInt aCommandId

ProcessMeetingRequestCommandL(TInt)

TInt ProcessMeetingRequestCommandL ( TInt aCommandId ) [private]

Parameters

TInt aCommandId

UpdateComparativeEntryInTypeChangeL(const CCalEntry &)

void UpdateComparativeEntryInTypeChangeL ( 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::TAgnEntryUiInParams iInParams [private]

MAgnEntryUi::TAgnEntryUiOutParams & iOutParams

MAgnEntryUi::TAgnEntryUiOutParams & iOutParams [private]

CESMRPolicyManager * iPolicyMgr

CESMRPolicyManager * iPolicyMgr [private]

MESMRTaskExtension * iTaskExt

MESMRTaskExtension * iTaskExt [private]