MESMRTaskExtension Class Reference

class MESMRTaskExtension

MESMRTaskExtension is extension API for CMRUtils . MESMRTaskExtension defines methods for executing ES MR MR related functionality.

Usage (assuming you have CMRUtils* iUtils): MESMRTaskExtension* ext = ExtensionApiL<MESMRTaskExtension>( iUtils );

esmrtasks.lib

Constructor & Destructor Documentation

~MESMRTaskExtension()

~MESMRTaskExtension ( ) [inline, virtual]

Virtual C++ destructor.

Member Functions Documentation

DeleteAndSendMRL(TESMRCommand, MESMRCalEntry &)

void DeleteAndSendMRL ( TESMRCommand aCommand,
MESMRCalEntry & aEntry
) [pure virtual]

Deletes MR from local calendar DB. Method also sends either cancellation or decline message.

Command needs to be one of the following:
  • EESMRCmdDeleteMR

TESMRCommand

Parameters

TESMRCommand aCommand Command to be executed
MESMRCalEntry & aEntry Reference to entry

DeleteEntryFromLocalDBL(TESMRCommand, MESMRCalEntry &)

void DeleteEntryFromLocalDBL ( TESMRCommand aCommand,
MESMRCalEntry & aEntry
) [pure virtual]

Deletes calendar event from local calendar DB.

Command needs to be one of the following:
  • EESMRCmdCalEntryUIDelete

  • EESMRCmdDeleteMR

TESMRCommand

Parameters

TESMRCommand aCommand Command to be executed
MESMRCalEntry & aEntry Reference to entry

ExtensionUid()

TUid ExtensionUid ( ) [static, inline]

Fetches task extension uid.

ForwardMRAsEmailL(TESMRCommand, MESMRCalEntry &)

void ForwardMRAsEmailL ( TESMRCommand aCommand,
MESMRCalEntry & aEntry
) [pure virtual]

Forwards MR as email. Email editor is launched with pre-filled email message.

Command needs to be one of the following:
  • EESMRCmdForwardAsMail

TESMRCommand

Parameters

TESMRCommand aCommand Command to be executed
MESMRCalEntry & aEntry Reference to entry

MarkTodoAsDoneL(TESMRCommand, MESMRCalEntry &)

void MarkTodoAsDoneL ( TESMRCommand aCommand,
MESMRCalEntry & aEntry
) [pure virtual]

Marks to-do event as done.

Command needs to be one of the following:
  • EESMRCmdTodoMarkAsDone

TESMRCommand

Parameters

TESMRCommand aCommand Command to be executed
MESMRCalEntry & aEntry Reference to entry

MarkTodoAsNotDoneL(TESMRCommand, MESMRCalEntry &)

void MarkTodoAsNotDoneL ( TESMRCommand aCommand,
MESMRCalEntry & aEntry
) [pure virtual]

Marks to-do event as not done.

Command needs to be one of the following:
  • EESMRCmdTodoMarkAsNotDone

TESMRCommand

Parameters

TESMRCommand aCommand Command to be executed
MESMRCalEntry & aEntry Reference to entry

MoveEntryToCurrentDBL(TESMRCommand, MESMRCalEntry &)

void MoveEntryToCurrentDBL ( TESMRCommand aCommand,
MESMRCalEntry & aEntry
) [pure virtual]

Moves entry to current database

Command needs to be one of following:
  • EESMRCmdSaveMR

  • EESMRCmdCalEntryUISave TESMRCommand

Parameters

TESMRCommand aCommand Command to be executed
MESMRCalEntry & aEntry Reference to entry

ReplyAsEmailL(TESMRCommand, MESMRCalEntry &)

void ReplyAsEmailL ( TESMRCommand aCommand,
MESMRCalEntry & aEntry
) [pure virtual]

Creates email reply for meeting request. Email editor is launched with pre-filled email message.

Command needs to be one of the following:
  • EESMRCmdReply or EESMRCmdReplyAll

TESMRCommand

Parameters

TESMRCommand aCommand Command to be executed
MESMRCalEntry & aEntry Reference to entry

SendAndStoreMRL(TESMRCommand, MESMRCalEntry &)

void SendAndStoreMRL ( TESMRCommand aCommand,
MESMRCalEntry & aEntry
) [pure virtual]
Sends and stores MR . Command needs to be one of the following:
  • EESMRCmdSendMR

  • EESMRCmdSendMRUpdate

Phone owner needs to be meeting organizer.

TESMRCommand

Parameters

TESMRCommand aCommand Command to be executed
MESMRCalEntry & aEntry Reference to entry

SendAndStoreResponseL(TESMRCommand, MESMRCalEntry &)

void SendAndStoreResponseL ( TESMRCommand aCommand,
MESMRCalEntry & aEntry
) [pure virtual]
Sends and stores MR response. Command needs to be one of the following:
  • EESMRCmdAcceptMR

  • EESMRCmdTentativeMR

  • EESMRCmdDeclineMR

Phone owner's attendee status needs to match MR response command.

TESMRCommand

Parameters

TESMRCommand aCommand Command to be executed
MESMRCalEntry & aEntry Reference to entry

StoreEntryToLocalDBL(TESMRCommand, MESMRCalEntry &)

void StoreEntryToLocalDBL ( TESMRCommand aCommand,
MESMRCalEntry & aEntry
) [pure virtual]

Stores Cal Event to local calendar DB.

Command needs to be one of the following:
  • EESMRCmdSaveMR

TESMRCommand

Parameters

TESMRCommand aCommand Command to be executed
MESMRCalEntry & aEntry Reference to entry