CMediatorEventProvider Class Reference

class CMediatorEventProvider : public CBase

A class used for raising Mediator Service events.

MediatorClient.lib
Since
S60 3.1

Inherits from

  • CMediatorEventProvider

Constructor & Destructor Documentation

CMediatorEventProvider()

CMediatorEventProvider()[private]

C++ default constructor.

~CMediatorEventProvider()

~CMediatorEventProvider()[virtual]

Destructor.

Member Functions Documentation

ConstructL()

voidConstructL()[private]

By default Symbian 2nd phase constructor is private.

NewL()

IMPORT_C CMediatorEventProvider *NewL()[static]

Two-phased constructor.

RaiseEvent(TUid, TUid, TInt, TVersion, const TDesC8 &)

IMPORT_C TIntRaiseEvent(TUidaDomain,
TUidaCategory,
TIntaEventId,
TVersionaVersion,
const TDesC8 &aData
)

Raise an event. This command needs SwEvent -capability.

Since
S60 3.1

Parameters

TUid aDomain
TUid aCategoryThe identifier of the category.
TInt aEventIdThe identifier of the event.
TVersion aVersionThe version of the event.
const TDesC8 & aDataThe parameters of the event.

RegisterEvent(TUid, TUid, const MediatorService::REventList &)

IMPORT_C TIntRegisterEvent(TUidaDomain,
TUidaCategory,
const MediatorService::REventList &aEvents
)

Registers a list of events within specified category. This command needs SwEvent -capability.

Since
S60 3.1

Parameters

TUid aDomainThe identifier of the domain
TUid aCategoryThe identifier of the category.
const MediatorService::REventList & aEventsList of events to be registered.

RegisterEvent(TUid, TUid, TInt, TVersion, TCapabilitySet)

IMPORT_C TIntRegisterEvent(TUidaDomain,
TUidaCategory,
TIntaEventId,
TVersionaVersion,
TCapabilitySetaCaps
)

Register a single event. After registering an event it may be raised. This command needs SwEvent -capability.

Since
S60 3.1

Parameters

TUid aDomainThe identifier of the domain
TUid aCategoryThe identifier of the category.
TInt aEventIdThe identifier of the event.
TVersion aVersionThe version of the event.
TCapabilitySet aCapsCapabilities required for consuming the event.

UnregisterEvent(TUid, TUid, const MediatorService::REventList &)

IMPORT_C TIntUnregisterEvent(TUidaDomain,
TUidaCategory,
const MediatorService::REventList &aEvents
)

Unregister an event category.

Since
S60 3.1

Parameters

TUid aDomainThe identifier of the domain
TUid aCategoryThe identifier of the category.
const MediatorService::REventList & aEventsList of events to be unregistered.

UnregisterEvent(TUid, TUid, TInt)

IMPORT_C TIntUnregisterEvent(TUidaDomain,
TUidaCategory,
TIntaEventId
)

Unregister an event.

Since
S60 3.1

Parameters

TUid aDomain
TUid aCategoryThe identifier of the category.
TInt aEventIdThe identifier of the event.

Member Data Documentation

CMediatorEventProviderBody * iBody

CMediatorEventProviderBody *iBody[private]

Pointer to implementation class Own.