mediasettings/mediasettingsapp/inc/MPSettingsVideoContainer.h
branchRCL_3
changeset 23 befca0ec475f
parent 0 96612d01cf9f
equal deleted inserted replaced
22:839377eedc2b 23:befca0ec475f
       
     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 container control for application.*
       
    15 */
       
    16 
       
    17 
       
    18 // Version : %version: 3 %
       
    19 
       
    20 
       
    21 
       
    22 #ifndef MPSETTINGSVIDEOCONTAINER_H
       
    23 #define MPSETTINGSVIDEOCONTAINER_H
       
    24 
       
    25 // INCLUDES
       
    26 #include    "videoplayersettingsengine.h"
       
    27 #include    "MPSettingsBaseContainer.h"
       
    28 
       
    29 // FORWARD DECLARATIONS
       
    30 class CAknSettingItemList;
       
    31 class CMPSettingsModelForROP;   
       
    32 class CVcxNsSettingsEngine;
       
    33 
       
    34 // CLASS DECLARATION
       
    35 
       
    36 /**
       
    37 *  CMPSettingsVideoContainer  container control class.
       
    38 *  
       
    39 *  @lib MediaSettings.app
       
    40 *  @since 2.0
       
    41 */
       
    42 class CMPSettingsVideoContainer : public CMPSettingsBaseContainer
       
    43     {
       
    44     public: // Constructors and destructor
       
    45         
       
    46         /**
       
    47         * C++ default constructor.
       
    48         */
       
    49         CMPSettingsVideoContainer(CMPSettingsModelForROP* aModel);
       
    50 
       
    51         /**
       
    52         * Destructor.
       
    53         */
       
    54         virtual ~CMPSettingsVideoContainer();
       
    55 
       
    56     public: // New
       
    57 
       
    58         /**
       
    59         * Edits current setting item.
       
    60         * @since 2.0
       
    61         */
       
    62         void EditCurrentItemFromMenuL(TBool iMenuOption);
       
    63         
       
    64         /**
       
    65         * Check if specified item is currently selected.
       
    66 		*
       
    67 		* @param aIndex		Item index	
       
    68         */
       
    69         TBool IsCurrentItem( TInt aIndex );
       
    70 
       
    71     public: // Functions from base classes
       
    72             
       
    73         /**
       
    74         * From CoeControl
       
    75         */
       
    76         void GetHelpContext(TCoeHelpContext& aContext) const;
       
    77 		void FocusChanged(TDrawNow /*aDrawNow*/);
       
    78   		void SizeChanged();
       
    79   		void HandleResourceChange(TInt aType);
       
    80   
       
    81     protected: // Functions from base classes 
       
    82 
       
    83         /**
       
    84         * From CMPSettingsBaseContainer
       
    85         */
       
    86         void ConstructComponentControlsL();
       
    87 
       
    88     private:    // Functions from base classes
       
    89 
       
    90         /**
       
    91         * From CMPSettingsBaseContainer
       
    92         */
       
    93         TInt TitleResourceId();
       
    94 
       
    95     private:
       
    96         CAknSettingItemList* iSettingList;
       
    97 		CMPSettingsModelForROP* iModel; 
       
    98 		CVcxNsSettingsEngine* iVideoSettingsEngine;
       
    99     };
       
   100 
       
   101 #endif
       
   102 
       
   103 // End of File