camerauis/cameraxui/cxengine/src/cxesettingscontrolsymbian.cpp
changeset 42 feebad15db8c
parent 40 2922f70fca82
child 46 c826656d6714
equal deleted inserted replaced
41:67457b2ffb33 42:feebad15db8c
    28 #include "cxenamespace.h"
    28 #include "cxenamespace.h"
    29 #include "cxecameradevice.h"
    29 #include "cxecameradevice.h"
    30 #include "cxesettings.h"
    30 #include "cxesettings.h"
    31 #include "cxesettingsmappersymbian.h"
    31 #include "cxesettingsmappersymbian.h"
    32 #include "cxesettingscontrolsymbian.h"
    32 #include "cxesettingscontrolsymbian.h"
       
    33 
       
    34 #include "OstTraceDefinitions.h"
       
    35 #ifdef OST_TRACE_COMPILER_IN_USE
       
    36 #include "cxesettingscontrolsymbianTraces.h"
       
    37 #endif
       
    38 
    33 
    39 
    34 /*!
    40 /*!
    35 * Constructor
    41 * Constructor
    36 */
    42 */
    37 CxeSettingsControlSymbian::CxeSettingsControlSymbian(CxeCameraDevice &cameraDevice, CxeSettings &settings)
    43 CxeSettingsControlSymbian::CxeSettingsControlSymbian(CxeCameraDevice &cameraDevice, CxeSettings &settings)
   101 * \param scene New scene containing scene specific settings.
   107 * \param scene New scene containing scene specific settings.
   102 */
   108 */
   103 void CxeSettingsControlSymbian::handleSceneChanged(CxeScene& scene)
   109 void CxeSettingsControlSymbian::handleSceneChanged(CxeScene& scene)
   104 {
   110 {
   105     CX_DEBUG_ENTER_FUNCTION();
   111     CX_DEBUG_ENTER_FUNCTION();
       
   112     OstTrace0(camerax_performance, CXESETTINGSCONTROL_SCENE_1, "msg: e_CX_SCENE_SETTINGS_TO_CAMERA 1");
       
   113 
   106     CX_DEBUG(("CxeSettingsControlSymbian <> new scene [%s]",
   114     CX_DEBUG(("CxeSettingsControlSymbian <> new scene [%s]",
   107               scene[CxeSettingIds::SCENE_ID].value<QString>().toAscii().constData()));
   115               scene[CxeSettingIds::SCENE_ID].value<QString>().toAscii().constData()));
   108 
   116 
   109     foreach (const QString& settingId, scene.keys()) {
   117     foreach (const QString& settingId, scene.keys()) {
   110         handleSettingValueChanged(settingId, scene[settingId]);
   118         handleSettingValueChanged(settingId, scene[settingId]);
   111     }
   119     }
   112 
   120 
       
   121     OstTrace0(camerax_performance, CXESETTINGSCONTROL_SCENE_2, "msg: e_CX_SCENE_SETTINGS_TO_CAMERA 0");
   113     CX_DEBUG_EXIT_FUNCTION();
   122     CX_DEBUG_EXIT_FUNCTION();
   114 }
   123 }
   115 
   124 
   116 /*!
   125 /*!
   117 * Update color tone setting value to the camera device
   126 * Update color tone setting value to the camera device