sensord: add sensor_properties_t to sensor_handle_t 86/57686/1
authorkibak.yoon <kibak.yoon@samsung.com>
Thu, 21 Jan 2016 13:57:10 +0000 (22:57 +0900)
committerkibak.yoon <kibak.yoon@samsung.com>
Thu, 21 Jan 2016 13:57:10 +0000 (22:57 +0900)
Change-Id: I68c99af1141bb2fbf3419620b63d2818165ce36d
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
src/server/physical_sensor.cpp
src/shared/sensor_hal.h

index b25bc79..2df83e3 100644 (file)
@@ -57,6 +57,7 @@ void physical_sensor::set_sensor_handle(sensor_handle_t handle)
        m_handle.name = handle.name;
        m_handle.type = handle.type;
        m_handle.event_type = handle.event_type;
+       m_handle.properties = handle.properties;
 }
 
 void physical_sensor::set_sensor_hal(sensor_hal *hal)
index 7e062ef..c9466ef 100644 (file)
@@ -107,6 +107,7 @@ typedef struct sensor_handle_t {
        std::string name;
        sensor_hal_type type;
        unsigned int event_type; // for Internal API
+       sensor_properties_s properties;
 } sensor_handle_t;
 
 /*