API published in: S60 2nd Ed
Required Capabilities
LocalServices Location NetworkServices PowerMgmt ReadDeviceData ReadUserData SwEvent UserEnvironment WriteDeviceData WriteUserData
Exceptions
None
#include <screensaverplugin.h>
Inherited by CScreensaverPluginInterfaceDefinition.
Every plugin module must inherit and implement this class.
Public Member Functions |
|
virtual | ~MScreensaverPlugin () |
Virtual desctructor. |
|
virtual TInt | InitializeL (MScreensaverPluginHost *aHost)=0 |
Used to initialize the plugin module after creation. |
|
virtual TInt | Draw (CWindowGc &aGc)=0 |
When a plugin module is active this method is called every time when refresh timer expires in screensaver application. |
|
virtual const TDesC16 & | Name () const =0 |
Returns the name of plugin module. |
|
virtual TInt | HandleScreensaverEventL (TScreensaverEvent aEvent, TAny *aData)=0 |
Handler function for screensaver events. |
|
virtual TInt | Capabilities () |
Screensaver plugin capabilities query. |
|
virtual TInt | PluginFunction (TScPluginCaps, TAny *) |
Screensaver plugin function method. |
|
Virtual desctructor. |
|
Screensaver plugin capabilities query. The capabilitities reveal which functions the plugin implements, that can be used by calling PluginFunction().
|
|
When a plugin module is active this method is called every time when refresh timer expires in screensaver application.
|
|
Handler function for screensaver events.
|
|
Used to initialize the plugin module after creation. Name() function may be called without the plugin being initialized, to enable name query from modules that are not plugin hosts.
|
|
Returns the name of plugin module. Returned name is displayed in the list of installed plugin modules in Themes application. If this function returns an empty name (KNullDesC), displayed name is taken from ECom registration resource.
|
|
Screensaver plugin function method. Only the functions returned by Capabilities() can be used, and only one function at a time. aFunction
|