camerauis/cameraxui/cxengine/inc/api/cxenamespace.h
changeset 43 0e652f8f1fbd
parent 28 3075d9b614e6
child 45 24fd82631616
--- a/camerauis/cameraxui/cxengine/inc/api/cxenamespace.h	Thu May 13 21:30:19 2010 +0300
+++ b/camerauis/cameraxui/cxengine/inc/api/cxenamespace.h	Thu Jul 15 01:55:05 2010 +0300
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+* Copyright (c) 2009-2010 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"
@@ -41,7 +41,7 @@
     enum CameraMode
     {
         //! Still image capture mode
-        ImageMode,
+        ImageMode = 0,
 
         //! Video recording mode
         VideoMode
@@ -109,7 +109,8 @@
     enum AspectRatio
     {
         AspectRatio4to3, // standard
-        AspectRatio16to9 // wide screen
+        AspectRatio16to9, // wide screen
+        AspectRatio11to9
     };
 
     enum SettingKeyType
@@ -126,11 +127,45 @@
         FreeMemoryTrigger = 0,
         FreeMemoryTarget
     };
+
+    /*!
+    * Indicates if Geotagging setting is enabled or disabled.
+    */
+    enum GeoTagging
+    {
+        GeoTaggingOff = 0,
+        GeoTaggingOn
+    };
+
+    /*!
+    * Indicates if Geotagging disclaimer note is shown to the users during camera first startup
+    */
+    enum GeoTaggingDisclaimer
+    {
+        GeoTaggingDisclaimerDisabled = 0,
+        GeoTaggingDisclaimerEnabled
+    };
+
+    // image scene mode key values
+    static const char*  IMAGE_SCENE_AUTO                       = "image_scene_auto";
+    static const char*  IMAGE_SCENE_PORTRAIT                   = "image_scene_portrait";
+    static const char*  IMAGE_SCENE_SCENERY                    = "image_scene_scenery";
+    static const char*  IMAGE_SCENE_MACRO                      = "image_scene_macro";
+    static const char*  IMAGE_SCENE_SPORTS                     = "image_scene_sports";
+    static const char*  IMAGE_SCENE_NIGHT                      = "image_scene_night";
+    static const char*  IMAGE_SCENE_NIGHTPORTRAIT              = "image_scene_night_portrait";
+
+    // video scene setting key values
+    static const char*  VIDEO_SCENE_AUTO                       = "video_scene_auto";
+    static const char*  VIDEO_SCENE_NIGHTPORTRAIT              = "video_scene_night_portrait";
+    static const char*  VIDEO_SCENE_LOWLIGHT                   = "video_scene_low_light";
+    static const char*  VIDEO_SCENE_NIGHT                      = "video_scene_night";
 }
 
 namespace CxeSettingIds
 {
     // Setting Ids
+    static const char* CAMERA_MODE                             = "camera_mode";
     static const char* FOCAL_RANGE                             = "focal_range";
     static const char* FLASH_MODE                              = "flash_mode";
     static const char* WHITE_BALANCE                           = "white_balance";
@@ -147,7 +182,10 @@
     static const char* VIDEO_QUALITY                           = "videoQuality";
     static const char* SECONDARY_CAMERA                        = "2ndCamera";
     static const char* SELF_TIMER                              = "selfTimer";
-
+    static const char* FACE_TRACKING                           = "face_tracking";
+    static const char* GEOTAGGING                              = "geotagging";
+    static const char* GEOTAGGING_DISCLAIMER                   = "geotagging_disclaimer";
+    static const char* CAPTURE_SOUND_ALWAYS_ON                 = "capture_sound_always_on";
 
     // file name/path related key values
     static const char*  FNAME_FOLDER_SUFFIX                    = "folder_suffix";
@@ -159,21 +197,6 @@
     static const char* IMAGE_SCENE                             = "still_scene_modes";
     static const char* VIDEO_SCENE                             = "video_scene_modes";
 
-    // image scene mode key values
-    static const char*  IMAGE_SCENE_AUTO                       = "image_scene_auto";
-    static const char*  IMAGE_SCENE_PORTRAIT                   = "image_scene_portrait";
-    static const char*  IMAGE_SCENE_SCENERY                    = "image_scene_scenery";
-    static const char*  IMAGE_SCENE_MACRO                      = "image_scene_macro";
-    static const char*  IMAGE_SCENE_SPORTS                     = "image_scene_sports";
-    static const char*  IMAGE_SCENE_NIGHT                      = "image_scene_night";
-    static const char*  IMAGE_SCENE_NIGHTPORTRAIT              = "image_scene_night_portrait";
-
-    // video scene setting key values
-    static const char*  VIDEO_SCENE_AUTO                       = "video_scene_auto";
-    static const char*  VIDEO_SCENE_NIGHTPORTRAIT              = "video_scene_night_portrait";
-    static const char*  VIDEO_SCENE_LOWLIGHT                   = "video_scene_low_light";
-    static const char*  VIDEO_SCENE_NIGHT                      = "video_scene_night";
-
     // setting keys for post capture timeout
     static const char*  STILL_SHOWCAPTURED                     = "still_showcaptured";
     static const char*  VIDEO_SHOWCAPTURED                     = "video_showcaptured";