vtuis/videotelui/inc/features/volume/cvtuivolume.h
changeset 0 ed9695c8bcbe
equal deleted inserted replaced
-1:000000000000 0:ed9695c8bcbe
       
     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:  Volume ui feature
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_VTUIVOLUME_H
       
    20 #define C_VTUIVOLUME_H
       
    21 
       
    22 #include "cvtuisliderbase.h"
       
    23 
       
    24 /**
       
    25 *  CVtUiVolume
       
    26 *
       
    27 *  Volume ui feature
       
    28 *
       
    29 *  @since S60 v3.2
       
    30 */
       
    31 class CVtUiVolume : public CVtUiSliderBase
       
    32     {
       
    33 
       
    34 public:
       
    35 
       
    36     /**
       
    37     * Static constructor
       
    38     * @param aFeatureManager Reference to feature manager.
       
    39     */
       
    40     static CVtUiVolume* NewL( CVtUiFeatureManager& aFeatureManager );
       
    41 
       
    42     /**
       
    43     * Destructor
       
    44     */
       
    45     ~CVtUiVolume();
       
    46 
       
    47     /**
       
    48     * Refresh volume popup status.
       
    49     */
       
    50     void RefreshL();
       
    51 
       
    52 public: // from CVtUiSliderBase
       
    53 
       
    54     /**
       
    55     * @see CVtUiSliderBase::StartL
       
    56     */
       
    57     void StartL();
       
    58     
       
    59     /**
       
    60     * @see CVtUiSliderBase::Stop
       
    61     */
       
    62     void Stop();
       
    63     
       
    64     /*
       
    65     * Return current slider's volume value 
       
    66     */
       
    67     TInt GetVolumeValue();
       
    68 
       
    69 protected:
       
    70 
       
    71     /*
       
    72     * Constructor
       
    73     */
       
    74     CVtUiVolume( CVtUiFeatureManager& aFeatureManager );
       
    75 
       
    76     /**
       
    77     * 2nd constructor
       
    78     */
       
    79     void ConstructL();
       
    80 
       
    81     };
       
    82 
       
    83 #endif // C_VTUIVOLUME_H