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