extras/about/inc/AboutAppUi.h
branchRCL_3
changeset 24 10c6e6d6e4d9
parent 0 3ee3dfdd8d69
equal deleted inserted replaced
23:41b775cdc0c8 24:10c6e6d6e4d9
       
     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:  Declares UI class for application.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef ABOUTAPPUI_H
       
    20 #define ABOUTAPPUI_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <eikapp.h>
       
    24 #include <eikdoc.h>
       
    25 #include <e32std.h>
       
    26 #include <coeccntx.h>
       
    27 #include <aknappui.h>
       
    28 #include <aknnavide.h>                 
       
    29 
       
    30 // FORWARD DECLARATIONS
       
    31 class CAboutContainer;
       
    32 
       
    33 // CONSTANTS
       
    34 
       
    35 // CLASS DECLARATION
       
    36 
       
    37 /**
       
    38 * Application UI class.
       
    39 * Provides support for the following features:
       
    40 * - EIKON control architecture
       
    41 * 
       
    42 */
       
    43 class CAboutAppUi : public CAknAppUi
       
    44     {
       
    45     public: // // Constructors and destructor
       
    46 
       
    47         /**
       
    48         * EPOC default constructor.
       
    49         */      
       
    50         void ConstructL();
       
    51 
       
    52         /**
       
    53         * Destructor.
       
    54         */      
       
    55         ~CAboutAppUi();
       
    56         
       
    57     public: // New functions
       
    58 
       
    59     public: // Functions from base classes
       
    60 
       
    61     private:
       
    62         /**
       
    63         * From CEikAppUi, takes care of command handling.
       
    64         * @param aCommand command to be handled
       
    65         */
       
    66         void HandleCommandL( TInt aCommand );
       
    67         
       
    68         /**
       
    69         * Set the name of the product to navi pane.
       
    70         */        
       
    71         void SetNaviPaneLabelL();
       
    72 
       
    73     private: // Data
       
    74         CAboutContainer* iAppContainer; 
       
    75         CAknNavigationDecorator* iNaviDecorator; 
       
    76         
       
    77         // record whether server is required or not.
       
    78         TBool iSettingType;
       
    79     };
       
    80 
       
    81 #endif
       
    82 
       
    83 // End of File