mediasettings/mediasettingsapp/inc/MPSettingsNetworkView.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 26 Jan 2010 12:00:59 +0200
changeset 1 6711b85517b7
parent 0 96612d01cf9f
permissions -rw-r--r--
Revision: 201001 Kit: 201004

/*
* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of the License "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:   Declares view for application.*
*/


// Version : %version: 2 %



#ifndef MPSETTINGSNETWORKVIEW_H
#define MPSETTINGSNETWORKVIEW_H

// INCLUDES
#include    "MPSettingsBaseView.h"

// CLASS DECLARATION
class CMPSettingsModelForROP;

/**
*  CMPSettingsNetworkView view class.
* 
*  @lib MediaSettings.app
*  @since 2.0
*/
class CMPSettingsNetworkView : public CMPSettingsBaseView
    {
    public: // Constructors and destructor

        /**
        * Two-phased constructor.
        */
        static CMPSettingsNetworkView* NewLC(CMPSettingsModelForROP* aModel, TBool iConstructAsGsPlugin);

        /**
        * Destructor.
        */
        virtual ~CMPSettingsNetworkView();

    public: // Functions from base classes
        
        /**
        * From CAknView
        */
        TUid Id() const;

        /**
        * From MEikMenuObserver
        */
        void HandleCommandL(TInt aCommand);

        /**
        * Sets Navipane text
        * @since 3.1
        */
        void SetNaviPaneL();
        
    protected: // From CMPSettingsBaseView

        /**
        * Creates new view specific container class.
        * @return void
        */
        CMPSettingsBaseContainer* NewContainerL();

    private:

        /**
        * C++ default constructor.
        */
        CMPSettingsNetworkView(CMPSettingsModelForROP* aModel, TBool iConstructAsGsPlugin);

        /**
        * Symbian 2nd phase constructor.
        */
        void ConstructL();

    private: //Data
    
        CMPSettingsModelForROP* iModel;
        TBool   iGsPlugin;

    };

#endif      // MPSETTINGSNETWORKVIEW_H

// End of File