CMPXPluginMonitor Class Reference

class CMPXPluginMonitor : public CActive

Monitors a designated plugin interface. When a plugin for that interface is added or removed, if a client is interested in the event, client will be notified through MMPXPluginMonitorObserver interface.

mpxcommon.lib

Inherits from

Constructor & Destructor Documentation

CMPXPluginMonitor(const TUid &)

CMPXPluginMonitor ( const TUid & aInterfaceUid ) [private]

C++ constructor.

Since
S60 3.2.3

Parameters

const TUid & aInterfaceUid The UID of the plugin interface to be monitored by this instance of CMPXPluginMonitor

~CMPXPluginMonitor()

IMPORT_C ~CMPXPluginMonitor ( )

Destructor.

Since
S60 3.2.3

Member Functions Documentation

AddObserverL(MMPXPluginMonitorObserver &)

void AddObserverL ( MMPXPluginMonitorObserver & aObs )

Add a observer.

Since
S60 3.2.3

Parameters

MMPXPluginMonitorObserver & aObs observer to be added

ConstructL()

void ConstructL ( ) [private]

2nd phase contructor.

Since
S60 3.2.3

DoCancel()

void DoCancel ( ) [private, virtual]

From CActive . Implements cancellation of an outstanding request.

Since
S60 3.2.3

NewL(const TUid &)

IMPORT_C CMPXPluginMonitor * NewL ( const TUid & aInterfaceUid ) [static]

Two-phased constructor.

Since
S60 3.2.3

Parameters

const TUid & aInterfaceUid The UID of the plugin interface to be monitored by this instance of CMPXPluginMonitor

NotifyUnload(const TUid &)

void NotifyUnload ( const TUid & aPluginUid )

Request to notify all observers that they should unload a specified plugin because it is being updated.

Since
S60 3.2.3

Parameters

const TUid & aPluginUid plugin that is being updated

RemoveObserverL(MMPXPluginMonitorObserver &)

void RemoveObserverL ( MMPXPluginMonitorObserver & aObs )

Remove a observer.

Since
S60 3.2.3

Parameters

MMPXPluginMonitorObserver & aObs observer to be removed

RunError(TInt)

TInt RunError ( TInt aError ) [private, virtual]

From CActive . Handles a leave occurring in the request completion event handler RunL() .

Since
S60 3.2.3

Parameters

TInt aError error code

RunL()

void RunL ( ) [private, virtual]

From CActive . Handles an active object's request completion event.

Since
S60 3.2.3

Member Data Documentation

REComSession iECs

REComSession iECs [private]

TUid iInterfaceUid

TUid iInterfaceUid [private]

RPointerArray< MMPXPluginMonitorObserver > iObservers

RPointerArray < MMPXPluginMonitorObserver > iObservers [private]