iaupdate/IAD/launcher/inc/iaupdatelauncherdocument.h
branchRCL_3
changeset 66 8b7f4e561641
parent 0 ba25891c3a9e
equal deleted inserted replaced
65:7333d7932ef7 66:8b7f4e561641
       
     1 /*
       
     2 * Copyright (c) 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 CIAUpdateLauncherDocument
       
    15 *                class 
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 #ifndef __IAUPDATELAUNCHERDOCUMENT_H__
       
    23 #define __IAUPDATELAUNCHERDOCUMENT_H__
       
    24 
       
    25 // INCLUDES
       
    26 #include <AknDoc.h>
       
    27 
       
    28 // FORWARD DECLARATIONS
       
    29 class CIAUpdateLauncherAppUi;
       
    30 class CEikApplication;
       
    31 
       
    32 
       
    33 // CLASS DECLARATION
       
    34 
       
    35 /**
       
    36 * CLauncherDocument application class.
       
    37 * An instance of class CLauncherDocument is the Document part of the
       
    38 * AVKON application framework for the Launcher example application.
       
    39 */
       
    40 class CIAUpdateLauncherDocument : public CAknDocument
       
    41     {
       
    42     public: // Constructors and destructor
       
    43 
       
    44         /**
       
    45         * NewL.
       
    46         * Two-phased constructor.
       
    47         * Construct a CIAUpdateLauncherDocument for the AVKON application aApp
       
    48         * using two phase construction, and return a pointer
       
    49         * to the created object.
       
    50         * @param aApp Application creating this document.
       
    51         * @return A pointer to the created instance of CIAUpdateLauncherDocument
       
    52         */
       
    53         static CIAUpdateLauncherDocument* NewL( CEikApplication& aApp );
       
    54 
       
    55         /**
       
    56         * NewLC.
       
    57         * Two-phased constructor.
       
    58         * Construct a CIAUpdateLauncherDocument for the AVKON application aApp
       
    59         * using two phase construction, and return a pointer
       
    60         * to the created object.
       
    61         * @param aApp Application creating this document.
       
    62         * @return A pointer to the created instance of CIAUpdateLauncherDocument.
       
    63         */
       
    64         static CIAUpdateLauncherDocument* NewLC( CEikApplication& aApp );
       
    65 
       
    66         /**
       
    67         * ~CLauncherDocument
       
    68         * Virtual Destructor.
       
    69         */
       
    70         virtual ~CIAUpdateLauncherDocument();
       
    71 
       
    72     public: // Functions from base classes
       
    73 
       
    74         /**
       
    75         * CreateAppUiL
       
    76         * From CEikDocument, CreateAppUiL.
       
    77         * Create a CIAUpdateLauncherAppUi object and return a pointer to it.
       
    78         * The object returned is owned by the Uikon framework.
       
    79         * @return Pointer to created instance of AppUi.
       
    80         */
       
    81         CEikAppUi* CreateAppUiL();
       
    82 
       
    83     private: // Constructors
       
    84 
       
    85         /**
       
    86         * ConstructL
       
    87         * 2nd phase constructor.
       
    88         */
       
    89         void ConstructL();
       
    90 
       
    91         /**
       
    92         * CLauncherDocument.
       
    93         * C++ default constructor.
       
    94         * @param aApp Application creating this document.
       
    95         */
       
    96         CIAUpdateLauncherDocument( CEikApplication& aApp );
       
    97 
       
    98     };
       
    99 
       
   100 #endif // __IAUPDATELAUNCHERDOCUMENT_H__
       
   101 
       
   102 // End of File
       
   103