browserui/browser/BrowserAppInc/BrowserWindowManager.inl
changeset 51 48e827313edd
parent 37 481242ead638
child 53 f427d27b98d8
equal deleted inserted replaced
37:481242ead638 51:48e827313edd
     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 *      Inline methods for CBrowserPreferences.
       
    16 *
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 #ifndef BROWSER_WINDOWMANAGER_INL
       
    22 #define BROWSER_WINDOWMANAGER_INL
       
    23 
       
    24 // -----------------------------------------------------------------------------
       
    25 // CBrowserWindowManager::ApiProvider()
       
    26 // -----------------------------------------------------------------------------
       
    27 //
       
    28 MApiProvider* CBrowserWindowManager::ApiProvider() const
       
    29     {
       
    30     return iApiProvider;
       
    31     }
       
    32 
       
    33 // -----------------------------------------------------------------------------
       
    34 // CBrowserWindowManager::ContentView()
       
    35 // -----------------------------------------------------------------------------
       
    36 //
       
    37 CBrowserContentView* CBrowserWindowManager::ContentView() const
       
    38     {
       
    39     return iContentView;
       
    40     }
       
    41 
       
    42 // -----------------------------------------------------------------------------
       
    43 // CBrowserWindowManager::SetUserExit()
       
    44 // -----------------------------------------------------------------------------
       
    45 //
       
    46 void CBrowserWindowManager::SetUserExit( TBool aUserExit )
       
    47     {
       
    48     iUserExit = aUserExit;
       
    49     }
       
    50 
       
    51 // -----------------------------------------------------------------------------
       
    52 // CBrowserWindowManager::MaxWindowCount()
       
    53 // -----------------------------------------------------------------------------
       
    54 //
       
    55 TInt CBrowserWindowManager::MaxWindowCount() const
       
    56     {
       
    57     return iMaxWindowCount;
       
    58     }
       
    59 
       
    60 // -----------------------------------------------------------------------------
       
    61 // CBrowserWindowManager::IsContentExist()
       
    62 // -----------------------------------------------------------------------------
       
    63 //
       
    64 // is there any content in the window?
       
    65 TBool CBrowserWindowManager::IsContentExist() const
       
    66     {
       
    67     return iIsContentExist;
       
    68     }
       
    69         
       
    70 // -----------------------------------------------------------------------------
       
    71 // CBrowserWindowManager::SetContentExist()
       
    72 // -----------------------------------------------------------------------------
       
    73 //
       
    74 // content was shown in the window
       
    75 void CBrowserWindowManager::SetContentExist( TBool aValue )
       
    76     {
       
    77     iIsContentExist = aValue;
       
    78     }
       
    79         
       
    80 #endif  // BROWSER_WINDOWMANAGER_INL
       
    81 
       
    82 // End of File