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,
TMsvId aMailbox
) [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 & aEntry entry to be deleted
TMsvId aMailbox mailbox to use for possible cancel/response

DeleteWithUiL(CCalInstance *, TMsvId)

TInt DeleteWithUiL ( CCalInstance * aInstance,
TMsvId aMailbox
) [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 * aInstance instance to be deleted, ownership transferred
TMsvId aMailbox mailbox to use for possible cancel/response

ExtensionL(TUid)

TAny * ExtensionL ( TUid aExtensionUid ) [pure virtual]

Allows extending this API without breaking BC.

Parameters

TUid aExtensionUid specifies

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 & aMtmUid MTM UID name with enclosing square brackets "[...]"
MMRUtilsObserver & aObserver mandatory utils feedback observer
CCalSession & aCalSession calendar session reference
CMsvSession * aMsvSession

SendWithUiL(const CCalEntry &, TMsvId)

void SendWithUiL ( const CCalEntry & aEntry,
TMsvId aMailbox
) [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 & aEntry entry to be sent
TMsvId aMailbox mailbox to use for sending

SessionSetupL(CCalSession &, CMsvSession *)

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

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

Parameters

CCalSession & aCalSession calendar 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]