diff -r 058b1fc1663a -r 8a173132b0aa inc/screensaverctrlnone.h --- a/inc/screensaverctrlnone.h Mon Jan 18 20:19:52 2010 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,107 +0,0 @@ -/* -* Copyright (c) 2009 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: Definitions for the display object of none type -* -*/ - - - -#ifndef C_SCREENSAVERCTRLNONE_H -#define C_SCREENSAVERCTRLNONE_H - -#include "screensaverbase.h" - -/** - * The none type of the display object to cut off the screen light - */ -class CScreensaverCtrlNone : public CScreensaverBase - { -public: - /** - * The symbian c++ constructor - */ - static CScreensaverCtrlNone* NewL(); - - - /** - * destructor - */ - ~CScreensaverCtrlNone(); - - /** - * Start the control needed timer - */ - void StartTimer(); - - /** - * Cancels the timer - */ - void CancelTimer(); - - /** - * Show the control - */ - void DrawObject(); - - /** - * Clear the screen - */ - void ClearScreen(); - - /* - * Refresh the display - */ - void Refresh(); - -public: - // From CCoeControl - - /** - * Resource change handling - */ - void HandleResourceChange( TInt aType ); - - /** - * Responds to changes to the size and position of the contents - * of this control. - */ - void SizeChanged(); - -private: - - /** - *The Default C++ constructor - */ - CScreensaverCtrlNone(); - - /** - * The two-phased constructor - */ - void ConstructL(); - - /** - * Switch off light in aSecs - * - * @param aSecs after this seconds, screen will switch light - */ - void SwitchLights( TInt aSecs ); - - /** - * Switch on/off the screen - */ - void SwitchDisplayState( TInt aState ); - - }; - -#endif // C_SCREENSAVERCTRLNONE_H