startupservices/Startup/inc/StartupDocument.h
changeset 0 2e3d3ce01487
child 29 6a787171e1de
equal deleted inserted replaced
-1:000000000000 0:2e3d3ce01487
       
     1 /*
       
     2 * Copyright (c) 2002 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:  Document class of the module.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef STARTUPDOCUMENT_H
       
    21 #define STARTUPDOCUMENT_H
       
    22 
       
    23 // INCLUDES
       
    24 #include <AknDoc.h>
       
    25 
       
    26 // FORWARD DECLARATIONS
       
    27 class   CEikAppUi;
       
    28 
       
    29 // CLASS DECLARATION
       
    30 
       
    31 /**
       
    32 *  CStartupDocument application class.
       
    33 */
       
    34 class CStartupDocument : public CAknDocument
       
    35 {
       
    36     public:
       
    37 
       
    38         /**
       
    39         *   C++ default constructor.
       
    40         */
       
    41         CStartupDocument(CEikApplication& aApp): CAknDocument(aApp) { }
       
    42 
       
    43         /**
       
    44         *   Two-phased constructor.
       
    45         */
       
    46         static CStartupDocument* NewL(CEikApplication& aApp);
       
    47 
       
    48         /**
       
    49         *   Destructor.
       
    50         */
       
    51         virtual ~CStartupDocument();
       
    52 
       
    53     private:
       
    54         /**
       
    55         *   EPOC default constructor.
       
    56         */
       
    57         void ConstructL();
       
    58 
       
    59         /**
       
    60         * This method makes an application hidden so that it is not visible
       
    61         * for example in Applications list and FastSwap window.
       
    62         * @param CApaWindowGroupName* aWgName
       
    63         * @return void        
       
    64         */
       
    65         void UpdateTaskNameL( CApaWindowGroupName* aWgName );
       
    66 
       
    67     private:// from CEikDocument
       
    68 
       
    69         /**
       
    70         * Create CStartupAppUi object.
       
    71         */
       
    72         CEikAppUi* CreateAppUiL();
       
    73         
       
    74     private:// data
       
    75 
       
    76 };
       
    77 
       
    78 #endif
       
    79 
       
    80 //End of file