ESMRHelper Class Reference
Static helpers methods ES MR UI subsystem
| Public Member Functions |
|---|
| IMPORT_C TPtrC | AddressWithoutMailtoPrefix(const TDesC &) |
| IMPORT_C CCalAttendee * | CopyAttendeeL(CCalAttendee &) |
| IMPORT_C CCalAttendee * | CopyAttendeeLC(CCalAttendee &) |
| IMPORT_C CCalEntry * | CopyEntryL(const CCalEntry &, CCalEntry::TMethod, TCopyFields, TESMRCalendarEventType) |
| IMPORT_C CCalEntry * | CopyEntryLC(const CCalEntry &, CCalEntry::TMethod, TCopyFields, TESMRCalendarEventType) |
| IMPORT_C void | CopyFieldsL(const CCalEntry &, CCalEntry &, TCopyFields) |
| IMPORT_C CCalUser * | CopyUserL(CCalUser &) |
| IMPORT_C CCalUser * | CopyUserLC(CCalUser &) |
| IMPORT_C TMsvId | CorrespondingSmtpServiceL(TMsvId, CMsvSession &) |
| IMPORT_C TInt | CreateAndAppendOthersDirToFileName(TFileName &) |
| IMPORT_C TInt | CreateAndAppendPrivateDirToFileName(TFileName &) |
| IMPORT_C void | GetCorrectDllDriveL(TFileName &) |
| IMPORT_C TInt | LoadResourceL(const TDesC &, const TDesC &) |
| IMPORT_C TInt | LocateResourceFile(const TDesC &, const TDesC &, TFileName &, RFs *) |
| IMPORT_C void | PopulateChildFromParentL(CCalEntry &, const CCalEntry &) |
| Private Member Enumerations |
|---|
| enum | TESMRSwitchEventType { EMRSwitchUnknown = -1, EMRSwitchMRToMeeting = 0, EMRSwitchMRToMemo, EMRSwitchMRToAnniversary, EMRSwitchMRToTodo, EMRSwitchMeetingToMR, EMRSwitchMeetingToMemo, EMRSwitchMeetingToAnniversary, EMRSwitchMeetingToTodo, EMRSwitchMemoToMR, EMRSwitchMemoToMeeting, EMRSwitchMemoToAnniversary, EMRSwitchMemoToTodo, EMRSwitchAnniversaryToMR, EMRSwitchAnniversaryToMeeting, EMRSwitchAnniversaryToMemo, EMRSwitchAnniversaryToTodo, EMRSwitchTodoToMR, EMRSwitchTodoToMeeting, EMRSwitchTodoToMemo, EMRSwitchTodoToAnniversary } |
Member Functions Documentation
AddOrganizerL(CCalEntry &)
| void | AddOrganizerL | ( | CCalEntry & | aTargetEntry | ) | [private, static] |
AddressWithoutMailtoPrefix(const TDesC &)
| IMPORT_C TPtrC | AddressWithoutMailtoPrefix | ( | const TDesC & | aAddress | ) | [static] |
Returns TPtrC to all/part of the aAddress parameter so that possible "mailto:" or "MAILTO:" prefix is stripped out.
Parameters
| const TDesC & aAddress | address which might contain the prefix |
CopyAttendeeL(CCalAttendee &)
Creates a new copy of the given attendee.
CopyAttendeeLC(CCalAttendee &)
Creates a new copy of the given attendee. Item is left in the cleanup stack.
CopyEntryAndSwitchTypeL(const CCalEntry &, TESMRCalendarEventType)
CopyEntryL(const CCalEntry &, CCalEntry::TMethod, TCopyFields, TESMRCalendarEventType)
Creates a copy with given method type. Start/end time and DTSTAMP are set even for a skeleton.
CopyEntryLC(const CCalEntry &, CCalEntry::TMethod, TCopyFields, TESMRCalendarEventType)
Creates a copy with given method type. Start/end time and DTSTAMP are set even for a skeleton. Copied entry is left in the cleanup stack.
CopyFieldsL(const CCalEntry &, CCalEntry &, TCopyFields)
Copies entry fields according to the copy type specification. Unlike CCalEntry::CopyFromL() this function never copies the entry method property.
CopyUserL(CCalUser &)
Creates a new copy of the given cal user.
CopyUserLC(CCalUser &)
Creates a new copy of the given cal user. Item is left in the cleanup stack.
CorrespondingSmtpServiceL(TMsvId, CMsvSession &)
Resolves corresponding SMTP service for received MTM
Parameters
| TMsvId aRelatedService | Related service |
| CMsvSession & aMsvSession | Reference to MSV session. |
CreateAndAppendOthersDirToFileName(TFileName &)
| IMPORT_C TInt | CreateAndAppendOthersDirToFileName | ( | TFileName & | aFileName | ) | [static] |
Creates and appends system private directory to beginning of file. It also appends two back slashes, so aFileName should not contain any backslashes in the begining.
Parameters
| TFileName & aFileName | Others directory is appended to this file name |
CreateAndAppendPrivateDirToFileName(TFileName &)
| IMPORT_C TInt | CreateAndAppendPrivateDirToFileName | ( | TFileName & | aFileName | ) | [static] |
Creates and appends process' private directory to beginning of file. It also appends two back slashes, so aFileName should not contain any backslashes in the begining.
Parameters
| TFileName & aFileName | private directory is appended to this file name |
CreateEntryL(CCalEntry::TType, const TDesC8 &, CCalEntry::TMethod, CalCommon::TRecurrenceRange)
GetCorrectDllDriveL(TFileName &)
| IMPORT_C void | GetCorrectDllDriveL | ( | TFileName & | aDriveName | ) | [static] |
Parses drive name of dll(eg. "c:") and sets it to aDriveName parameter.
Parameters
| TFileName & aDriveName | TFileName where parsed drive letter shall be set. |
LoadResourceL(const TDesC &, const TDesC &)
| IMPORT_C TInt | LoadResourceL | ( | const TDesC & | aResourceFile, |
| | const TDesC & | aResourcePath |
| | ) | [static] |
Loads resource file into CONE environment.
Parameters
| const TDesC & aResourceFile | Resource file name. |
| const TDesC & aResourcePath | Resource file path. |
LocateResourceFile(const TDesC &, const TDesC &, TFileName &, RFs *)
Locates the calentry policy resource file.
Parameters
| const TDesC & aResource | Resourcefile to be located. |
| const TDesC & aPath | Path from which file is searched |
| TFileName & aResourceFile | On return contains the resource file name. |
| RFs * aFs = NULL | File server session reference. Ownership is not transfered. |
PopulateChildFromParentL(CCalEntry &, const CCalEntry &)
| IMPORT_C void | PopulateChildFromParentL | ( | CCalEntry & | aChild, |
| | const CCalEntry & | aParent |
| | ) | [static] |
Populates empty fields of a child entry with data from the parent entry.
ResolveSwitchType(TESMRCalendarEventType, TESMRCalendarEventType)
SetDefaultAlarmForMeetingL(CCalEntry &)
| void | SetDefaultAlarmForMeetingL | ( | CCalEntry & | aTargetEntry | ) | [private, static] |
SetMeetingTimeL(CCalEntry &, const CCalEntry &)
| void | SetMeetingTimeL | ( | CCalEntry & | aTargetEntry, |
| | const CCalEntry & | aSourceEntry |
| | ) | [private, static] |
SwitchToAnniversaryL(const CCalEntry &)
SwitchToMRL(const CCalEntry &)
SwitchToMeetingL(const CCalEntry &)
SwitchToMemoL(const CCalEntry &)
SwitchToTodoL(const CCalEntry &)
Member Enumerations Documentation
Enum TCopyFields
Enumeration for entry copy method
Enumerators
| ECopyFull | |
| ECopyOrganizer | |
| ECopySkeleton | |
Enum TESMRSwitchEventType
Enumeration for entry type switching
Enumerators
| EMRSwitchUnknown = -1 | |
| EMRSwitchMRToMeeting = 0 | |
| EMRSwitchMRToMemo | |
| EMRSwitchMRToAnniversary | |
| EMRSwitchMRToTodo | |
| EMRSwitchMeetingToMR | |
| EMRSwitchMeetingToMemo | |
| EMRSwitchMeetingToAnniversary | |
| EMRSwitchMeetingToTodo | |
| EMRSwitchMemoToMR | |
| EMRSwitchMemoToMeeting | |
| EMRSwitchMemoToAnniversary | |
| EMRSwitchMemoToTodo | |
| EMRSwitchAnniversaryToMR | |
| EMRSwitchAnniversaryToMeeting | |
| EMRSwitchAnniversaryToMemo | |
| EMRSwitchAnniversaryToTodo | |
| EMRSwitchTodoToMR | |
| EMRSwitchTodoToMeeting | |
| EMRSwitchTodoToMemo | |
| EMRSwitchTodoToAnniversary | |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.