diff -r 32e56106abf2 -r 66b5fe3c07fd screensaver/snsrplugins/snsrbigclockscreensaverplugin/src/snsrblankcontainer.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/screensaver/snsrplugins/snsrbigclockscreensaverplugin/src/snsrblankcontainer.cpp Wed Oct 06 16:06:24 2010 +0300 @@ -0,0 +1,74 @@ +/* +* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: Container for blank screen. +* +*/ + +#include "snsrblankcontainer.h" + +/*! + \class SnsrBlankContainer + \ingroup group_snsrbigclockscreensaverplugin + \brief Container used for preparing layout for blank screen. + */ + +/*! + Constructs a new SnsrBlankContainer. + */ +SnsrBlankContainer::SnsrBlankContainer() : + SnsrBigClockContainer() +{ +} + +/*! + Destructs the class. + */ +SnsrBlankContainer::~SnsrBlankContainer() +{ +} + +/*! + @copydoc SnsrBigClockContainer::update() + */ +void SnsrBlankContainer::update() +{ + // nothing to do +} + +/*! + @copydoc SnsrBigClockContainer::displayPowerMode() + */ +Screensaver::ScreenPowerMode SnsrBlankContainer::displayPowerMode() +{ + return Screensaver::ScreenModeOff; +} + +/*! + @copydoc SnsrBigClockContainer::updateIntervalInMilliseconds() + */ +int SnsrBlankContainer::updateIntervalInMilliseconds() +{ + // don't start timer + return -1; +} + +/*! + @copydoc SnsrBigClockContainer::loadWidgets() + */ +void SnsrBlankContainer::loadWidgets() +{ + // nothing to do as we have no visual components +} + +// end of file