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". |
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"; |
145 static const char* SCENE_ID = "sceneId"; |
180 static const char* SCENE_ID = "sceneId"; |
146 static const char* IMAGE_QUALITY = "imageQuality"; |
181 static const char* IMAGE_QUALITY = "imageQuality"; |
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 |
185 static const char* FACE_TRACKING = "face_tracking"; |
|
186 static const char* GEOTAGGING = "geotagging"; |
|
187 static const char* GEOTAGGING_DISCLAIMER = "geotagging_disclaimer"; |
|
188 static const char* CAPTURE_SOUND_ALWAYS_ON = "capture_sound_always_on"; |
151 |
189 |
152 // file name/path related key values |
190 // file name/path related key values |
153 static const char* FNAME_FOLDER_SUFFIX = "folder_suffix"; |
191 static const char* FNAME_FOLDER_SUFFIX = "folder_suffix"; |
154 static const char* FNAME_MONTH_FOLDER = "month_folder"; |
192 static const char* FNAME_MONTH_FOLDER = "month_folder"; |
155 static const char* FNAME_IMAGE_COUNTER = "image_counter"; |
193 static const char* FNAME_IMAGE_COUNTER = "image_counter"; |
156 static const char* FNAME_VIDEO_COUNTER = "video_counter"; |
194 static const char* FNAME_VIDEO_COUNTER = "video_counter"; |
157 |
195 |
158 // scene mode keys |
196 // scene mode keys |
159 static const char* IMAGE_SCENE = "still_scene_modes"; |
197 static const char* IMAGE_SCENE = "still_scene_modes"; |
160 static const char* VIDEO_SCENE = "video_scene_modes"; |
198 static const char* VIDEO_SCENE = "video_scene_modes"; |
161 |
|
162 // image scene mode key values |
|
163 static const char* IMAGE_SCENE_AUTO = "image_scene_auto"; |
|
164 static const char* IMAGE_SCENE_PORTRAIT = "image_scene_portrait"; |
|
165 static const char* IMAGE_SCENE_SCENERY = "image_scene_scenery"; |
|
166 static const char* IMAGE_SCENE_MACRO = "image_scene_macro"; |
|
167 static const char* IMAGE_SCENE_SPORTS = "image_scene_sports"; |
|
168 static const char* IMAGE_SCENE_NIGHT = "image_scene_night"; |
|
169 static const char* IMAGE_SCENE_NIGHTPORTRAIT = "image_scene_night_portrait"; |
|
170 |
|
171 // video scene setting key values |
|
172 static const char* VIDEO_SCENE_AUTO = "video_scene_auto"; |
|
173 static const char* VIDEO_SCENE_NIGHTPORTRAIT = "video_scene_night_portrait"; |
|
174 static const char* VIDEO_SCENE_LOWLIGHT = "video_scene_low_light"; |
|
175 static const char* VIDEO_SCENE_NIGHT = "video_scene_night"; |
|
176 |
199 |
177 // setting keys for post capture timeout |
200 // setting keys for post capture timeout |
178 static const char* STILL_SHOWCAPTURED = "still_showcaptured"; |
201 static const char* STILL_SHOWCAPTURED = "still_showcaptured"; |
179 static const char* VIDEO_SHOWCAPTURED = "video_showcaptured"; |
202 static const char* VIDEO_SHOWCAPTURED = "video_showcaptured"; |
180 |
203 |