src/NPRApplication.cpp
changeset 0 0049171ecffb
equal deleted inserted replaced
-1:000000000000 0:0049171ecffb
       
     1 /*
       
     2  ============================================================================
       
     3  Name	: NPRApplication.cpp
       
     4  Author	: John Kern
       
     5  
       
     6  Copyright (c) 2009 Symbian Foundation Ltd
       
     7  This component and the accompanying materials are made available
       
     8  under the terms of the License "Eclipse Public License v1.0"
       
     9  which accompanies this distribution, and is available
       
    10  at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
    11 
       
    12  Initial Contributors:
       
    13  - Symbian Foundation Ltd - initial contribution.
       
    14  
       
    15  Contributors:
       
    16  - John Kern
       
    17  
       
    18  Description : This file contains panic codes.
       
    19  ============================================================================
       
    20  */
       
    21 
       
    22 
       
    23 // INCLUDE FILES
       
    24 #include "NPR.hrh"
       
    25 #include "NPRDocument.h"
       
    26 #include "NPRApplication.h"
       
    27 
       
    28 // ============================ MEMBER FUNCTIONS ===============================
       
    29 
       
    30 // -----------------------------------------------------------------------------
       
    31 // CNPRApplication::CreateDocumentL()
       
    32 // Creates CApaDocument object
       
    33 // -----------------------------------------------------------------------------
       
    34 //
       
    35 CApaDocument* CNPRApplication::CreateDocumentL()
       
    36 	{
       
    37 	// Create an NPR document, and return a pointer to it
       
    38 	return CNPRDocument::NewL(*this);
       
    39 	}
       
    40 
       
    41 // -----------------------------------------------------------------------------
       
    42 // CNPRApplication::AppDllUid()
       
    43 // Returns application UID
       
    44 // -----------------------------------------------------------------------------
       
    45 //
       
    46 TUid CNPRApplication::AppDllUid() const
       
    47 	{
       
    48 	// Return the UID for the NPR application
       
    49 	return KUidNPRApp;
       
    50 	}
       
    51 
       
    52 // End of File