wlanutilities/wlansettingsui/inc/wlansettingsuistatuspane.h
changeset 0 56b72877c1cb
equal deleted inserted replaced
-1:000000000000 0:56b72877c1cb
       
     1 /*
       
     2 * Copyright (c) 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: 
       
    15 *      Declaration of class CWlanSettingsUiStatusPane.   
       
    16 *      
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 #ifndef WLAN_SETTINGS_UI_STATUS_PANE_H
       
    22 #define WLAN_SETTINGS_UI_STATUS_PANE_H
       
    23 
       
    24 // INCLUDES
       
    25 
       
    26 #include <e32base.h>
       
    27 
       
    28 // FORWARD DECLARATION
       
    29 
       
    30 class CEikonEnv;
       
    31 class CEikStatusPane;
       
    32 class CAknTitlePane;
       
    33 class CAknNavigationControlContainer;
       
    34 class CAknNavigationDecorator;
       
    35 
       
    36 // CLASS DECLARATION
       
    37 
       
    38 /**
       
    39 * Status pane setter class. Replaces status pane text on construction,
       
    40 * restores old text on deletion.
       
    41 */
       
    42 NONSHARABLE_CLASS( CWlanSettingsUiStatusPane ): public CBase
       
    43     {
       
    44     
       
    45     public:     // Constructors and destructor
       
    46 
       
    47         /**
       
    48         * Two-phased constructor. Leaves on failure.
       
    49         * @param aEikEnv Eikon environment.
       
    50         * aResourceId TBUF resource id.
       
    51         * @return The constructed object.
       
    52         */
       
    53         static CWlanSettingsUiStatusPane* NewLC
       
    54             ( const CEikonEnv* aEikEnv, TInt aResourceId );
       
    55 
       
    56         /**
       
    57         * Destructor.
       
    58         */
       
    59         virtual ~CWlanSettingsUiStatusPane();
       
    60 
       
    61     protected:  // Constructors
       
    62 
       
    63         /**
       
    64         * Second-phase constructor.
       
    65         * @param aEikEnv Eikon environment.
       
    66         * aResourceId TBUF resource id.
       
    67         */
       
    68         void ConstructL( const CEikonEnv* aEikEnv, TInt aResourceId );
       
    69 
       
    70     private:    // Data
       
    71 
       
    72         CEikStatusPane* iStatusPane;                ///< Status pane, not own.
       
    73         CAknTitlePane* iTitlePane;                  ///< Title pane, not own.
       
    74         CAknNavigationControlContainer* iNaviPane;  ///< Navi pane, not own.
       
    75         CAknNavigationDecorator* iNaviDecorator;    ///< Navi decorator, own.
       
    76         HBufC* iOldTitleText;                       ///< Old title text, own.
       
    77 
       
    78     };
       
    79 
       
    80 #endif