CMissedAlarmStore Class Reference
class CMissedAlarmStore : public CBase
|
Class Declaration.
CMissedAlarmStore
is the implementation for storing missed alarms' information.
Constructor & Destructor Documentation
CMissedAlarmStore()
CMissedAlarmStore
|
(
|
)
|
[private]
|
CMissedAlarmStore(CRepository &)
CMissedAlarmStore
|
(
|
CRepository
&
|
aRepository
|
)
|
[private]
|
~CMissedAlarmStore()
Class destructor Frees all resources used by this class
Member Functions Documentation
AddL(RPointerArray< CMissedAlarm > &)
AddL Add the list of
CMissedAlarm
in the Central Repository.
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.
GetL(RPointerArray< CMissedAlarm > &)
GetL Gets the list of
CMissedAlarm
from the Central Repository.
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 &)
First stage constructor Creates an instance of
CMissedAlarmStore
and places it on the cleanup stack before passing ownership to the caller.
NewLC()
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 &)
RemoveL Removes an entry from the central repository.
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
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.