CMRMailboxUtils Class Reference
class CMRMailboxUtils : public CBase |
Nested Classes and Structures
Constructor & Destructor Documentation
~CMRMailboxUtils()
~CMRMailboxUtils | ( | ) | [inline] |
Member Functions Documentation
AddObserverL(MMRMailboxUtilsObserver &)
GetDefaultMRMailBoxL(TMailboxInfo &)
Gets Calendar's default MR mailbox information. Return value is KErrNone if default has been set, KErrNotFound if it hasn't been set. If default mailbox has been set and it still exists, then it's info is assigned to aBoxInfo. If it has been set but doesn't exist then the first one from the list of mailboxes is set as default and returned in aBoxInfo. In other cases KMsvNullIndexEntryId is assigned to TMRUtilsMailBoxInfo::iEntryId.
GetSourceMtmUidL(const CCalEntry &, TUid &)
Resolves MTM Uid based on the entry. This is done by finding out phone owner, the corresponding mailbox, and the MTM for that mailbox.
Parameters
const CCalEntry & aCalEntry | calendar entry to evaluate |
TUid & aMtmUid | uid of the MTM |
IsOrganizerL(const CCalEntry &)
Compares CCalEntry's phone owner field to organizer field, and returns ETrue if they match. If phone owner hasn't been set this method returns EFalse.
ListMailBoxesL(RArray< TMailboxInfo > &)
Lists all MR capable mail boxes available in the phone.
MsvSessionL()
Accessor method for getting CMsvSession reference. Leaves with a system wide error code if session doesn't exist due to a problem with Messaging Server. Reference should only be used immediatelly after querying it, since server may later request closing the session.
NewL(CMsvSession *)
Constructs CMailboxUtils ECom plug-in.
RemoveObserver(MMRMailboxUtilsObserver &)
Removes observer, panics if observer hasn't been added.
SetDefaultMRMailBoxL(TMsvId)
TInt
| SetDefaultMRMailBoxL | ( | TMsvId | aDefaultBox | ) | [pure virtual] |
Sets Calendar's default MR mailbox.
Parameters
TMsvId aDefaultBox | box to be set as default |
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.
ThisAttendeeL(const CCalEntry &)
Compares CCalEntry's phone owner field to its attendee list, and returns matching attendee, or NULL if phone owner hasn't been set or this attendee was not found.
Parameters
const CCalEntry & aCalEntry | meeting request entry |
Member Data Documentation
TUid
iDtor_ID_Key
TUid
| iDtor_ID_Key | [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.