CESMRFsMailboxUtils Class Reference
class CESMRFsMailboxUtils : public CBase
|
Utility class for FS mailbox
Constructor & Destructor Documentation
CESMRFsMailboxUtils(CMRMailboxUtils &)
~CESMRFsMailboxUtils()
IMPORT_C
|
~CESMRFsMailboxUtils
|
(
|
)
|
|
Member Functions Documentation
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
DefaultMailboxSupportCapabilityL(TMRMailboxCapability)
Tests if default mailbox supports certain capability.
FSEmailPluginForEntryL(const CCalEntry &)
Resolves the plugin to be used to current calendar entry. Method retrieves phone owner from calendar entry and loops all FS Email mailboxes.
Parameters
const
CCalEntry
& aEntry
|
Reference to calendar entry.
|
GetCalendarDatabaseIdL(TESMRMailPlugin, TCalFileId &)
Gets the calendar database id used by mail plugin
Parameters
TESMRMailPlugin
aPlugin
|
mail plugin in use
|
TCalFileId
& aDbId
|
on return contains the database id or KNullFileId if plugin does not provide database id information.
|
IsPhoneOwnerL(const CCalUser &, const RPointerArray< CFSMailBox > &, TInt &)
MailClientL()
CFSMailClient &
|
MailClientL
|
(
|
)
|
[private]
|
PhoneOwnerL(const CCalEntry &, const RPointerArray< CFSMailBox > &, TInt &)
SetPhoneOwnerL(CCalEntry &, TMsvId)
If phone owner field hasn't been set so far, this method compares organizer field to the mailboxes in the device, and if no match was found compares each attendee to the mailboxes. If match was found, phone owner field is set, otherwise KErrNotFound is returned. If aPrimaryBox is given, then that is used in matching before any other mailbox. If not given, then default MR mailbox will have the highest presedence followed by other MR-capable mailboxes.
SetPhoneOwnerL(CCalEntry &, CFSMailClient &, CFSMailMessage &)
If phone owner field hasn't been set so far, this method compares mailboxowner's email address to organizer field and if no match was found compares each attendee to the mailboxowner's email address. If match was found, phone owner field is set, otherwise KErrNotFound is returned.
Member Enumerations Documentation
Enum TMRMailboxCapability
Enumeration for mailbox capabilities
Member Data Documentation
CMRMailboxUtils & iMRMailboxUtils
CFSMailClient * iMailClient
CFSMailClient *
|
iMailClient
|
[private]
|
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.