systemsettings/GSAccessoryPlugin/inc/gsacctvoutview.h
changeset 0 2e3d3ce01487
equal deleted inserted replaced
-1:000000000000 0:2e3d3ce01487
       
     1 /*
       
     2 * Copyright (c) 2005-2008 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 "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:  Declaration of CGSAccTvoutView class
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef GSACCTVOUTVIEW_H
       
    20 #define GSACCTVOUTVIEW_H
       
    21 
       
    22 #include "gsaccbaseview.h"
       
    23 
       
    24 class CGSServerEngine;
       
    25 
       
    26 /**
       
    27 *  CGSAccTvoutView view class
       
    28 *
       
    29 *  view class for Tvout setting
       
    30 */
       
    31 class CGSAccTvoutView : public CGSAccBaseView
       
    32     {
       
    33 
       
    34 public: // Constructors and destructor
       
    35 
       
    36     /**
       
    37     * Constructs a CGSAccTvoutView object.
       
    38     *
       
    39     * @param aModel Data model for reading and writing settings.
       
    40     * @return The new object
       
    41     */
       
    42     static CGSAccTvoutView* NewLC( CGSAccessoryPluginModel& aModel );
       
    43 
       
    44     /**
       
    45     * Destructor.
       
    46     */
       
    47     virtual ~CGSAccTvoutView();
       
    48 
       
    49 private: // From CGSAccBaseView
       
    50 
       
    51     /**
       
    52     * @see class CGSAccBaseView.
       
    53     */
       
    54     void HandleCommandL( TInt aCommand );
       
    55 
       
    56     /**
       
    57     * @see class CGSAccBaseView.
       
    58     */
       
    59     void NewContainerL();
       
    60 
       
    61     /**
       
    62     * @see class CGSAccBaseView.
       
    63     */
       
    64     void HandleListBoxSelectionL( TInt aSelectedItem );
       
    65 
       
    66 private: // From CAknView
       
    67 
       
    68     /**
       
    69     * @see class CAknView.
       
    70     */
       
    71     TUid Id() const;
       
    72 
       
    73 private:
       
    74 
       
    75     /**
       
    76     * First phase constructor.
       
    77     *
       
    78     * @param aModel Data model for reading and writing settings.
       
    79     */
       
    80     CGSAccTvoutView( CGSAccessoryPluginModel& aModel );
       
    81 
       
    82     /**
       
    83     * Second phase constructor.
       
    84     */
       
    85     void ConstructL();
       
    86 
       
    87     /**
       
    88     * Change aspect ratio setting.
       
    89     *
       
    90     * @param aSettingPage Show the setting page if ETrue, otherwise just flip
       
    91     * the value.
       
    92     */
       
    93     void ChangeAspectRatioSettingL( TBool aUseSettingPage );
       
    94 
       
    95     /**
       
    96     * Change flicker filter setting.
       
    97     *
       
    98     * @param aSettingPage Show the setting page if ETrue, otherwise just flip
       
    99     * the value.
       
   100     */
       
   101     void ChangeFlickerFilterSettingL( TBool aSettingPage );
       
   102 
       
   103     /**
       
   104     * Show TV system setting page and store the users selection.
       
   105     */
       
   106     void ChangeTvSystemSettingL();
       
   107 
       
   108     /**
       
   109     * Display note that some of the settings has changed.
       
   110     */
       
   111     void DisplaySettingsChangeNoteL();
       
   112 
       
   113 private: // data
       
   114 
       
   115     /** GS Server Engine. Own. */
       
   116     CGSServerEngine* iServerEngine;
       
   117 
       
   118     /** Indicates if any of the settings was changed. */
       
   119     TBool iSettingChanged;
       
   120 
       
   121     };
       
   122 
       
   123 #endif // GSACCTVOUTVIEW_H