DirectPrint/DirectPrintApp/src/directprintappapplication.cpp
changeset 19 2275db202402
parent 11 613a5ff70823
equal deleted inserted replaced
2:acc370d7f2f6 19:2275db202402
       
     1 /*
       
     2 * Copyright (c) 2010 Kanrikogaku Kenkyusho, Ltd.
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the License "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 * Kanrikogaku Kenkyusho, Ltd. - Initial contribution
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  
       
    15 *
       
    16 */
       
    17 
       
    18 // INCLUDE FILES
       
    19 #include "DirectPrintApp.hrh"
       
    20 #include "DirectPrintAppDocument.h"
       
    21 #include "DirectPrintAppApplication.h"
       
    22 
       
    23 // ============================ MEMBER FUNCTIONS ===============================
       
    24 
       
    25 // -----------------------------------------------------------------------------
       
    26 // CDirectPrintAppApplication::CreateDocumentL()
       
    27 // Creates CApaDocument object
       
    28 // -----------------------------------------------------------------------------
       
    29 //
       
    30 CApaDocument* CDirectPrintAppApplication::CreateDocumentL()
       
    31 	{
       
    32 	// Create an DirectPrintApp document, and return a pointer to it
       
    33 	return CDirectPrintAppDocument::NewL(*this);
       
    34 	}
       
    35 
       
    36 // -----------------------------------------------------------------------------
       
    37 // CDirectPrintAppApplication::AppDllUid()
       
    38 // Returns application UID
       
    39 // -----------------------------------------------------------------------------
       
    40 //
       
    41 TUid CDirectPrintAppApplication::AppDllUid() const
       
    42 	{
       
    43 	// Return the UID for the DirectPrintApp application
       
    44 	return KUidDirectPrintAppApp;
       
    45 	}
       
    46 
       
    47 // End of File