diff -r 000000000000 -r f0cf47e981f9 tsrc/CenrepEditor/Src/cenrepeditorapp.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tsrc/CenrepEditor/Src/cenrepeditorapp.cpp Thu Dec 17 08:44:37 2009 +0200 @@ -0,0 +1,68 @@ +/* +* Copyright (c) 2002-2005 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: +* +*/ + + +// INCLUDE FILES +#include +#include "cenrepeditorapp.h" +#include "cenrepeditordocument.h" + +// ================= MEMBER FUNCTIONS ======================= + +// --------------------------------------------------------- +// CCenrepEditorApp::AppDllUid() +// Returns application UID +// --------------------------------------------------------- +// +TUid CCenrepEditorApp::AppDllUid() const + { + return KUidAiwTestApp; + } + +// --------------------------------------------------------- +// CCenrepEditorApp::CreateDocumentL() +// Creates CCenrepEditorDocument object +// --------------------------------------------------------- +// +CApaDocument* CCenrepEditorApp::CreateDocumentL() + { + return CCenrepEditorDocument::NewL( *this ); + } + +// --------------------------------------------------------- +// CCenrepEditorApp::NewApplication() +// Creates NewApplication +// --------------------------------------------------------- +// +LOCAL_C CApaApplication* NewApplication() + { + return new CCenrepEditorApp; + } + +// --------------------------------------------------------- +// E32Main() +// Main startup entry point +// Returns: KErrNone +// --------------------------------------------------------- +// +GLDEF_C TInt E32Main() + { + return EikStart::RunApplication(NewApplication); + } + +// End of File +