camerauis/cameraxui/cxengine/inc/cxesettingsmappersymbian.h
changeset 19 d9aefe59d544
child 45 24fd82631616
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/camerauis/cameraxui/cxengine/inc/cxesettingsmappersymbian.h	Fri Apr 16 14:51:30 2010 +0300
@@ -0,0 +1,48 @@
+/*
+* Copyright (c) 2009 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:
+*
+*/
+/*
+ * cxesettings.h
+ *
+ *  Created on: Dec 30, 2008
+ *
+ */
+#ifndef CXESETTINGSMAPPERSYMBIAN_H_
+#define CXESETTINGSMAPPERSYMBIAN_H_
+
+#include <ecam.h>
+#include <ecamadvsettings.h>
+#include <ECamOrientationCustomInterface2.h>
+#include "cxeautofocuscontrol.h"
+#include "cxenamespace.h"
+/*
+* Class to access all kind of Settings
+*/
+class CxeSettingsMapperSymbian
+{
+
+  public: // mappings functions that maps UI enum value to CCamera specific enum
+    static CCamera::TWhiteBalance Map2CameraWb(int aWbId );
+    static CCamera::TFlash Map2CameraFlash(int aFlashId );
+    static CCamera::TExposure Map2CameraExposureMode(int aExpModeId );
+    static CCamera::CCameraImageProcessing::TEffect Map2CameraEffect(int aColourFilterId );
+    static CCamera::CCameraAdvancedSettings::TFocusRange Map2CameraAutofocus(CxeAutoFocusControl::Mode afMode);
+	static MCameraOrientation::TOrientation Map2CameraOrientation(Cxe::DeviceOrientation orientation);
+};
+
+#endif /*CXESETTINGSMAPPERSYMBIAN_H_*/
+
+// end  of file