diff -r 058b1fc1663a -r 8a173132b0aa src/Screensaver.cpp --- a/src/Screensaver.cpp Mon Jan 18 20:19:52 2010 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,105 +0,0 @@ -/* -* Copyright (c) 2004 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: Document and application class file for screensaver app. -* -*/ - - - -#include -#include "screensaver.hrh" -#include "screensaver.h" -#include "screensaverappui.h" - - - -// ----------------------------------------------------------------------------- -// CScreensaverDocument::ConstructL -// ----------------------------------------------------------------------------- -// -void CScreensaverDocument::ConstructL() - { - } - -// ----------------------------------------------------------------------------- -// CScreensaverDocument::CScreensaverDocument -// ----------------------------------------------------------------------------- -// -CScreensaverDocument::CScreensaverDocument(CEikApplication& aApp): CAknDocument(aApp) - { - } - -// ----------------------------------------------------------------------------- -// CScreensaverDocument::~CScreensaverDocument -// ----------------------------------------------------------------------------- -// -CScreensaverDocument::~CScreensaverDocument() - { - - } - -// -// CScreensaverEikDocument -// - -// ----------------------------------------------------------------------------- -// CScreensaverDocument::CreateAppUiL -// ----------------------------------------------------------------------------- -// -CEikAppUi* CScreensaverDocument::CreateAppUiL() - { - return ( new (ELeave) CScreensaverAppUi ); - } - - -// -// CScreensaverApplication -// -// ----------------------------------------------------------------------------- -// CScreensaverApplication::CreateDocumentL -// ----------------------------------------------------------------------------- -// -CApaDocument* CScreensaverApplication::CreateDocumentL() - { - CScreensaverDocument* document=new(ELeave) CScreensaverDocument(*this); - // No need to do ConstructL for document since it is empty. - return(document); - } - -// ----------------------------------------------------------------------------- -// CScreensaverApplication::AppDllUid -// ----------------------------------------------------------------------------- -// -TUid CScreensaverApplication::AppDllUid() const - { - return KUidScreensaverApp; - } - - -// -// EXPORTed functions -// -LOCAL_C CApaApplication* NewApplication() - { - return new CScreensaverApplication; - } - - -GLDEF_C TInt E32Main() - { - return EikStart::RunApplication(NewApplication); - } - - -// End of file.