wlanutilities/wlansettingsui/inc/wlansettingsuistatuspane.h
author Pat Downey <patd@symbian.org>
Wed, 01 Sep 2010 12:20:32 +0100
branchRCL_3
changeset 25 f28ada11abbf
parent 0 56b72877c1cb
permissions -rw-r--r--
Revert incorrect RCL_3 drop: Revision: 201029 Kit: 201035

/*
* Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies). 
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description: 
*      Declaration of class CWlanSettingsUiStatusPane.   
*      
*
*/


#ifndef WLAN_SETTINGS_UI_STATUS_PANE_H
#define WLAN_SETTINGS_UI_STATUS_PANE_H

// INCLUDES

#include <e32base.h>

// FORWARD DECLARATION

class CEikonEnv;
class CEikStatusPane;
class CAknTitlePane;
class CAknNavigationControlContainer;
class CAknNavigationDecorator;

// CLASS DECLARATION

/**
* Status pane setter class. Replaces status pane text on construction,
* restores old text on deletion.
*/
NONSHARABLE_CLASS( CWlanSettingsUiStatusPane ): public CBase
    {
    
    public:     // Constructors and destructor

        /**
        * Two-phased constructor. Leaves on failure.
        * @param aEikEnv Eikon environment.
        * aResourceId TBUF resource id.
        * @return The constructed object.
        */
        static CWlanSettingsUiStatusPane* NewLC
            ( const CEikonEnv* aEikEnv, TInt aResourceId );

        /**
        * Destructor.
        */
        virtual ~CWlanSettingsUiStatusPane();

    protected:  // Constructors

        /**
        * Second-phase constructor.
        * @param aEikEnv Eikon environment.
        * aResourceId TBUF resource id.
        */
        void ConstructL( const CEikonEnv* aEikEnv, TInt aResourceId );

    private:    // Data

        CEikStatusPane* iStatusPane;                ///< Status pane, not own.
        CAknTitlePane* iTitlePane;                  ///< Title pane, not own.
        CAknNavigationControlContainer* iNaviPane;  ///< Navi pane, not own.
        CAknNavigationDecorator* iNaviDecorator;    ///< Navi decorator, own.
        HBufC* iOldTitleText;                       ///< Old title text, own.

    };

#endif