sensord: remove unused APIs 08/71508/2
authorkibak.yoon <kibak.yoon@samsung.com>
Wed, 25 May 2016 14:12:55 +0000 (23:12 +0900)
committerkibak.yoon <kibak.yoon@samsung.com>
Thu, 26 May 2016 01:54:21 +0000 (10:54 +0900)
- there is no module which uses these APIs
- sf_check_rotation is used in xwalk....

Change-Id: I3c462da847015f54f3aa1d573a7380342f941205
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
src/client/client_deprecated.cpp
src/client/sensor_internal_deprecated.h

index 38cf33f..e721bed 100644 (file)
@@ -82,13 +82,3 @@ API int sf_is_sensor_event_available(sensor_type_t sensor_type, unsigned int eve
 {
        return OP_ERROR;
 }
-
-API int sf_get_data_properties(unsigned int data_id, sensor_data_properties_t *return_data_properties)
-{
-       return OP_ERROR;
-}
-
-API int sf_get_properties(sensor_type_t sensor_type, sensor_properties_t *return_properties)
-{
-       return OP_ERROR;
-}
index d74cab8..a2b5b30 100644 (file)
@@ -38,8 +38,6 @@ extern "C"
 {
 #endif
 
-#define MAX_KEY_LEN 30
-
 typedef struct {
        condition_op_t cond_op;
        float cond_value1;
@@ -59,30 +57,6 @@ typedef struct {
        int z;
 } sensor_panning_data_t;
 
-typedef struct {
-       int sensor_unit_idx;
-       float sensor_min_range;
-       float sensor_max_range;
-       float sensor_resolution;
-       char sensor_name[MAX_KEY_LEN];
-       char sensor_vendor[MAX_KEY_LEN];
-} sensor_properties_t;
-
-typedef struct {
-       int sensor_unit_idx;
-       float sensor_min_range;
-       float sensor_max_range;
-       float sensor_resolution;
-} sensor_data_properties_t;
-
-DEPRECATED int sf_is_sensor_event_available(sensor_type_t sensor_type, unsigned int event_type);
-
-DEPRECATED int sf_get_data_properties(unsigned int data_id, sensor_data_properties_t *return_data_properties);
-
-DEPRECATED int sf_get_properties(sensor_type_t sensor_type, sensor_properties_t *return_properties);
-
-DEPRECATED int sf_check_rotation(unsigned long *rotation);
-
 /**
  * @fn int sf_connect(sensor_type_t sensor)
  * @brief  This API connects a sensor type to respective sensor. The application calls with the type of the sensor (ex. ACCELEROMETER_SENSOR) and on basis of that server takes decision of which plug-in to be connected. Once sensor connected application can proceed for data processing. This API returns a positive handle which should be used by application to communicate on sensor type.
@@ -177,6 +151,8 @@ DEPRECATED int sf_change_sensor_option(int handle, int option);
  */
 DEPRECATED int sf_send_sensorhub_data(int handle, const char* data, int data_len);
 
+DEPRECATED int sf_check_rotation(unsigned long *rotation);
+
 #ifdef __cplusplus
 }
 #endif