CMediatorEventProvider Class Reference
| class CMediatorEventProvider : public CBase |
A class used for raising Mediator Service events.
MediatorClient.lib
- Since
- S60 3.1
| Public Member Functions |
|---|
| ~CMediatorEventProvider() |
| IMPORT_C CMediatorEventProvider * | NewL() |
| IMPORT_C TInt | RaiseEvent(TUid, TUid, TInt, TVersion, const TDesC8 &) |
| IMPORT_C TInt | RegisterEvent(TUid, TUid, const MediatorService::REventList &) |
| IMPORT_C TInt | RegisterEvent(TUid, TUid, TInt, TVersion, TCapabilitySet) |
| IMPORT_C TInt | UnregisterEvent(TUid, TUid, const MediatorService::REventList &) |
| IMPORT_C TInt | UnregisterEvent(TUid, TUid, TInt) |
| Private Attributes |
|---|
| CMediatorEventProviderBody * | iBody |
Constructor & Destructor Documentation
CMediatorEventProvider()
| CMediatorEventProvider | ( | ) | [private] |
~CMediatorEventProvider()
| ~CMediatorEventProvider | ( | ) | [virtual] |
Member Functions Documentation
ConstructL()
| void | ConstructL | ( | ) | [private] |
By default Symbian 2nd phase constructor is private.
RaiseEvent(TUid, TUid, TInt, TVersion, const TDesC8 &)
Raise an event. This command needs SwEvent -capability.
Parameters
| TUid aDomain | |
| TUid aCategory | The identifier of the category. |
| TInt aEventId | The identifier of the event. |
| TVersion aVersion | The version of the event. |
| const TDesC8 & aData | The parameters of the event. |
RegisterEvent(TUid, TUid, const MediatorService::REventList &)
Registers a list of events within specified category. This command needs SwEvent -capability.
RegisterEvent(TUid, TUid, TInt, TVersion, TCapabilitySet)
Register a single event. After registering an event it may be raised. This command needs SwEvent -capability.
Parameters
| TUid aDomain | The identifier of the domain |
| TUid aCategory | The identifier of the category. |
| TInt aEventId | The identifier of the event. |
| TVersion aVersion | The version of the event. |
| TCapabilitySet aCaps | Capabilities required for consuming the event. |
UnregisterEvent(TUid, TUid, const MediatorService::REventList &)
Unregister an event category.
UnregisterEvent(TUid, TUid, TInt)
Parameters
| TUid aDomain | |
| TUid aCategory | The identifier of the category. |
| TInt aEventId | The identifier of the event. |
Member Data Documentation
CMediatorEventProviderBody * iBody
| CMediatorEventProviderBody * | 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.