CESMRConflictChecker Class Reference

class CESMRConflictChecker : public CBase

CESMRConflictChecker is responsible for finding conflicting entries from symbian calendar database.

esmrentry.lib

Inherits from

  • CESMRConflictChecker

Constructor & Destructor Documentation

CESMRConflictChecker(MESMRCalDbMgr &)

CESMRConflictChecker(MESMRCalDbMgr &aDbMgr)[private]

Parameters

MESMRCalDbMgr & aDbMgr

~CESMRConflictChecker()

IMPORT_C~CESMRConflictChecker()

C++ destructor.

Member Functions Documentation

FindConflictsL(const CCalEntry &, RPointerArray< CCalEntry > &)

IMPORT_C voidFindConflictsL(const CCalEntry &aEntry,
RPointerArray< CCalEntry > &aConflicts
)

Finds conflicting entries. Conflicting entries are stored to table given as parameter. Ownership of the conflicting entries are transferred to caller.

Parameters

const CCalEntry & aEntryReference to calendar entry
RPointerArray< CCalEntry > & aConflictsReference to calendar entry table

FindInstancesForEntryL(TTime, TTime, const CCalEntry &, TCalCollectionId, RPointerArray< CCalEntry > &)

IMPORT_C voidFindInstancesForEntryL(TTimeaStart,
TTimeaEnd,
const CCalEntry &aEntry,
TCalCollectionIdaColId,
RPointerArray< CCalEntry > &aInstances
)

Finds instances for this entry occuring between specified time range, that are in conflict with given entry. Ownership of the conflicting entries are transferred to caller.

Parameters

TTime aStartStart time
TTime aEndEnd time
const CCalEntry & aEntryReference to entry
TCalCollectionId aColIdCollection id of the entry
RPointerArray< CCalEntry > & aInstancesOn return contains the conflicting instances

NewL(MESMRCalDbMgr &)

IMPORT_C CESMRConflictChecker *NewL(MESMRCalDbMgr &aDbMgr)[static]

Two-phased constructor. Creates and initializes CESMRConflictChecker object.

Parameters

MESMRCalDbMgr & aDbMgrReference to cal db manager.

Member Data Documentation

MESMRCalDbMgr & iDbMgr

MESMRCalDbMgr &iDbMgr[private]