diff -r 474929a40a0f -r 87476091b3f5 screensaver/devicedialogplugins/snsrdevicedialogplugin/inc/snsrdevicedialog.h --- a/screensaver/devicedialogplugins/snsrdevicedialogplugin/inc/snsrdevicedialog.h Wed Jul 14 15:53:30 2010 +0300 +++ b/screensaver/devicedialogplugins/snsrdevicedialogplugin/inc/snsrdevicedialog.h Fri Jul 23 13:47:57 2010 +0300 @@ -23,18 +23,17 @@ - +#include "screensaver.h" #include "snsrtest_global.h" class Screensaver; class SnsrUserActivityServiceInterface; class QGraphicsLinearLayout; class XQSettingsManager; +class HbIndicatorInterface; SCREENSAVER_TEST_CLASS(T_SnsrDeviceDialogPlugin) -class HbIndicatorInterface; - class SnsrDeviceDialog: public HbPopup, public HbDeviceDialogInterface { @@ -55,6 +54,8 @@ }; static const char *dataKeyUnlock; + static const char *dataKeySwitchLights; + static const char *dataKeySwitchLowPower; public: // methods @@ -77,6 +78,7 @@ void screensaverFaulted(); void changeLayout(Qt::Orientation); void requestUnlock(); + void requestScreenMode(Screensaver::ScreenPowerMode mode); // slots for signals emitted by HbIndicatorPluginManager void indicatorsActivated(const QList &activatedIndicators); void indicatorActivated(HbIndicatorInterface *activatedIndicator);