diff -r 000000000000 -r 1e05558e2206 usbuis/imageprintui/src/imageprintuiapp.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/usbuis/imageprintui/src/imageprintuiapp.cpp Thu Dec 17 09:14:30 2009 +0200 @@ -0,0 +1,66 @@ +/* +* Copyright (c) 2006 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: S60 UI class +* +*/ + + +// INCLUDE FILES +#include +#include "imageprintuiapp.h" +#include "imageprintuidocument.h" + +// ================= MEMBER FUNCTIONS ========================================= + +// --------------------------------------------------------------------------- +// CImagePrintUiApp::AppDllUid() +// return the Uid of the application +// --------------------------------------------------------------------------- +// +TUid CImagePrintUiApp::AppDllUid() const + { + return KUidImagePrint; + } + +// --------------------------------------------------------------------------- +// CImagePrintUiApp::CreateDocumentL() +// Creates CImagePrintUiDocument object +// --------------------------------------------------------------------------- +// +CApaDocument* CImagePrintUiApp::CreateDocumentL() + { + return CImagePrintUiDocument::NewL( *this ); + } + + +// --------------------------------------------------------------------------- +// Constructs and returns an application object. +// --------------------------------------------------------------------------- +// +LOCAL_C CApaApplication* NewApplication() + { + return new CImagePrintUiApp; + } + + +// --------------------------------------------------------------------------- +// Main function of the application executable. +// --------------------------------------------------------------------------- +// +GLDEF_C TInt E32Main() + { + return EikStart::RunApplication( NewApplication ); + } + +// End of File