smartinstaller/bootstrap/src/bootstrapapplication.cpp
branchADM
changeset 48 364021cecc90
equal deleted inserted replaced
47:3f419852be07 48:364021cecc90
       
     1 /*
       
     2 * Copyright (c) 2009-2010 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:
       
    15 *     CBootstrapApplication class implementation.
       
    16 *
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 // INCLUDE FILES
       
    22 #include "bootstrapconst.h"
       
    23 #include "bootstrapdocument.h"
       
    24 #include "bootstrapapplication.h"
       
    25 
       
    26 // ============================ MEMBER FUNCTIONS ===============================
       
    27 // -----------------------------------------------------------------------------
       
    28 // CBootstrapApplication::CreateDocumentL()
       
    29 // Creates CApaDocument object
       
    30 // -----------------------------------------------------------------------------
       
    31 //
       
    32 CApaDocument* CBootstrapApplication::CreateDocumentL()
       
    33 	{
       
    34 	// Create an Bootstrap document, and return a pointer to it
       
    35 	return (static_cast<CApaDocument*>
       
    36 					( CBootstrapDocument::NewL( *this ) ) );
       
    37 	}
       
    38 
       
    39 // -----------------------------------------------------------------------------
       
    40 // CBootstrapApplication::AppDllUid()
       
    41 // Returns application UID
       
    42 // -----------------------------------------------------------------------------
       
    43 //
       
    44 TUid CBootstrapApplication::AppDllUid() const
       
    45 	{
       
    46 	// Return the UID for the Bootstrap application
       
    47 	return KUidBootstrapApp;
       
    48 	}
       
    49 
       
    50 // End of File