sl@0: // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // sl@0: sl@0: /** sl@0: @file sl@0: @test sl@0: @internalComponent sl@0: */ sl@0: sl@0: #include sl@0: sl@0: #include "t_fpsappdoc.h" sl@0: #include "t_fpsapp.h" sl@0: #include "t_wservconsts.h" //KUidPseudoapp sl@0: sl@0: sl@0: /** sl@0: * Gets the application specific UID. sl@0: * @return - UID of the simpleapp application sl@0: * sl@0: */ sl@0: TUid CFpsApplication::AppDllUid() const sl@0: { sl@0: return KUidFpsApp; sl@0: } sl@0: sl@0: /** sl@0: * Creates a document object for the application sl@0: * @return pointer to the newly created document sl@0: * sl@0: */ sl@0: CApaDocument* CFpsApplication::CreateDocumentL() sl@0: { sl@0: return new (ELeave) CFpsDocument(*this); sl@0: } sl@0: sl@0: /** sl@0: * Creates and returns the object of the application sl@0: * @return pointer to the newly created application sl@0: * sl@0: */ sl@0: LOCAL_C CApaApplication* NewApplication() sl@0: { sl@0: return new CFpsApplication; sl@0: } sl@0: sl@0: /** sl@0: * Entry point for the application sl@0: * sl@0: */ sl@0: GLDEF_C TInt E32Main() sl@0: { sl@0: return EikStart::RunApplication(NewApplication); sl@0: } sl@0: sl@0: