diff -r 0f21a5ec0db7 -r 41b775cdc0c8 extras/calcsoft/src/CalcApp.cpp --- a/extras/calcsoft/src/CalcApp.cpp Thu Aug 19 09:56:23 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,70 +0,0 @@ -/* -* Copyright (c) 2002 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: An application class, CCalcApplication, -* derived from CEikApplication -* -*/ - - - -// INCLUDE FILES - -#include "CalcDoc.h" -#include "CalcApp.h" - -// EXTERNAL FUNCTION PROTOTYPES - -// ================= MEMBER FUNCTIONS ======================= - - -// --------------------------------------------------------- -// CCalcApplication::CreateDocumentL -// This function is called by framework when this calculator is opened. -// (other items were commented in a header). -// --------------------------------------------------------- -// -CApaDocument* CCalcApplication::CreateDocumentL() - { - return CCalcDocument::NewL(*this); - } - - -// --------------------------------------------------------- -// CCalcApplication::AppDllUid -// This function is called by framework -// when this calculator is opened or closed. -// (other items were commented in a header). -// --------------------------------------------------------- -// -TUid CCalcApplication::AppDllUid() const - { - return KUidCalc; - } - - -// ================= OTHER EXPORTED FUNCTIONS ============== - -#include - -LOCAL_C CApaApplication* NewApplication() - { - return new CCalcApplication; - } - -GLDEF_C TInt E32Main() - { - return EikStart::RunApplication(NewApplication); - } - -