CCFContextSourceCommand Class Reference
class CCFContextSourceCommand : public CBase
|
Context source command interface that can be used, for example, to activate or deactivate context sources.
Constructor & Destructor Documentation
~CCFContextSourceCommand()
~CCFContextSourceCommand
|
(
|
)
|
[virtual]
|
Member Functions Documentation
AddAttributeL(CCFKeyValuePair *)
Adds new key value pair attribute for the command. Attribute's ownership is transferred.
Parameters
CCFKeyValuePair
* aAttribute
|
Key value pair attribute. Ownership is transferred.
|
AddAttributesL(RKeyValueArray &)
Adds new key value pair attributes for the command. Ownership of the attributes conteined in the array is transferred.
Parameters
RKeyValueArray
& aAttributes
|
Array of key value pair attributes. Ownership of the key value pairs (array content) is transferred. If a leave occurs the caller is responsible for the key value pairs left on the array.
|
AddParameterL(CCFContextSourceCommandParameter *)
Adds new parameter for the command. Parameter's ownership is transferred.
Attributes()
Returns context source command attributes.
CloneL()
Returns a clone of this context source command.
ExternalizeL(RWriteStream &)
void
|
ExternalizeL
|
(
|
RWriteStream
&
|
aStream
|
)
|
const [pure virtual]
|
InternalizeL(RReadStream &)
void
|
InternalizeL
|
(
|
RReadStream
&
|
aStream
|
)
|
[pure virtual]
|
Name()
const
TDesC
&
|
Name
|
(
|
)
|
const [pure virtual]
|
Returns context source command name.
NewL()
Symbian two phased constructors.
Parameters()
Returns parameters related to the context source command.
Sender()
Returns context source command sender identity.
SetNameL(const TDesC &)
void
|
SetNameL
|
(
|
const
TDesC
&
|
aName
|
)
|
[pure virtual]
|
Parameters
const
TDesC
& aName
|
New command name.
|
SetSender(const TCFSourceCommandSenderId &)
Sets context source command sender identity.
Size()
TInt
|
Size
|
(
|
)
|
const [pure virtual]
|
Returns instance size in bytes.
SourceUid()
TUid
|
SourceUid
|
(
|
)
|
const [pure virtual]
|
Returns uid of the context source who is the command target. Uid is taken from the first key value pair attribute whose key is uid.
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.