mediasettings/mediasettingsapp/inc/MPSettingsAppUi.h
branchRCL_3
changeset 8 ce5ada96ab30
parent 1 6711b85517b7
equal deleted inserted replaced
6:7d91903f795f 8:ce5ada96ab30
    13 *
    13 *
    14 * Description:   Declares UI class for application.*
    14 * Description:   Declares UI class for application.*
    15 */
    15 */
    16 
    16 
    17 
    17 
    18 // Version : %version: 5 %
    18 // Version : %version: 6 %
    19 
    19 
    20 
    20 
    21 
    21 
    22 #ifndef MPSETTINGSAPPUI_H
    22 #ifndef MPSETTINGSAPPUI_H
    23 #define MPSETTINGSAPPUI_H
    23 #define MPSETTINGSAPPUI_H
   113         * From MMPSettingsNaviPaneController, updates tab group
   113         * From MMPSettingsNaviPaneController, updates tab group
   114         * according to active view.
   114         * according to active view.
   115         */
   115         */
   116         void UpdateTabIndex();
   116         void UpdateTabIndex();
   117 
   117 
   118 
   118         /**
       
   119         * Activates view.
       
   120 		* @param aViewId View Id
       
   121         */
       
   122         void ActivateLocalViewL( TUid aViewId );
       
   123         
   119     private:
   124     private:
   120 
   125 
   121         /**
   126         /**
   122         * From MEikMenuObserver, dynamically initialises menu pane.
   127         * From MEikMenuObserver, dynamically initialises menu pane.
   123         * @param aResourceId Resource ID identifying the menu pane
   128         * @param aResourceId Resource ID identifying the menu pane
   155         /**
   160         /**
   156         * Create navigation pane tabgroup 
   161         * Create navigation pane tabgroup 
   157         */
   162         */
   158         void AddTabSettingsGroupL();
   163         void AddTabSettingsGroupL();
   159 
   164 
       
   165         /**
       
   166          * Check whether or not the Contrast settings item should be drawn
       
   167 		 * @return ETrue, if contrast item should be visible.
       
   168          */
       
   169         TBool VideoContrastIsSupportedL();        
       
   170         
   160     private: //Data
   171     private: //Data
       
   172 
       
   173         /**
       
   174          * Navi pane. Not own.
       
   175          */
   161         CAknNavigationControlContainer* iNaviPane;
   176         CAknNavigationControlContainer* iNaviPane;
       
   177         
       
   178         /**
       
   179          * Tab group. Not own.
       
   180          */
   162         CAknTabGroup*                   iTabGroup; 
   181         CAknTabGroup*                   iTabGroup; 
   163         CAknNavigationDecorator*        iDecoratedTabGroup; // owned
   182 
       
   183         /**
       
   184          * Decorated tab group. Own.
       
   185          */
       
   186         CAknNavigationDecorator*        iDecoratedTabGroup;
   164 
   187 
   165         CArrayFix<TUid>*                iViewIds;
   188         CArrayFix<TUid>*                iViewIds;
   166         CMPSettingsMainView*            iMainView;
   189         CMPSettingsMainView*            iMainView;
   167         RImplInfoPtrArray               iImplInfoArray;
   190         RImplInfoPtrArray               iImplInfoArray;
   168 
   191 
   169         CMPSettingsModel* iModel;
   192         CMPSettingsModel*               iModel;
   170         CMPSettingsModelForROP* iRopModel;
   193         CMPSettingsModelForROP*         iRopModel;
   171         
   194 		
   172 		TBool	iConstructAsGsPlugin;
   195 		/**
       
   196 		 * Video view availability status.
       
   197 		 */
       
   198 		TBool iVideoViewAvailable;
   173     };
   199     };
   174 
   200 
   175 #endif
   201 #endif
   176 
   202 
   177 // End of File
   203 // End of File