equal
deleted
inserted
replaced
26 #include "cxuiserviceprovider.h" |
26 #include "cxuiserviceprovider.h" |
27 #include "cxesettings.h" |
27 #include "cxesettings.h" |
28 |
28 |
29 CxuiServiceProvider* CxuiServiceProvider::mInstance = NULL; |
29 CxuiServiceProvider* CxuiServiceProvider::mInstance = NULL; |
30 |
30 |
31 |
31 // TODO: get these constants from header <xqaiwdecl.h> |
32 const QString CXUI_SERVICE_NAME = "Camera.com.nokia.ICaptureNew"; |
32 // will be released wk16 |
33 |
33 const QString CXUI_SERVICE_NAME = "cxui.com.nokia.symbian.ICameraCapture"; |
34 const QString CAMERA_INDEX = "camera_index"; |
34 |
35 const QString QUALITY = "quality"; |
35 const QString CAMERA_INDEX = "CameraIndex"; |
36 const QString ALLOW_MODE_SWITCH = "allow_mode_switch"; |
36 const QString QUALITY = "Quality"; |
37 const QString ALLOW_CAMERA_SWITCH = "allow_camera_switch"; |
37 const QString ALLOW_MODE_SWITCH = "AllowModeSwitch"; |
38 const QString ALLOW_QUALITY_CHANGE = "allow_quality_change"; |
38 const QString ALLOW_CAMERA_SWITCH = "AllowCameraSwitch"; |
|
39 const QString ALLOW_QUALITY_CHANGE = "AllowQualityChange"; |
39 |
40 |
40 CxuiServiceProvider::CxuiServiceProvider(CxeEngine *engine) |
41 CxuiServiceProvider::CxuiServiceProvider(CxeEngine *engine) |
41 : |
42 : |
42 XQServiceProvider(CXUI_SERVICE_NAME), |
43 XQServiceProvider(CXUI_SERVICE_NAME), |
43 mRequestIndex(-1), |
44 mRequestIndex(-1), |