CCalenInterimUtils2 Class Reference

class CCalenInterimUtils2 : public CBase

This class contains utility methods related to usage of Calendar Interim API

Inherits from

Constructor & Destructor Documentation

CCalenInterimUtils2()

CCalenInterimUtils2()[private]

~CCalenInterimUtils2()

IMPORT_C~CCalenInterimUtils2()

Destructor

Member Functions Documentation

ConstructL()

voidConstructL()[private]

GlobalUidL()

IMPORT_C HBufC8 *GlobalUidL()

Allocates and returns a new global UID.

IsMeetingRequestL(CCalEntry &)

IMPORT_C TBoolIsMeetingRequestL(CCalEntry &aEntry)[static]

Checks to see if the given entry has properties consistent with a meeting request.

Parameters

CCalEntry & aEntryEntry to test

MRViewersEnabledL(TBool)

IMPORT_C TBoolMRViewersEnabledL(TBoolaForceCheck = EFalse)

Checks to see if Meeting Request Viewer functionality is enabled and is available to use

Parameters

TBool aForceCheck = EFalse

NewL()

IMPORT_C CCalenInterimUtils2 *NewL()[static]

Create a new instance of CalenInterimUtils2

PopulateChildFromParentL(CCalEntry &, const CCalEntry &)

IMPORT_C voidPopulateChildFromParentL(CCalEntry &aChild,
const CCalEntry &aParent
)[static]

Populates empty fields of a child entry with data from the parent entry.

Parameters

CCalEntry & aChildchild (modifying) entry to be populated
const CCalEntry & aParentparent (originating) entry

StoreL(CCalEntryView &, CCalEntry &, TBool)

IMPORT_C voidStoreL(CCalEntryView &aEntryView,
CCalEntry &aEntry,
TBoolaCopyToChildren = 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.

Parameters

CCalEntryView & aEntryViewview of the entries
CCalEntry & aEntryentry to be stored
TBool aCopyToChildren = EFalsewhether the extra logic regarding exception data should be run

Member Data Documentation

CCalenInterimUtils2Impl * iImpl

CCalenInterimUtils2Impl *iImpl[private]