CESMRCalDbBase Class Reference
class CESMRCalDbBase : public CBase |
Base class representing a calendar database.
esmrdb.lib
Constructor & Destructor Documentation
CESMRCalDbBase(MESMRCalDbObserver &, MCalProgressCallBack &)
Member Functions Documentation
Compare(const CCalEntry &, const CCalEntry &)
Wrapper which traps leaving CompareL(), and in leave situation returns that objects are equal since that is a safer interpretation and avoids duplicates in database. In real life CompareL() is not expected to ever leave.
CompareL(const CCalEntry &, const CCalEntry &)
Helper which allows ordering entries in an array. That is implemented by evaluating GUID and RECURRENCE-ID of the two entries.
EntryView()
Entry view accessor. Ownership not transferred.
EntryView()
Entry view accessor. Ownership not transferred.
FetchWithRangeL(RPointerArray< CCalEntry > &, const CalCommon::TCalTimeRange &, TBool)
CCalEntryView lacks fetch with time range. This method provides such functionality. In case of repeating entries the entire sequence must be within range (but modifying entries are considered separately). If database doesn't have both instance and entry view then this method leaves with KErrNotSupported.
InstanceView()
Instance view accessor. Ownership not transferred.
InstanceView()
Instance view accessor. Ownership not transferred.
IsCompletelyWithinRangeL(const CCalEntry &, const CalCommon::TCalTimeRange &)
Tests whether given entry fits completely within given time range.
NotifyProgress()
TBool
| NotifyProgress | ( | ) | [protected] |
Progress(TInt)
void | Progress | ( | TInt | aPercentageCompleted | ) | [protected] |
Parameters
TInt aPercentageCompleted | |
ResetDbL()
Reset database, causes asynchronous db initialization which is notified through MMRUtilsCalDbObserver interface. Calling this method requires that there are no external open references for the session. The default implementation leaves with KErrNotSupported.
Session()
const CCalSession * | Session | ( | ) | const |
Session accessor. Ownership not transferred.
Session()
Session accessor. Ownership not transferred.
Member Data Documentation
CCalEntryView * iCalEntryView
Calender DB view. Managed by the subclass Own.
CCalInstanceView * iCalInstanceView
Caledar DB instance view. Managed by the subclass Own.
CCalSession * iCalSession
CCalSession * | iCalSession | [protected] |
Calendar DB session. Managed by the subclass Own.
MCalProgressCallBack & iCmdObserver
This callback is used for notifying about asynchronous command progress, Note: currently not used for anything! Not own.
MESMRCalDbObserver & iDbObserver
Used for notifying about database status Not own.
MESMRCalDbObserver::TDbStatus
iDbStatus
Current database status Own.
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.