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