mmsharinguis_plat/live_comms_plugin_api/inc/lccameracontrol.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 MLCCAMERACONTROL_H
       
    19 #define MLCCAMERACONTROL_H
       
    20 
       
    21 // INCLUDES
       
    22 #include <e32std.h>
       
    23 
       
    24 // CLASS DECLARATION
       
    25 /**
       
    26 * Class for querying the device's camera capabilities 
       
    27 * and switching between the device's cameras. 
       
    28 */
       
    29 class MLcCameraControl
       
    30     {
       
    31     public:
       
    32 
       
    33         /**
       
    34         * Returns the count of cameras available in the device.
       
    35         * @return the count of cameras in the device
       
    36         */
       
    37         virtual TInt LcCameraCountL() = 0;
       
    38 
       
    39         /**
       
    40         * Return the index of the currently used camera.
       
    41         * @return the camera index
       
    42         */
       
    43         virtual TInt CurrentLcCameraIndex() = 0;
       
    44         
       
    45         /**
       
    46         * Switches to the next camera available in the device.
       
    47         * For example, if there are three cameras in the device,
       
    48         * the first call switches from camera 1 to camera 2, 
       
    49         * the second call switches from camera 2 to camera 3 and
       
    50         * the third call switches from camera 3 to camera 1. 
       
    51         */
       
    52         virtual void ToggleLcCameraL() = 0;
       
    53     };
       
    54 
       
    55 #endif // MLCCAMERACONTROL_H
       
    56 
       
    57 // end of file