browserui/browser/BrowserAppInc/BrowserWindowFocusNotifier.h
branchRCL_3
changeset 64 6385c4c93049
parent 63 4baee4f15982
child 65 8e6fa1719340
equal deleted inserted replaced
63:4baee4f15982 64:6385c4c93049
     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 *
       
    16 */
       
    17 
       
    18 #ifndef BROWSERWINDOWFOCUSNOTFIER_H
       
    19 #define BROWSERWINDOWFOCUSNOTFIER_H
       
    20 
       
    21 //  INCLUDES
       
    22 // User includes
       
    23 // System Includes
       
    24 #include <e32base.h>
       
    25 
       
    26 // CONSTANTS
       
    27 
       
    28 // FORWARD DECLARATIONS
       
    29 
       
    30 // CLASS DECLARATION
       
    31 
       
    32 /**
       
    33 *  Provide dialogs needed for browser operation
       
    34 *
       
    35 *  @since 3.0
       
    36 */
       
    37 class CBrowserWindowFocusNotifier : public CBase   
       
    38     {
       
    39     friend class CBrowserDialogsProviderProxy;
       
    40     
       
    41     // Construction/Destruction
       
    42     public:
       
    43         
       
    44         // Two stage constructor
       
    45         static CBrowserWindowFocusNotifier* NewL();
       
    46               
       
    47         // Destructor
       
    48         virtual ~CBrowserWindowFocusNotifier();
       
    49 
       
    50     protected:
       
    51 
       
    52         // 1st stage Constructor
       
    53         CBrowserWindowFocusNotifier();
       
    54 
       
    55         // 2nd stage constructor
       
    56         void ConstructL();
       
    57 
       
    58     public:         // New functions
       
    59         
       
    60         TInt Add( TRequestStatus* aStatus );
       
    61         void OnFocusGained();
       
    62         
       
    63     protected:      // New functions
       
    64 
       
    65         void FlushAOStatusArray();
       
    66         
       
    67     // DATA MEMBERS
       
    68     private:
       
    69     
       
    70         RPointerArray<TRequestStatus> iAOStatusArray;
       
    71     };
       
    72 
       
    73 #endif      // BROWSERWINDOWFOCUSNOTFIER_H   
       
    74             
       
    75 // End of File