CPsmPluginBase Class Reference

class CPsmPluginBase : public CBase

PSM Plugin base class

Base class for PSM ECom plug-ins

Inherits from

Nested Classes and Structures

Constructor & Destructor Documentation

CPsmPluginBase(TPsmPluginCTorParams &)

CPsmPluginBase(TPsmPluginCTorParams &aInitParams)[protected, inline]

C++ constructor.

Parameters

TPsmPluginCTorParams & aInitParams

~CPsmPluginBase()

~CPsmPluginBase()[inline, virtual]

Destructor.

Member Functions Documentation

NewL(const TUid &, MPsmSettingsProvider &)

CPsmPluginBase *NewL(const TUid &aImplementationUid,
MPsmSettingsProvider &aSettingsProvider
)[static, inline]

Creates a new PSM plug-in base class.

Parameters

const TUid & aImplementationUidUID of the implementation to create.
MPsmSettingsProvider & aSettingsProvider

NewLC(const TUid &, MPsmSettingsProvider &)

CPsmPluginBase *NewLC(const TUid &aImplementationUid,
MPsmSettingsProvider &aSettingsProvider
)[static, inline]

Creates a new PSM plug-in base class.

Parameters

const TUid & aImplementationUidUID of the implementation to create.
MPsmSettingsProvider & aSettingsProvider

NotifyModeChange(const TInt)

voidNotifyModeChange(const TIntaMode)[pure virtual]

Notifies plugin about the power save mode change. There is only one active plugin at a time, meaning that when this plugin has done its mode change, next plugin has process time to complete its mode change. because of this it is good not to make any heavy processes during this mode change.

Parameters

const TInt aModeMode to change to.

Member Data Documentation

TUid iDestructorIdKey

TUid iDestructorIdKey[private]

destructor key

MPsmSettingsProvider & iSettingsProvider

MPsmSettingsProvider &iSettingsProvider[protected]

Reference to settings provider API