CMRUtils Class Reference

class CMRUtils : public CBase

ECom Interface for executing Meeting Request Utils. It is required that the client waits until it is notified that the engine is available before calling utility methods.

Inherits from

Constructor & Destructor Documentation

~CMRUtils()

~CMRUtils()[inline, virtual]

Destructor.

Member Functions Documentation

DeleteWithUiL(const CCalEntry &, TMsvId)

TInt DeleteWithUiL(const CCalEntry &aEntry,
TMsvIdaMailbox
)[pure virtual]

Deletes given aEntries from the database and possibly allows user to cancel meeting or decline participation, depending on participation type. This method will leave with KErrNotSupported if caller doesn't have CEikonEnv available.

Parameters

const CCalEntry & aEntryentry to be deleted
TMsvId aMailboxmailbox to use for possible cancel/response

DeleteWithUiL(CCalInstance *, TMsvId)

TInt DeleteWithUiL(CCalInstance *aInstance,
TMsvIdaMailbox
)[pure virtual]

Deletes given instance from the database and possibly allows user to cancel meeting or decline participation, depending on participation type. This method takes ownership of aInstance. This method will leave with KErrNotSupported if caller doesn't have CEikonEnv available.

Parameters

CCalInstance * aInstanceinstance to be deleted, ownership transferred
TMsvId aMailboxmailbox to use for possible cancel/response

ExtensionL(TUid)

TAny *ExtensionL(TUidaExtensionUid)[pure virtual]

Allows extending this API without breaking BC.

Parameters

TUid aExtensionUidspecifies

NewL(const TDesC8 &, MMRUtilsObserver &, CCalSession &, CMsvSession *)

CMRUtils *NewL(const TDesC8 &aMtmUid,
MMRUtilsObserver &aObserver,
CCalSession &aCalSession,
CMsvSession *aMsvSession
)[static, inline]

Constructs an ECom plug-in. Use descriptor representing the MTM UID to resolve proper plug-in. The default plug-in is constructed with KMRUtilsDefaultImpl. Client may give NULL pointer for aMsvSession if it is not available.

Parameters

const TDesC8 & aMtmUidMTM UID name with enclosing square brackets "[...]"
MMRUtilsObserver & aObservermandatory utils feedback observer
CCalSession & aCalSessioncalendar session reference
CMsvSession * aMsvSession

SendWithUiL(const CCalEntry &, TMsvId)

voidSendWithUiL(const CCalEntry &aEntry,
TMsvIdaMailbox
)[pure virtual]

Sends the given entry. Recipients are determined based on the method type (request, response etc.). This method will leave with KErrNotSupported if caller doesn't have CEikonEnv available.

Parameters

const CCalEntry & aEntryentry to be sent
TMsvId aMailboxmailbox to use for sending

SessionSetupL(CCalSession &, CMsvSession *)

voidSessionSetupL(CCalSession &aCalSession,
CMsvSession *aMsvSession
)[protected, pure virtual]

Internal template method called immediatelly after instantiation of the ECom plug-in.

Parameters

CCalSession & aCalSessioncalendar session reference
CMsvSession * aMsvSession

Member Enumerations Documentation

Enum TOpCode

Codes of asynchronous operations defined in this API.

Enumerators

ENoOperation = 0
EDeleteEntries
ELastOperation

Member Data Documentation

TUid iDtor_ID_Key

TUid iDtor_ID_Key[protected]

MMRUtilsObserver * iObserver

MMRUtilsObserver *iObserver[protected]