browserui/browser/BrowserAppInc/BrowserContentViewToolbar.h
branchRCL_3
changeset 64 6385c4c93049
parent 63 4baee4f15982
child 65 8e6fa1719340
equal deleted inserted replaced
63:4baee4f15982 64:6385c4c93049
     1 /*
       
     2 * Copyright (c) 2007 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 the License "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 *      Helper class that handles the toolbar
       
    16 *      
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 #ifndef BROWSERCONTENTVIEWTOOLBAR_H
       
    22 #define BROWSERCONTENTVIEWTOOLBAR_H
       
    23 
       
    24 //  INCLUDES
       
    25 #include <e32std.h>
       
    26 #include "browser.hrh"
       
    27 
       
    28 // FORWARD DECLARATIONS
       
    29 class CBrowserContentView;
       
    30 class CAknToolbar;
       
    31 
       
    32 
       
    33 
       
    34 //save and load last state
       
    35 
       
    36 
       
    37 // CLASS DECLARATION
       
    38 
       
    39 /**
       
    40 *  Helper class that handles the toolbar
       
    41 *  
       
    42 *  @lib Browser.app
       
    43 *  @since Series 60 1.2
       
    44 */ 
       
    45 class CBrowserContentViewToolbar : public CBase
       
    46     {
       
    47 	public :	// constructor, destructor
       
    48 
       
    49         /**
       
    50         * Two-phased constructor.
       
    51         */
       
    52  		static CBrowserContentViewToolbar* NewL(CBrowserContentView* aBrowserContentView);
       
    53 
       
    54         /**
       
    55         * Destructor.
       
    56         */
       
    57  		virtual ~CBrowserContentViewToolbar();
       
    58 
       
    59 	private :	// construction
       
    60 
       
    61 		/**
       
    62 		* Default C++ constructor.
       
    63 		* @param aBrowserContentView
       
    64 		*/
       
    65 		CBrowserContentViewToolbar(CBrowserContentView* aBrowserContentView);
       
    66 
       
    67         /**
       
    68         * Symbian OS constructor that can leave.
       
    69         */
       
    70  		void ConstructL();
       
    71 
       
    72 	public:  // New functions
       
    73 
       
    74 
       
    75 		/**
       
    76 		* Enable/disable the toolbar's buttons
       
    77 		*/
       
    78         void UpdateButtonsStateL();
       
    79         
       
    80     private: // data
       
    81 
       
    82         CBrowserContentView* iBrowserContentView;
       
    83     };
       
    84 
       
    85 #endif // BROWSERCONTENTVIEWTOOLBAR_H
       
    86             
       
    87 // End of File