camerauis/cameraxui/cxengine/inc/cxesettingsmappersymbian.h
changeset 19 d9aefe59d544
child 45 24fd82631616
equal deleted inserted replaced
3:8b2d6d0384b0 19:d9aefe59d544
       
     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  * cxesettings.h
       
    19  *
       
    20  *  Created on: Dec 30, 2008
       
    21  *
       
    22  */
       
    23 #ifndef CXESETTINGSMAPPERSYMBIAN_H_
       
    24 #define CXESETTINGSMAPPERSYMBIAN_H_
       
    25 
       
    26 #include <ecam.h>
       
    27 #include <ecamadvsettings.h>
       
    28 #include <ECamOrientationCustomInterface2.h>
       
    29 #include "cxeautofocuscontrol.h"
       
    30 #include "cxenamespace.h"
       
    31 /*
       
    32 * Class to access all kind of Settings
       
    33 */
       
    34 class CxeSettingsMapperSymbian
       
    35 {
       
    36 
       
    37   public: // mappings functions that maps UI enum value to CCamera specific enum
       
    38     static CCamera::TWhiteBalance Map2CameraWb(int aWbId );
       
    39     static CCamera::TFlash Map2CameraFlash(int aFlashId );
       
    40     static CCamera::TExposure Map2CameraExposureMode(int aExpModeId );
       
    41     static CCamera::CCameraImageProcessing::TEffect Map2CameraEffect(int aColourFilterId );
       
    42     static CCamera::CCameraAdvancedSettings::TFocusRange Map2CameraAutofocus(CxeAutoFocusControl::Mode afMode);
       
    43 	static MCameraOrientation::TOrientation Map2CameraOrientation(Cxe::DeviceOrientation orientation);
       
    44 };
       
    45 
       
    46 #endif /*CXESETTINGSMAPPERSYMBIAN_H_*/
       
    47 
       
    48 // end  of file