Home · All Namespaces · All Classes
Public Types | Public Member Functions

ScreenLockExtensionInterface Class Reference

ScreenLockExtensionInterface is the base class for screen lock extension classes. More...

#include <screenlockextensioninterface.h>

Inheritance diagram for ScreenLockExtensionInterface:
Inheritance graph
[legend]

List of all members.

Public Types

enum  ScreenLockMode { NormalMode, LowPowerMode, DisplayOffMode }
 

Screen lock modes.

More...

Public Member Functions

virtual ~ScreenLockExtensionInterface ()
virtual void reset ()=0
virtual void setNotificationManagerInterface (NotificationManagerInterface &notificationManager)=0
virtual QObject * qObject ()=0
virtual void setMode (ScreenLockMode mode)=0

Detailed Description

ScreenLockExtensionInterface is the base class for screen lock extension classes.

Extension developers need to implement this interface in their extension binary and export their implementation from the binary. The host application will maintain an inventory of available extensions and instantiate them using this interface when needed.


Member Enumeration Documentation

Screen lock modes.

Enumerator:
NormalMode 
LowPowerMode 
DisplayOffMode 

Constructor & Destructor Documentation

virtual ScreenLockExtensionInterface::~ScreenLockExtensionInterface (  )  [inline, virtual]

Destructor.


Member Function Documentation

virtual QObject* ScreenLockExtensionInterface::qObject (  )  [pure virtual]

Returns the QObject that implements the interface.

Returns:
the QObject that implements the interface

Implemented in ScreenLockExtension.

virtual void ScreenLockExtensionInterface::reset (  )  [pure virtual]

Resets the screen lock extension to its initial state.

Implemented in ScreenLockExtension.

virtual void ScreenLockExtensionInterface::setMode ( ScreenLockMode  mode  )  [pure virtual]

Sets the mode of the screen lock.

Parameters:
mode the screen lock mode

Implemented in ScreenLockExtension.

virtual void ScreenLockExtensionInterface::setNotificationManagerInterface ( NotificationManagerInterface notificationManager  )  [pure virtual]

Sets the notification manager interface to be used in the extension.

Parameters:
notificationManager the interface to be used in the extension

Implemented in ScreenLockExtension.


The documentation for this class was generated from the following file:

Copyright © 2011 Nokia Corporation Generated on Tue Aug 30 2011 16:38:13
Doxygen 1.7.1
MeeGo Touch