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
Constructor & Destructor Documentation
CMPXPluginMonitor(const TUid &)
CMPXPluginMonitor
|
(
|
const
TUid
&
|
aInterfaceUid
|
)
|
[private]
|
Parameters
const
TUid
& aInterfaceUid
|
The UID of the plugin interface to be monitored by this instance of CMPXPluginMonitor
|
~CMPXPluginMonitor()
IMPORT_C
|
~CMPXPluginMonitor
|
(
|
)
|
|
Member Functions Documentation
AddObserverL(MMPXPluginMonitorObserver &)
void
|
AddObserverL
|
(
|
MMPXPluginMonitorObserver &
|
aObs
|
)
|
|
Parameters
MMPXPluginMonitorObserver & aObs
|
observer to be added
|
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
DoCancel()
void
|
DoCancel
|
(
|
)
|
[private, virtual]
|
From
CActive
. Implements cancellation of an outstanding request.
NewL(const TUid &)
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.
Parameters
const
TUid
& aPluginUid
|
plugin that is being updated
|
RemoveObserverL(MMPXPluginMonitorObserver &)
void
|
RemoveObserverL
|
(
|
MMPXPluginMonitorObserver &
|
aObs
|
)
|
|
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()
.
RunL()
void
|
RunL
|
(
|
)
|
[private, virtual]
|
From
CActive
. Handles an active object's request completion event.
Member Data Documentation
TUid
iInterfaceUid
TUid
|
iInterfaceUid
|
[private]
|
RPointerArray< MMPXPluginMonitorObserver > iObservers
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.