camerauis/cameraxui/cxengine/inc/api/cxenamespace.h
changeset 37 64817133cd1d
parent 32 5c1e3c6aa4ef
child 48 42ba2d16bf40
equal deleted inserted replaced
36:b12f3922a74f 37:64817133cd1d
     1 /*
     1 /*
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
    39      * Engine operating mode
    39      * Engine operating mode
    40      */
    40      */
    41     enum CameraMode
    41     enum CameraMode
    42     {
    42     {
    43         //! Still image capture mode
    43         //! Still image capture mode
    44         ImageMode,
    44         ImageMode = 0,
    45 
    45 
    46         //! Video recording mode
    46         //! Video recording mode
    47         VideoMode
    47         VideoMode
    48     };
    48     };
    49 
    49 
   107     };
   107     };
   108 
   108 
   109     enum AspectRatio
   109     enum AspectRatio
   110     {
   110     {
   111         AspectRatio4to3, // standard
   111         AspectRatio4to3, // standard
   112         AspectRatio16to9 // wide screen
   112         AspectRatio16to9, // wide screen
       
   113         AspectRatio11to9
   113     };
   114     };
   114 
   115 
   115     enum SettingKeyType
   116     enum SettingKeyType
   116     {
   117     {
   117         Repository, // repository key
   118         Repository, // repository key
   124     enum FreeMemoryIndex
   125     enum FreeMemoryIndex
   125     {
   126     {
   126         FreeMemoryTrigger = 0,
   127         FreeMemoryTrigger = 0,
   127         FreeMemoryTarget
   128         FreeMemoryTarget
   128     };
   129     };
       
   130 
       
   131     /*!
       
   132     * Indicates if Geotagging setting is enabled or disabled.
       
   133     */
       
   134     enum GeoTagging
       
   135     {
       
   136         GeoTaggingOff = 0,
       
   137         GeoTaggingOn
       
   138     };
       
   139 
       
   140     /*!
       
   141     * Indicates if Geotagging disclaimer note is shown to the users during camera first startup
       
   142     */
       
   143     enum GeoTaggingDisclaimer
       
   144     {
       
   145         GeoTaggingDisclaimerDisabled = 0,
       
   146         GeoTaggingDisclaimerEnabled
       
   147     };
       
   148 
       
   149     // image scene mode key values
       
   150     static const char*  IMAGE_SCENE_AUTO                       = "image_scene_auto";
       
   151     static const char*  IMAGE_SCENE_PORTRAIT                   = "image_scene_portrait";
       
   152     static const char*  IMAGE_SCENE_SCENERY                    = "image_scene_scenery";
       
   153     static const char*  IMAGE_SCENE_MACRO                      = "image_scene_macro";
       
   154     static const char*  IMAGE_SCENE_SPORTS                     = "image_scene_sports";
       
   155     static const char*  IMAGE_SCENE_NIGHT                      = "image_scene_night";
       
   156     static const char*  IMAGE_SCENE_NIGHTPORTRAIT              = "image_scene_night_portrait";
       
   157 
       
   158     // video scene setting key values
       
   159     static const char*  VIDEO_SCENE_AUTO                       = "video_scene_auto";
       
   160     static const char*  VIDEO_SCENE_NIGHTPORTRAIT              = "video_scene_night_portrait";
       
   161     static const char*  VIDEO_SCENE_LOWLIGHT                   = "video_scene_low_light";
       
   162     static const char*  VIDEO_SCENE_NIGHT                      = "video_scene_night";
   129 }
   163 }
   130 
   164 
   131 namespace CxeSettingIds
   165 namespace CxeSettingIds
   132 {
   166 {
   133     // Setting Ids
   167     // Setting Ids
       
   168     static const char* CAMERA_MODE                             = "camera_mode";
   134     static const char* FOCAL_RANGE                             = "focal_range";
   169     static const char* FOCAL_RANGE                             = "focal_range";
   135     static const char* FLASH_MODE                              = "flash_mode";
   170     static const char* FLASH_MODE                              = "flash_mode";
   136     static const char* WHITE_BALANCE                           = "white_balance";
   171     static const char* WHITE_BALANCE                           = "white_balance";
   137     static const char* LIGHT_SENSITIVITY                       = "light_sensitivity";
   172     static const char* LIGHT_SENSITIVITY                       = "light_sensitivity";
   138     static const char* EXPOSURE_MODE                           = "exposure_mode";
   173     static const char* EXPOSURE_MODE                           = "exposure_mode";
   147     static const char* VIDEO_QUALITY                           = "videoQuality";
   182     static const char* VIDEO_QUALITY                           = "videoQuality";
   148     static const char* SECONDARY_CAMERA                        = "2ndCamera";
   183     static const char* SECONDARY_CAMERA                        = "2ndCamera";
   149     static const char* SELF_TIMER                              = "selfTimer";
   184     static const char* SELF_TIMER                              = "selfTimer";
   150     static const char* FACE_TRACKING                           = "face_tracking";
   185     static const char* FACE_TRACKING                           = "face_tracking";
   151     static const char* GEOTAGGING                              = "geotagging";
   186     static const char* GEOTAGGING                              = "geotagging";
   152     static const char* CAPTURE_SOUND_ALWAYS_ON                    = "capture_sound_always_on";
   187     static const char* GEOTAGGING_DISCLAIMER                   = "geotagging_disclaimer";
       
   188     static const char* CAPTURE_SOUND_ALWAYS_ON                 = "capture_sound_always_on";
   153 
   189 
   154     // file name/path related key values
   190     // file name/path related key values
   155     static const char*  FNAME_FOLDER_SUFFIX                    = "folder_suffix";
   191     static const char*  FNAME_FOLDER_SUFFIX                    = "folder_suffix";
   156     static const char*  FNAME_MONTH_FOLDER                     = "month_folder";
   192     static const char*  FNAME_MONTH_FOLDER                     = "month_folder";
   157     static const char*  FNAME_IMAGE_COUNTER                    = "image_counter";
   193     static const char*  FNAME_IMAGE_COUNTER                    = "image_counter";
   158     static const char*  FNAME_VIDEO_COUNTER                    = "video_counter";
   194     static const char*  FNAME_VIDEO_COUNTER                    = "video_counter";
   159 
   195 
   160     // scene mode keys
   196     // scene mode keys
   161     static const char* IMAGE_SCENE                             = "still_scene_modes";
   197     static const char* IMAGE_SCENE                             = "still_scene_modes";
   162     static const char* VIDEO_SCENE                             = "video_scene_modes";
   198     static const char* VIDEO_SCENE                             = "video_scene_modes";
   163 
       
   164     // image scene mode key values
       
   165     static const char*  IMAGE_SCENE_AUTO                       = "image_scene_auto";
       
   166     static const char*  IMAGE_SCENE_PORTRAIT                   = "image_scene_portrait";
       
   167     static const char*  IMAGE_SCENE_SCENERY                    = "image_scene_scenery";
       
   168     static const char*  IMAGE_SCENE_MACRO                      = "image_scene_macro";
       
   169     static const char*  IMAGE_SCENE_SPORTS                     = "image_scene_sports";
       
   170     static const char*  IMAGE_SCENE_NIGHT                      = "image_scene_night";
       
   171     static const char*  IMAGE_SCENE_NIGHTPORTRAIT              = "image_scene_night_portrait";
       
   172 
       
   173     // video scene setting key values
       
   174     static const char*  VIDEO_SCENE_AUTO                       = "video_scene_auto";
       
   175     static const char*  VIDEO_SCENE_NIGHTPORTRAIT              = "video_scene_night_portrait";
       
   176     static const char*  VIDEO_SCENE_LOWLIGHT                   = "video_scene_low_light";
       
   177     static const char*  VIDEO_SCENE_NIGHT                      = "video_scene_night";
       
   178 
   199 
   179     // setting keys for post capture timeout
   200     // setting keys for post capture timeout
   180     static const char*  STILL_SHOWCAPTURED                     = "still_showcaptured";
   201     static const char*  STILL_SHOWCAPTURED                     = "still_showcaptured";
   181     static const char*  VIDEO_SHOWCAPTURED                     = "video_showcaptured";
   202     static const char*  VIDEO_SHOWCAPTURED                     = "video_showcaptured";
   182 
   203