CMediatorCommandResponder Class Reference
class CMediatorCommandResponder : public CBase
|
A class used to respond to Mediator Service commands.
MediatorClient.lib
-
Since
-
S60 3.1
Inherits from
-
CMediatorCommandResponder
Public Member Functions
|
|
~CMediatorCommandResponder
()
|
IMPORT_C
TInt
|
IssueResponse
(
TUid
,
TUid
,
TInt
,
TInt
, const
TDesC8
&)
|
IMPORT_C
CMediatorCommandResponder
*
|
NewL
(
MMediatorCommandObserver
*)
|
IMPORT_C
TInt
|
RegisterCommand
(
TUid
,
TUid
, const
MediatorService::RCommandList
&)
|
IMPORT_C
TInt
|
RegisterCommand
(
TUid
,
TUid
,
TInt
,
TVersion
,
TCapabilitySet
,
TInt
)
|
IMPORT_C
TInt
|
UnregisterCommand
(
TUid
,
TUid
, const
MediatorService::RCommandList
&)
|
IMPORT_C
TInt
|
UnregisterCommand
(
TUid
,
TUid
,
TInt
)
|
Private Attributes
|
CMediatorCommandResponderBody *
|
iBody
|
Constructor & Destructor Documentation
CMediatorCommandResponder()
CMediatorCommandResponder
|
(
|
)
|
[private]
|
~CMediatorCommandResponder()
~CMediatorCommandResponder
|
(
|
)
|
[virtual]
|
Member Functions Documentation
ConstructL(MMediatorCommandObserver *)
By default Symbian 2nd phase constructor is private.
IssueResponse(TUid, TUid, TInt, TInt, const TDesC8 &)
Issue a response to a command.
Parameters
TUid
aDomain
|
The identifier of the domain
|
TUid
aCategory
|
The identifier of the category.
|
TInt
aCommandId
|
The identifier of the command.
|
TInt
aStatus
|
Result status of the command.
|
const
TDesC8
& aData
|
The parameters of the response.
|
NewL(MMediatorCommandObserver *)
RegisterCommand(TUid, TUid, const MediatorService::RCommandList &)
Register a command category. After registration all commands from the category may be initiated.
RegisterCommand(TUid, TUid, TInt, TVersion, TCapabilitySet, TInt)
Register a command. After registering the command it may be initiated.
Parameters
TUid
aDomain
|
The identifier of the domain
|
TUid
aCategory
|
The identifier of the category.
|
TInt
aCommandId
|
The identifier of the category.
|
TVersion
aVersion
|
The version of the command
|
TCapabilitySet
aCaps
|
Capabilities required for initiating the command.
|
TInt
aTimeOut
|
|
UnregisterCommand(TUid, TUid, const MediatorService::RCommandList &)
Unregister a command category.
UnregisterCommand(TUid, TUid, TInt)
IMPORT_C
TInt
|
UnregisterCommand
|
(
|
TUid
|
aDomain,
|
|
TUid
|
aCategory,
|
|
TInt
|
aCommandId
|
|
)
|
|
Parameters
TUid
aDomain
|
The identifier of the domain
|
TUid
aCategory
|
The identifier of the category.
|
TInt
aCommandId
|
The identifier of the category.
|
Member Data Documentation
CMediatorCommandResponderBody * iBody
CMediatorCommandResponderBody *
|
iBody
|
[private]
|
Pointer to implementation class Own.
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.