usbuis/imageprintui/src/imageprintuiapp.cpp
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 17 Dec 2009 09:14:30 +0200
changeset 0 1e05558e2206
permissions -rw-r--r--
Revision: 200949 Kit: 200951

/*
* 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 <eikstart.h>
#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