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 void AddL ( RPointerArray < CMissedAlarm > & aMissedAlarmList )

AddL Add the list of CMissedAlarm in the Central Repository.

Parameters

RPointerArray < CMissedAlarm > & aMissedAlarmList Pointer array of CMissedAlarm objects.

ConstructL()

void ConstructL ( ) [private]

Second stage constructor Performs any leaving operations needed for construction.

CountL(TUint32 &)

IMPORT_C void CountL ( TUint32 & aCount )

CountL Counts the number of entries in the central repository.

Parameters

TUint32 & aCount The total number of entries in the central repository.

DeleteEntryAndReArrangeL(TInt)

void DeleteEntryAndReArrangeL ( TInt aDeletedIndex ) [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 void GetL ( RPointerArray < CMissedAlarm > & aArray )

GetL Gets the list of CMissedAlarm from the Central Repository.

Parameters

RPointerArray < CMissedAlarm > & aArray

HandleNotifyGeneric(TUint32)

void HandleNotifyGeneric ( TUint32 aId )

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

Parameters

TUint32 aId Id 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 void RemoveAllL ( )

RemoveAllL Removes all the entries from the central repository.

RemoveL(CMissedAlarm &)

IMPORT_C void RemoveL ( CMissedAlarm & aMissedAlarm )

RemoveL Removes an entry from the central repository.

Parameters

CMissedAlarm & aMissedAlarm The entry to be removed.

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

void SetL ( const TInt aLuid,
const TTime aTTime,
const TDesC & aCalFileName
) [private]

SetL Add the single entry in the Central Repository.

Parameters

const TInt aLuid The LUID of the missed alarm.
const TTime aTTime The instance start time.
const TDesC & aCalFileName The Calendar file name.

Member Data Documentation

CRepository * iRepository

CRepository * iRepository [private]