CEvtMgmtUiEngine Class Reference
class CEvtMgmtUiEngine : public CBase |
Class that represents the engine for evtmgmtui application
It is used to create, update, delete, retrive events. It is also used to change state of the event.
Public Member Enumerations |
---|
enum | TEvtEventAttribute { EEvtEventAttributeSubject = 1, EEvtEventAttributePlace = 2, EEvtEventAttributeRadius = 16, EEvtEventAttributeRepeat = 32, EEvtEventAttributeDesc = 64, EEvtEventAttributeTone = 128, EEvtEventAttributeAudioLoop = 256, EEvtEventAttributeStatus = 512 } |
enum | TEvtEventStatusFilter { EEvtFilterActive = 0, EEvtFilterDraft = 1, EEvtFilterCompleted = 2, EEvtFilterAll = 3 } |
Constructor & Destructor Documentation
CEvtMgmtUiEngine()
CEvtMgmtUiEngine | ( | ) | [private] |
~CEvtMgmtUiEngine()
~CEvtMgmtUiEngine | ( | ) | [virtual] |
Member Functions Documentation
AddEventL(CEvtEvent &)
It will add an event to database
- Since
- S60 v5.0
CalculateFiredAccuracyL(const TEvtEventId)
Calculates the Accuracy of Fired Trigger.
- Since
- S60 v5.0
CancelRequest()
IMPORT_C void | CancelRequest | ( | ) | |
Cancels all the outstanding lbt request.
- Since
- S60 v5.0
ConstructL()
void | ConstructL | ( | ) | [private] |
DeleteEventL(TEvtEventId)
It will delete the list of Events from the database.
- Since
- S60 v5.0
DeleteEventsL(const RArray< TEvtEventId > *)
It will delete event from database
- Since
- S60 v5.0
Parameters
const RArray< TEvtEventId > * aEvtIdArray | aEventArray Reference to the Events Id array that are to be removed form the database. |
EventL(TEvtEventId)
Parameters
TEvtEventId aId | - event id of the event to be retrieved. event object |
HandleFiredTriggerStateL(const TEvtEventId)
IMPORT_C void | HandleFiredTriggerStateL | ( | const TEvtEventId | aEventId | ) | |
Handle Fired Trigger state. Trigger State should be completed if fired Event is not repetitive.
- Since
- S60 v5.0
HandleStorageDbChangedL()
void | HandleStorageDbChangedL | ( | ) | |
ModifyEventL(CEvtEvent &, TEvtEventAttributeMask)
It will modify event to database
- Since
- S60 v5.0
NewL()
Static Two phase constructor
NewLC()
Static Two phase constructor
NotifyLbtChangeL(TLbtTriggerId &, TInt)
NotifyLbtError(TInt, TInt)
void | NotifyLbtError | ( | TInt | aErrorCode, |
| TInt | aState |
| ) | |
NotifyTriggerChangeL(const TLbtTriggerId &, TLbtTriggerChangeType)
void | NotifyTriggerChangeL | ( | const TLbtTriggerId & | , |
| TLbtTriggerChangeType | aType |
| ) | |
RemoveObserver(MEvtMgmtUiEngineObserver *)
Remove observer to notify engine operation is completed.
- Since
- S60 v5.0 [in] aObserver - Observer which wants to get notifications.
RetrieveLocationL(TEvtEventId, TCoordinate &)
SetEventStateL(TEvtEventStatus, TEvtEventId)
It will set state of the event.
- Since
- S60 v5.0
SetEventsStateL(TEvtEventStatus, const RArray< TEvtEventId > *)
It will set state of the events.
- Since
- S60 v5.0
SetObserver(MEvtMgmtUiEngineObserver *)
Set observer to notify engine operation is completed.
- Since
- S60 v5.0 [in] aObserver - Observer which wants to get notifications.
SyncDbsL()
Synchronizes the LBT and EvtStorage Db.
- Since
- S60 v5.0
UpdateModelL(RPointerArray< CEvtBasicEventInfo > &, TEvtEventStatusFilter)
Updates model
- Since
- S60 v5.0
TODO: should be removed
Member Enumerations Documentation
Enum TEvtEventAttribute
Enumeration to identify the modified attributes for an event
Enumerators
EEvtEventAttributeSubject = 1 | |
EEvtEventAttributePlace = 2 | |
EEvtEventAttributeRadius = 16 | |
EEvtEventAttributeRepeat = 32 | |
EEvtEventAttributeDesc = 64 | |
EEvtEventAttributeTone = 128 | |
EEvtEventAttributeAudioLoop = 256 | |
EEvtEventAttributeStatus = 512 | |
Enum TEvtEventStatusFilter
Enumeration to Filter based on status.
Enumerators
EEvtFilterActive = 0 |
To retrive active events
|
EEvtFilterDraft = 1 |
To retrive draft events
|
EEvtFilterCompleted = 2 |
To retrive completed events
|
EEvtFilterAll = 3 |
To retrieve all events
|
Member Data Documentation
CEvtEventManager * iEventManager
const RArray< TEvtEventId > * iEvtIdArray
TEvtEventStatus
iEvtStatus
CEvtMgmtUiLbtAdapter * iLbtAdapter
RPointerArray< MEvtMgmtUiEngineObserver > iObserverArray
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.