smartinstaller/adm/inc/ADMApplication.h
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 *     Declares main application class.
       
    16 *
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 #ifndef __ADMAPPLICATION_H__
       
    22 #define __ADMAPPLICATION_H__
       
    23 
       
    24 // INCLUDES
       
    25 #include <aknapp.h>
       
    26 #include "ADM.hrh"
       
    27 
       
    28 // UID for the application;
       
    29 // this should correspond to the uid defined in the mmp file
       
    30 const TUid KUidADMApp =
       
    31 	{
       
    32 	_UID3
       
    33 	};
       
    34 
       
    35 // CLASS DECLARATION
       
    36 
       
    37 /**
       
    38  * CADMApplication application class.
       
    39  * Provides factory to create concrete document object.
       
    40  * An instance of CADMApplication is the application part of the
       
    41  * AVKON application framework for the ADM example application.
       
    42  */
       
    43 class CADMApplication : public CAknApplication
       
    44 	{
       
    45 public:
       
    46 	// Functions from base classes
       
    47 
       
    48 	/**
       
    49 	 * From CApaApplication, AppDllUid.
       
    50 	 * @return Application's UID (KUidADMApp).
       
    51 	 */
       
    52 	TUid AppDllUid() const;
       
    53 
       
    54 protected:
       
    55 	// Functions from base classes
       
    56 
       
    57 	/**
       
    58 	 * From CApaApplication, CreateDocumentL.
       
    59 	 * Creates CADMDocument document object. The returned
       
    60 	 * pointer in not owned by the CADMApplication object.
       
    61 	 * @return A pointer to the created document object.
       
    62 	 */
       
    63 	CApaDocument* CreateDocumentL();
       
    64 	};
       
    65 
       
    66 #endif // __ADMAPPLICATION_H__
       
    67 // End of File