usbuis/imageprintui/src/imageprintuiapp.cpp
changeset 0 1e05558e2206
equal deleted inserted replaced
-1:000000000000 0:1e05558e2206
       
     1 /*
       
     2 * Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  S60 UI class
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // INCLUDE FILES
       
    20 #include <eikstart.h>
       
    21 #include "imageprintuiapp.h"
       
    22 #include "imageprintuidocument.h"
       
    23  
       
    24 // ================= MEMBER FUNCTIONS =========================================
       
    25 
       
    26 // ---------------------------------------------------------------------------
       
    27 // CImagePrintUiApp::AppDllUid()
       
    28 // return the Uid of the application
       
    29 // ---------------------------------------------------------------------------
       
    30 //
       
    31 TUid CImagePrintUiApp::AppDllUid() const
       
    32     {
       
    33     return KUidImagePrint;
       
    34     }
       
    35 
       
    36 // ---------------------------------------------------------------------------
       
    37 // CImagePrintUiApp::CreateDocumentL()
       
    38 // Creates CImagePrintUiDocument object
       
    39 // ---------------------------------------------------------------------------
       
    40 //
       
    41 CApaDocument* CImagePrintUiApp::CreateDocumentL()
       
    42     {
       
    43     return CImagePrintUiDocument::NewL( *this );
       
    44     }
       
    45 
       
    46 
       
    47 // ---------------------------------------------------------------------------
       
    48 // Constructs and returns an application object.
       
    49 // ---------------------------------------------------------------------------
       
    50 //
       
    51 LOCAL_C CApaApplication* NewApplication()
       
    52     {
       
    53     return new CImagePrintUiApp;
       
    54     }
       
    55 
       
    56 
       
    57 // ---------------------------------------------------------------------------
       
    58 // Main function of the application executable.
       
    59 // ---------------------------------------------------------------------------
       
    60 //
       
    61 GLDEF_C TInt E32Main()
       
    62     {
       
    63     return EikStart::RunApplication( NewApplication );
       
    64     }
       
    65 
       
    66 // End of File