vtuis/videotelui/inc/features/volume/cvtuivolume.h
author Pat Downey <patd@symbian.org>
Wed, 01 Sep 2010 12:29:12 +0100
branchRCL_3
changeset 35 779871d1e4f4
parent 0 ed9695c8bcbe
permissions -rw-r--r--
Revert incorrect RCL_3 drop: Revision: 201033 Kit: 201035

/*
* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  Volume ui feature
*
*/


#ifndef C_VTUIVOLUME_H
#define C_VTUIVOLUME_H

#include "cvtuisliderbase.h"

/**
*  CVtUiVolume
*
*  Volume ui feature
*
*  @since S60 v3.2
*/
class CVtUiVolume : public CVtUiSliderBase
    {

public:

    /**
    * Static constructor
    * @param aFeatureManager Reference to feature manager.
    */
    static CVtUiVolume* NewL( CVtUiFeatureManager& aFeatureManager );

    /**
    * Destructor
    */
    ~CVtUiVolume();

    /**
    * Refresh volume popup status.
    */
    void RefreshL();

public: // from CVtUiSliderBase

    /**
    * @see CVtUiSliderBase::StartL
    */
    void StartL();
    
    /**
    * @see CVtUiSliderBase::Stop
    */
    void Stop();
    
    /*
    * Return current slider's volume value 
    */
    TInt GetVolumeValue();

protected:

    /*
    * Constructor
    */
    CVtUiVolume( CVtUiFeatureManager& aFeatureManager );

    /**
    * 2nd constructor
    */
    void ConstructL();

    };

#endif // C_VTUIVOLUME_H