wlanutilities/wlansettingsui/inc/wlansettingsuimainviewdlg.h
branchRCL_3
changeset 54 63be7eb3fc78
parent 52 b852595f5cbe
child 55 f28ada11abbf
equal deleted inserted replaced
52:b852595f5cbe 54:63be7eb3fc78
     1 /*
       
     2 * Copyright (c) 2004 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 "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 CWlanSettingsUiMainViewDlg.   
       
    16 *      
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 #ifndef WLAN_SETTINGS_UI_MAIN_VIEW_DLG_H
       
    22 #define WLAN_SETTINGS_UI_MAIN_VIEW_DLG_H
       
    23 
       
    24 // INCLUDES
       
    25 
       
    26 #include "wlansettingsuidlg.h"
       
    27 #include <wlansettingsui.rsg>
       
    28 
       
    29 // CLASS DECLARATION
       
    30 
       
    31 /**
       
    32 * WLAN settings main view dialog.
       
    33 */
       
    34 NONSHARABLE_CLASS( CWlanSettingsUiMainViewDlg ): public CWlanSettingsUiDlg
       
    35     {
       
    36 
       
    37     public:     // Constructors
       
    38 
       
    39         /**
       
    40         * Constructor.
       
    41         * @param aModel Data model.
       
    42         */
       
    43         inline CWlanSettingsUiMainViewDlg( CWlanSettingsUiModel* aModel );
       
    44 
       
    45     private:    // From CWlanSettingsUiDlg
       
    46 
       
    47         /**
       
    48         * Get menu bar resource id.
       
    49         * @return Menu bar resource id.
       
    50         */
       
    51         inline TInt MenuBarResourceId() const;
       
    52 
       
    53         /**
       
    54         * Get dialog resource id.
       
    55         * @return Dialog resource id.
       
    56         */
       
    57         inline TInt DialogResourceId() const;
       
    58         
       
    59         void FocusChanged(TDrawNow aDrawNow); 
       
    60         
       
    61 
       
    62 
       
    63     private:    // From CAknDialog & its base classes
       
    64 
       
    65         /**
       
    66         * Get help context.
       
    67         * @param aContext Help context is returned here.
       
    68         */
       
    69         void GetHelpContext( TCoeHelpContext& aContext ) const;
       
    70 
       
    71         /**
       
    72         * Initialize menu pane.
       
    73         * @param aResourceId Menu pane resource id.
       
    74         * @param CEikMenuPane Menu pane.
       
    75         */
       
    76         void DynInitMenuPaneL( TInt aResourceId, CEikMenuPane* aMenuPane );
       
    77 
       
    78         /**
       
    79         * Process command.
       
    80         * @param aCommandId Command id.
       
    81         */
       
    82         void ProcessCommandL( TInt aCommandId );
       
    83 
       
    84         };
       
    85 
       
    86 #include "wlansettingsuimainviewdlg.inl"
       
    87 
       
    88 #endif