mmsharinguis_plat/live_comms_plugin_api/inc/lcbrightnesscontrol.h
branchRCL_3
changeset 33 bc78a40cd63c
parent 32 73a1feb507fb
child 35 6c57ef9392d2
equal deleted inserted replaced
32:73a1feb507fb 33:bc78a40cd63c
     1 /*
       
     2 * Copyright (c) 2009 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: 
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef MLCBRIGHTNESSCONTROL_H
       
    19 #define MLCBRIGHTNESSCONTROL_H
       
    20 
       
    21 // INCLUDES
       
    22 #include <e32std.h>
       
    23 
       
    24 // CLASS DECLARATION
       
    25 /**
       
    26 * Class for adjusting the brightness of a video.
       
    27 */
       
    28 class MLcBrightnessControl
       
    29     {
       
    30     public:
       
    31 
       
    32         /**
       
    33         * Returns the minimum brightness level.
       
    34         * @return the minimum brightness level
       
    35         */
       
    36         virtual TInt MinLcBrightnessL() = 0;
       
    37 
       
    38         /**
       
    39         * Returns the maximum brightness level.
       
    40         * @return the maximum brightness level
       
    41         */
       
    42         virtual TInt MaxLcBrightnessL() = 0;
       
    43 
       
    44         /**
       
    45         * Returns the current brightness level.
       
    46         * @return the current brightness level
       
    47         */
       
    48         virtual TInt LcBrightnessL() = 0;
       
    49 
       
    50         /**
       
    51         * Sets the brightness level.
       
    52         * @pre aValue >= MinLcBrightnessL && aValue <= MaxLcBrightnessL
       
    53         * @param aValue the new brightness level
       
    54         */
       
    55         virtual void SetLcBrightnessL( TInt aValue ) = 0;
       
    56         
       
    57         /**
       
    58         * Increments the brightness level by one step.
       
    59         */
       
    60         virtual void IncreaseLcBrightnessL() = 0;
       
    61         
       
    62         /**
       
    63         * Decrements the brightness level by one step.
       
    64         */
       
    65         virtual void DecreaseLcBrightnessL() = 0; 
       
    66     };
       
    67 
       
    68 #endif // MLCBRIGHTNESSCONTROL_H
       
    69 
       
    70 // end of file