iaupdate/IAD/ui/inc/iaupdateapplication.h
changeset 0 ba25891c3a9e
child 25 7333d7932ef7
equal deleted inserted replaced
-1:000000000000 0:ba25891c3a9e
       
     1 /*
       
     2 * Copyright (c) 2007-2008 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 CIAUpdateApplication
       
    15 *                class 
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 #ifndef __IAUPDATE_APPLICATION_H__
       
    22 #define __IAUPDATE_APPLICATION_H__
       
    23 
       
    24 // INCLUDES
       
    25 #include <aknapp.h>
       
    26 
       
    27 #include "iaupdateuids.h"
       
    28 
       
    29 // CONSTANTS
       
    30 // UID for the application, this should correspond to the uid defined in the mmp file
       
    31 static const TUid KUidIAUpdateApp = { KIAUpdateUiUid };
       
    32 
       
    33 
       
    34 /**
       
    35 * CAppMngrApp application class.
       
    36 * Provides factory to create concrete document object and
       
    37 * application server object
       
    38 */
       
    39 class CIAUpdateApplication : public CAknApplication
       
    40     {
       
    41     
       
    42 private:  // from CAknApplication
       
    43 
       
    44     /**
       
    45     * Returns application's UID 
       
    46     * @return The UID value 
       
    47     */
       
    48     TUid AppDllUid() const;
       
    49 
       
    50     /**
       
    51     * From CApaApplication, creates CAppMngrDocument document object.
       
    52     * @return A pointer to the created document object.
       
    53     */
       
    54     CApaDocument* CreateDocumentL();
       
    55     
       
    56     /**
       
    57     * Creates application server.
       
    58     * @param aAppServer Instance of application server class
       
    59     */
       
    60     void NewAppServerL( CApaAppServer*& aAppServer );
       
    61     };
       
    62     
       
    63 
       
    64 #endif // __IAUPDATE_APPLICATION_H__
       
    65 
       
    66 // End of File