#include <app/CalenInterimUtils2.h>
| class CCalenInterimUtils2 : public CBase |
| Public Member Functions | |
|---|---|
| ~CCalenInterimUtils2() | |
| IMPORT_C HBufC8 * | GlobalUidL() |
| IMPORT_C TBool | IsMeetingRequestL(CCalEntry &) |
| IMPORT_C TBool | MRViewersEnabledL(TBool) |
| IMPORT_C CCalenInterimUtils2 * | NewL() |
| IMPORT_C void | PopulateChildFromParentL(CCalEntry &, const CCalEntry &) |
| IMPORT_C void | StoreL(CCalEntryView &, CCalEntry &, TBool) |
This class contains utility methods related to usage of Calendar Interim API
| IMPORT_C HBufC8 * | GlobalUidL | ( | ) |
Allocates and returns a new global UID.
Returns: UID, ownership is transferred to caller
| IMPORT_C TBool | IsMeetingRequestL | ( | CCalEntry & | aEntry | ) | [static] |
Checks to see if the given entry has properties consistent with a meeting request.
| Parameter | Description |
|---|---|
| aEntry | Entry to test |
Returns: ETrue if the entry is a meeting request, EFalse otherwise
Checks to see if Meeting Request Viewer functionality is enabled and is available to use
| Parameter | Description |
|---|---|
| aForceCheck | is by default EFalse and ETrue only when it is absolutely needed as it has performance overhead. |
Returns: current state of MR Viewers implementation
| IMPORT_C void | PopulateChildFromParentL | ( | CCalEntry & | aChild, |
| const CCalEntry & | aParent | |||
| ) | [static] | |||
Populates empty fields of a child entry with data from the parent entry.
| Parameter | Description |
|---|---|
| aChild | child (modifying) entry to be populated |
| aParent | parent (originating) entry |
| IMPORT_C void | StoreL | ( | CCalEntryView & | aEntryView, |
| CCalEntry & | aEntry, | |||
| TBool | aCopyToChildren = EFalse | |||
| ) | [static] | |||
This function is a wrapper around CCalEntryView::StoreL() and CCalEntryView::UpdateL(). The function makes the appropriate call to either of those functions, depending on several factors, such as whether the entry is a child or parent, and whether it has exceptions or not. If aCopyToChildren is set to ETrue, extra logic is applied as follows: For each exception, for each field, if the field is NOT the reason for the entry being an exception, copy the new parent's field across to the exception.
| Parameter | Description |
|---|---|
| aEntryView | view of the entries |
| aEntry | entry to be stored |
| aCopyToChildren | whether the extra logic regarding exception data should be run |