appinstaller/AppinstUi/Server/Inc/SWInstApplication.h
changeset 0 ba25891c3a9e
equal deleted inserted replaced
-1:000000000000 0:ba25891c3a9e
       
     1 /*
       
     2 * Copyright (c) 2002-2004 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:   This file contains the header file of the CSWInstApplication 
       
    15 *                class. 
       
    16 *               
       
    17 *                This class is a part of the standard application framework.
       
    18 *                The application gets instantiated starting from this class.
       
    19 *                Provides a factory method for instantiating the document object.
       
    20 *
       
    21 *
       
    22 */
       
    23 
       
    24 
       
    25 #ifndef CSWINSTAPPLICATION_H
       
    26 #define CSWINSTAPPLICATION_H
       
    27 
       
    28 //  INCLUDES
       
    29 #include <aknapp.h>
       
    30 
       
    31 namespace SwiUI
       
    32 {
       
    33         
       
    34 // CLASS DECLARATION
       
    35 
       
    36 /**
       
    37 * This class is a part of the standard application framework.
       
    38 * The application gets instantiated starting from this class.
       
    39 * Provides a factory method for instantiating the document object.
       
    40 *
       
    41 */
       
    42 class CSWInstApplication : public CAknApplication
       
    43     {
       
    44     private:
       
    45         /**
       
    46         * From CApaApplication, Creates CSWInstApplication document object.
       
    47         * @since 3.0
       
    48         * @return A pointer to the created document object.
       
    49         */
       
    50 	CApaDocument* CreateDocumentL();
       
    51 	
       
    52 	/**
       
    53         * From CApaApplication, Returns application's UID.
       
    54         * @since 3.0
       
    55         * @return The value of KUidSWInstSvr.
       
    56         */
       
    57 	TUid AppDllUid() const;
       
    58 
       
    59         /**
       
    60         * From CAknApplication, Creates application server.
       
    61         * @since 3.0
       
    62         */
       
    63         void NewAppServerL( CApaAppServer*& aAppServer );
       
    64     };
       
    65 
       
    66 }
       
    67 
       
    68 #endif      // CSWINSTAPPLICATION_H   
       
    69             
       
    70 // End of File