browserui/browser/BrowserAppInc/WindowInfoProvider.h
branchRCL_3
changeset 65 8e6fa1719340
parent 0 84ad3b177aa3
equal deleted inserted replaced
64:6385c4c93049 65:8e6fa1719340
       
     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 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 *     Browser content view
       
    16 *     
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 #ifndef __MULTIPLE_WINDOWS_INFOPROVIDER_H__
       
    22 #define __MULTIPLE_WINDOWS_INFOPROVIDER_H__
       
    23 
       
    24 // INCLUDE FILES
       
    25 #include <e32std.h>
       
    26 
       
    27 // FORWARD DECLARATIONS
       
    28 class CBrowserWindow;
       
    29 
       
    30 class CWindowInfo: public CBase
       
    31     {
       
    32     public:
       
    33         CWindowInfo( HBufC* aText, TInt aWindowId, TBool aCurrent ) :
       
    34             iWindowText( aText ),
       
    35             iWindowId( aWindowId ),
       
    36             iCurrent( aCurrent ) { }
       
    37         ~CWindowInfo()
       
    38             { delete iWindowText; }
       
    39     public:  // data members
       
    40         const HBufC* iWindowText;
       
    41         TInt iWindowId;
       
    42         TBool iCurrent;
       
    43     };
       
    44 
       
    45 class MWindowInfoProvider
       
    46     {
       
    47     public:
       
    48         virtual HBufC* CreateWindowInfoLC( const CBrowserWindow& aWindow ) = 0;
       
    49     };
       
    50 
       
    51 #endif  // __MULTIPLE_WINDOWS_INFOPROVIDER_H__
       
    52 
       
    53 // End of file