summaryrefslogtreecommitdiff
path: root/src/lib/eeze
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2013-04-12 13:47:25 +0100
committerStefan Schmidt <s.schmidt@samsung.com>2013-04-12 15:35:08 +0100
commit6b70dd57d3119797988f3ec028c3dda22a0c3e90 (patch)
treeb6a1b86d3baffff72c8c99cadda15d210a437e6f /src/lib/eeze
parent882b7a72eb9058f0a1948e9b7541bd75a430de26 (diff)
eeze/sensor: Move eeze_Sernsor_obj_get into private header.
Together with eeze_sensor_module_register/unregister these are the functions that are irrelevant for developer when they just want to use the eeze_sensor API. Still all three need to be marked with EAPI as they are used in the backend modules and due to our visibility hidden usage the module loading would fail if we remove EAPI from them. Moving them into the private header should give an indication that these are not meant for pure API users.
Diffstat (limited to 'src/lib/eeze')
-rw-r--r--src/lib/eeze/Eeze_Sensor.h9
-rw-r--r--src/lib/eeze/eeze_sensor_private.h9
2 files changed, 9 insertions, 9 deletions
diff --git a/src/lib/eeze/Eeze_Sensor.h b/src/lib/eeze/Eeze_Sensor.h
index f15de72e45..0575287186 100644
--- a/src/lib/eeze/Eeze_Sensor.h
+++ b/src/lib/eeze/Eeze_Sensor.h
@@ -300,15 +300,6 @@ EAPI Eina_Bool eeze_sensor_read(Eeze_Sensor_Obj *sens);
300 */ 300 */
301EAPI Eina_Bool eeze_sensor_async_read(Eeze_Sensor_Obj *sens, void *user_data); 301EAPI Eina_Bool eeze_sensor_async_read(Eeze_Sensor_Obj *sens, void *user_data);
302 302
303/**
304 * @brief Fetch the sensor object by type from the sensor object list
305 * @param type Sensor type to fetch from the list of sensor objects.
306 * @return The sensor object matching the given type
307 *
308 * @since 1.8
309 */
310EAPI Eeze_Sensor_Obj *eeze_sensor_obj_get(Eeze_Sensor_Type type);
311
312#ifdef __cplusplus 303#ifdef __cplusplus
313} 304}
314#endif 305#endif
diff --git a/src/lib/eeze/eeze_sensor_private.h b/src/lib/eeze/eeze_sensor_private.h
index d4acd5b480..d8f0a28d37 100644
--- a/src/lib/eeze/eeze_sensor_private.h
+++ b/src/lib/eeze/eeze_sensor_private.h
@@ -88,6 +88,15 @@ EAPI Eina_Bool eeze_sensor_module_register(const char *name, Eeze_Sensor_Module
88EAPI Eina_Bool eeze_sensor_module_unregister(const char *name); 88EAPI Eina_Bool eeze_sensor_module_unregister(const char *name);
89 89
90/** 90/**
91 * @brief Fetch the sensor object by type from the sensor object list
92 * @param type Sensor type to fetch from the list of sensor objects.
93 * @return The sensor object matching the given type
94 *
95 * @since 1.8
96 */
97EAPI Eeze_Sensor_Obj *eeze_sensor_obj_get(Eeze_Sensor_Type type);
98
99/**
91 * @brief Initialize the Eeze sensor subsystem. 100 * @brief Initialize the Eeze sensor subsystem.
92 * @return EINA_TRUE for success and EINA_FALSE for failure 101 * @return EINA_TRUE for success and EINA_FALSE for failure
93 * 102 *