CMissedAlarmStore Class Reference

class CMissedAlarmStore : public CBase

Class Declaration. CMissedAlarmStore is the implementation for storing missed alarms' information.

Inherits from

Constructor & Destructor Documentation

CMissedAlarmStore()

CMissedAlarmStore()[private]

Private constructor

CMissedAlarmStore(CRepository &)

CMissedAlarmStore(CRepository &aRepository)[private]

Private constructor

Parameters

CRepository & aRepository

~CMissedAlarmStore()

~CMissedAlarmStore()

Class destructor Frees all resources used by this class

Member Functions Documentation

AddL(RPointerArray< CMissedAlarm > &)

IMPORT_C voidAddL(RPointerArray< CMissedAlarm > &aMissedAlarmList)

AddL Add the list of CMissedAlarm in the Central Repository.

Parameters

RPointerArray< CMissedAlarm > & aMissedAlarmListPointer array of CMissedAlarm objects.

ConstructL()

voidConstructL()[private]

Second stage constructor Performs any leaving operations needed for construction.

CountL(TUint32 &)

IMPORT_C voidCountL(TUint32 &aCount)

CountL Counts the number of entries in the central repository.

Parameters

TUint32 & aCountThe total number of entries in the central repository.

DeleteEntryAndReArrangeL(TInt)

voidDeleteEntryAndReArrangeL(TIntaDeletedIndex)[private]

Delete old entry and insert new entry when the missed alarms count is more than 10 entries.

Parameters

TInt aDeletedIndex

GetL(RPointerArray< CMissedAlarm > &)

IMPORT_C voidGetL(RPointerArray< CMissedAlarm > &aArray)

GetL Gets the list of CMissedAlarm from the Central Repository.

Parameters

RPointerArray< CMissedAlarm > & aArray

HandleNotifyGeneric(TUint32)

voidHandleNotifyGeneric(TUint32aId)

This callback method is used to notify the client about changes for real value keys, i.e. key type is ERealKey.

Parameters

TUint32 aIdId of the key that has changed.

NewL(CRepository &)

IMPORT_C CMissedAlarmStore *NewL(CRepository &aRepository)[static]

First stage constructor Creates an instance of CMissedAlarmStore and places it on the cleanup stack before passing ownership to the caller.

Parameters

CRepository & aRepository

NewLC()

IMPORT_C CMissedAlarmStore *NewLC()[static]

First stage constructor Creates an instance of CMissedAlarmStore and places it on the cleanup stack before passing ownership to the caller.

RemoveAllL()

IMPORT_C voidRemoveAllL()

RemoveAllL Removes all the entries from the central repository.

RemoveL(CMissedAlarm &)

IMPORT_C voidRemoveL(CMissedAlarm &aMissedAlarm)

RemoveL Removes an entry from the central repository.

Parameters

CMissedAlarm & aMissedAlarmThe entry to be removed.

SetL(const TInt, const TTime, const TDesC &)

voidSetL(const TIntaLuid,
const TTimeaTTime,
const TDesC &aCalFileName
)[private]

SetL Add the single entry in the Central Repository.

Parameters

const TInt aLuidThe LUID of the missed alarm.
const TTime aTTimeThe instance start time.
const TDesC & aCalFileNameThe Calendar file name.

Member Data Documentation

CRepository * iRepository

CRepository *iRepository[private]