CEvtAction Class Reference
class CEvtAction : public CBase
|
Class that represents the action for an Event
This class encapsultes the Action information like action type and generic string for action. This class allows for Internalizing Externalizing the action.
evtstorage.lib
-
Since
-
S60 v9.1
Constructor & Destructor Documentation
~CEvtAction()
~CEvtAction
|
(
|
)
|
[virtual]
|
Member Functions Documentation
Action()
Gets the Action for the Location Events. The Action is defined by the Location EventsUi on Creation. A reference to the object's internal string is returned.
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
Second phase of the two phase constructor.
EvtId()
Gets the Trigger id, identifying the Location Event to which Action is associated with. This identifier is definded by Storage Db on creation.
Id()
Gets the Action id, identifying the Location Event's Action. This identifier is definded by Storage Db on creation.
NewL()
Constructs a new instance of Event Action.
-
leave
-
System wide error code if the object creation fails.
NewLC()
Constructs a new instance of Event Action. Leaves the created instance on the cleanup stack.
-
leave
-
System wide error code if the object creation fails.
SetActionL(const TDesC &)
void
|
SetActionL
|
(
|
const
TDesC
&
|
aAction
|
)
|
|
Set the Action String for the Location Event. The Action is copied.
-
Since
-
S60 v9.1
-
leave
-
KErrNoMemory If there is not enough memory to copy the string.
Parameters
const
TDesC
& aAction
|
Action String for the Location Event. The Action string is copied.
|
SetEvtId(const TEvtEventId)
Set the Trigger id, identifying the Location Event to which Action is associated with. This identifer is definded by Storage Db on creation.
Parameters
const
TEvtEventId
aId
|
Action identifier identifying the Location Event's Action.
|
SetId(const TInt64)
void
|
SetId
|
(
|
const
TInt64
|
aId
|
)
|
|
Set the Action id, identifying the Location Event's Action. This identifier is definded by Storage Db on creation.
Parameters
const
TInt64
aId
|
Action identifier identifying the Location Event's Action.
|
SetType(const TEvtActionType)
Set the Action type for the Location Event.
Type()
Gets the Action type for the Location Event. The Type is defined when an event is created.
Member Data Documentation
HBufC * iActionString
HBufC
*
|
iActionString
|
[private]
|
Action String for an Event.
TEvtEventId
iEvtId
Event Id to which the Action is associated with.
TEvtActionType
iType
Action Type for an Event.
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.