mediasettings/mediasettingsapp/inc/MPSettingsNetworkView.h
branchRCL_3
changeset 13 112a725ff2c2
parent 11 5294c000a26d
child 14 8970fbd719ec
equal deleted inserted replaced
11:5294c000a26d 13:112a725ff2c2
     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:   Declares view for application.*
       
    15 */
       
    16 
       
    17 
       
    18 // Version : %version: 2 %
       
    19 
       
    20 
       
    21 
       
    22 #ifndef MPSETTINGSNETWORKVIEW_H
       
    23 #define MPSETTINGSNETWORKVIEW_H
       
    24 
       
    25 // INCLUDES
       
    26 #include    "MPSettingsBaseView.h"
       
    27 
       
    28 // CLASS DECLARATION
       
    29 class CMPSettingsModelForROP;
       
    30 
       
    31 /**
       
    32 *  CMPSettingsNetworkView view class.
       
    33 * 
       
    34 *  @lib MediaSettings.app
       
    35 *  @since 2.0
       
    36 */
       
    37 class CMPSettingsNetworkView : public CMPSettingsBaseView
       
    38     {
       
    39     public: // Constructors and destructor
       
    40 
       
    41         /**
       
    42         * Two-phased constructor.
       
    43         */
       
    44         static CMPSettingsNetworkView* NewLC(CMPSettingsModelForROP* aModel, TBool iConstructAsGsPlugin);
       
    45 
       
    46         /**
       
    47         * Destructor.
       
    48         */
       
    49         virtual ~CMPSettingsNetworkView();
       
    50 
       
    51     public: // Functions from base classes
       
    52         
       
    53         /**
       
    54         * From CAknView
       
    55         */
       
    56         TUid Id() const;
       
    57 
       
    58         /**
       
    59         * From MEikMenuObserver
       
    60         */
       
    61         void HandleCommandL(TInt aCommand);
       
    62 
       
    63         /**
       
    64         * Sets Navipane text
       
    65         * @since 3.1
       
    66         */
       
    67         void SetNaviPaneL();
       
    68         
       
    69     protected: // From CMPSettingsBaseView
       
    70 
       
    71         /**
       
    72         * Creates new view specific container class.
       
    73         * @return void
       
    74         */
       
    75         CMPSettingsBaseContainer* NewContainerL();
       
    76 
       
    77     private:
       
    78 
       
    79         /**
       
    80         * C++ default constructor.
       
    81         */
       
    82         CMPSettingsNetworkView(CMPSettingsModelForROP* aModel, TBool iConstructAsGsPlugin);
       
    83 
       
    84         /**
       
    85         * Symbian 2nd phase constructor.
       
    86         */
       
    87         void ConstructL();
       
    88 
       
    89     private: //Data
       
    90     
       
    91         CMPSettingsModelForROP* iModel;
       
    92         TBool   iGsPlugin;
       
    93 
       
    94     };
       
    95 
       
    96 #endif      // MPSETTINGSNETWORKVIEW_H
       
    97 
       
    98 // End of File