screensaver/snsrplugins/snsrbigclockscreensaverplugin/src/snsrblankcontainer.cpp
changeset 97 66b5fe3c07fd
parent 86 e4f038c420f7
equal deleted inserted replaced
95:32e56106abf2 97:66b5fe3c07fd
       
     1 /*
       
     2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Container for blank screen.
       
    15 *
       
    16 */
       
    17 
       
    18 #include "snsrblankcontainer.h"
       
    19 
       
    20 /*!
       
    21     \class SnsrBlankContainer
       
    22     \ingroup group_snsrbigclockscreensaverplugin
       
    23     \brief Container used for preparing layout for blank screen.
       
    24  */
       
    25 
       
    26 /*!
       
    27     Constructs a new SnsrBlankContainer.
       
    28  */
       
    29 SnsrBlankContainer::SnsrBlankContainer() :
       
    30     SnsrBigClockContainer()
       
    31 {
       
    32 }
       
    33 
       
    34 /*!
       
    35     Destructs the class.
       
    36  */
       
    37 SnsrBlankContainer::~SnsrBlankContainer()
       
    38 {
       
    39 }
       
    40 
       
    41 /*!
       
    42     @copydoc SnsrBigClockContainer::update()
       
    43  */
       
    44 void SnsrBlankContainer::update()
       
    45 {
       
    46     // nothing to do
       
    47 }
       
    48 
       
    49 /*!
       
    50     @copydoc SnsrBigClockContainer::displayPowerMode()
       
    51  */
       
    52 Screensaver::ScreenPowerMode SnsrBlankContainer::displayPowerMode()
       
    53 {
       
    54     return Screensaver::ScreenModeOff;
       
    55 }
       
    56 
       
    57 /*!
       
    58     @copydoc SnsrBigClockContainer::updateIntervalInMilliseconds()
       
    59  */
       
    60 int SnsrBlankContainer::updateIntervalInMilliseconds()
       
    61 {
       
    62     // don't start timer
       
    63     return -1;
       
    64 }
       
    65 
       
    66 /*!
       
    67     @copydoc SnsrBigClockContainer::loadWidgets()
       
    68  */
       
    69 void SnsrBlankContainer::loadWidgets()
       
    70 {
       
    71     // nothing to do as we have no visual components
       
    72 }
       
    73 
       
    74 // end of file