vtuis/videotelui/inc/features/prefs/cvtuiprefsliderskmodifier.h
branchRCL_3
changeset 35 779871d1e4f4
parent 0 ed9695c8bcbe
equal deleted inserted replaced
34:f15ac8e65a02 35:779871d1e4f4
       
     1 /*
       
     2 * Copyright (c) 2007 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:  Video preference slider softkey modifier class definition.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_VTUIPREFSLIDERMODIFIER_H
       
    20 #define C_VTUIPREFSLIDERMODIFIER_H
       
    21 
       
    22 #include <e32base.h>
       
    23 #include "cvtuicommandmodifybase.h"
       
    24 
       
    25 class   CVtUiAppUi;
       
    26 
       
    27 /**
       
    28 *  CVtUiPrefSliderSKModifier
       
    29 *
       
    30 * Video preference slider softkey modifier class definition.
       
    31 *
       
    32 *  @since S60 v3.2
       
    33 */
       
    34 class CVtUiPrefSliderSKModifier : public CVtUiCommandModifyBase
       
    35     {
       
    36     public: // static methods
       
    37         /**
       
    38         * Static constructor.
       
    39         * @param aAppUi Reference to command appui.
       
    40         * @param aResourceId Reference resource id.
       
    41         */
       
    42         static CVtUiPrefSliderSKModifier* NewL( CVtUiAppUi& aAppUi,
       
    43             TInt aResourceId );
       
    44 
       
    45         /**
       
    46         * Destructor
       
    47         */
       
    48         ~CVtUiPrefSliderSKModifier();
       
    49 
       
    50     public: // from base class
       
    51 
       
    52         /**
       
    53         * @See CVtUiCommandModifyBase::ModifyCommandsL
       
    54         */
       
    55         virtual void ModifyCommandsL( MVtUiCommandSetting& aCommandSettings );
       
    56 
       
    57        /**
       
    58         * @See CVtUiCommandModifyBase::Supports
       
    59         */
       
    60         virtual TBool Supports( MVtUiCommandSetting::Type aType ) const;
       
    61 
       
    62     private:
       
    63         /**
       
    64          * C++ constructor
       
    65          *
       
    66          */
       
    67         CVtUiPrefSliderSKModifier( CVtUiAppUi& aAppUi, TInt aResourceId  );
       
    68 
       
    69         /**
       
    70          * 2nd constructor
       
    71          */
       
    72         void ConstructL();
       
    73 
       
    74     private: // data
       
    75 
       
    76         // refrence to appui
       
    77         CVtUiAppUi& iAppUi;
       
    78         
       
    79         // softkey resource id
       
    80         TInt iResourceId;
       
    81 
       
    82     };
       
    83 
       
    84 #endif // C_VTUIPREFSLIDERMODIFIER_H