browserui/browser/BrowserAppInc/WindowObserver.h
branchRCL_3
changeset 65 8e6fa1719340
parent 0 84ad3b177aa3
equal deleted inserted replaced
64:6385c4c93049 65:8e6fa1719340
       
     1 /*
       
     2 * Copyright (c) 2005 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 *      Declaration of class CBrowserWebMenuView.
       
    16 *      Observes browser window events.
       
    17 *      
       
    18 *
       
    19 */
       
    20 
       
    21 
       
    22 #ifndef __WINDOWOBSERVER_H__
       
    23 #define __WINDOWOBSERVER_H__
       
    24 
       
    25 // Events sent to observer
       
    26 enum TWindowEvent
       
    27     {
       
    28     EWindowClose,
       
    29     EWindowOpen,
       
    30     EWindowActivate,
       
    31     EWindowLoadStart,
       
    32     EWindowLoadStop,
       
    33     EWindowCntDisplayed
       
    34     };
       
    35 
       
    36 
       
    37 class MWindowObserver
       
    38     {
       
    39     public:            
       
    40         // Called on window events.   
       
    41         virtual void WindowEventHandlerL( TWindowEvent aEvent, TInt aWindowId ) = 0;
       
    42     };
       
    43 
       
    44 #endif  // __WINDOWOBSERVER_H__
       
    45 
       
    46 // End of file