summaryrefslogtreecommitdiff
path: root/src/lib/eeze
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-10-01 16:29:21 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-10-01 16:32:20 +0900
commit22bf1b3db2dbbbd17d931bdeaf50917c3617f76f (patch)
treec2e1b4ca5d63c61c18fd47ad0da64af458ecf5f2 /src/lib/eeze
parent66b86f5866b6e899f9f0c0538d22d2c7864985a7 (diff)
eeze - sensors - ints for sensor events were decld in .h - and never .c
this was bad - we never had eeze sensor events declared inside eeze so they were only in the .h - they could be diff symbols and thus valuses may not match. big @fix - it worked by luck, not design.
Diffstat (limited to 'src/lib/eeze')
-rw-r--r--src/lib/eeze/Eeze_Sensor.h42
-rw-r--r--src/lib/eeze/eeze_sensor.c22
2 files changed, 43 insertions, 21 deletions
diff --git a/src/lib/eeze/Eeze_Sensor.h b/src/lib/eeze/Eeze_Sensor.h
index 67783760ec..014b734d89 100644
--- a/src/lib/eeze/Eeze_Sensor.h
+++ b/src/lib/eeze/Eeze_Sensor.h
@@ -103,27 +103,27 @@ typedef enum
103 * @since 1.8 103 * @since 1.8
104 * @{ 104 * @{
105 */ 105 */
106EAPI int EEZE_SENSOR_EVENT_ACCELEROMETER; 106EAPI extern int EEZE_SENSOR_EVENT_ACCELEROMETER;
107EAPI int EEZE_SENSOR_EVENT_GRAVITY; 107EAPI extern int EEZE_SENSOR_EVENT_GRAVITY;
108EAPI int EEZE_SENSOR_EVENT_LINEAR_ACCELERATION; 108EAPI extern int EEZE_SENSOR_EVENT_LINEAR_ACCELERATION;
109EAPI int EEZE_SENSOR_EVENT_DEVICE_ORIENTATION; 109EAPI extern int EEZE_SENSOR_EVENT_DEVICE_ORIENTATION;
110EAPI int EEZE_SENSOR_EVENT_MAGNETIC; 110EAPI extern int EEZE_SENSOR_EVENT_MAGNETIC;
111EAPI int EEZE_SENSOR_EVENT_ORIENTATION; 111EAPI extern int EEZE_SENSOR_EVENT_ORIENTATION;
112EAPI int EEZE_SENSOR_EVENT_GYROSCOPE; 112EAPI extern int EEZE_SENSOR_EVENT_GYROSCOPE;
113EAPI int EEZE_SENSOR_EVENT_LIGHT; 113EAPI extern int EEZE_SENSOR_EVENT_LIGHT;
114EAPI int EEZE_SENSOR_EVENT_PROXIMITY; 114EAPI extern int EEZE_SENSOR_EVENT_PROXIMITY;
115EAPI int EEZE_SENSOR_EVENT_SNAP; 115EAPI extern int EEZE_SENSOR_EVENT_SNAP;
116EAPI int EEZE_SENSOR_EVENT_SHAKE; 116EAPI extern int EEZE_SENSOR_EVENT_SHAKE;
117EAPI int EEZE_SENSOR_EVENT_DOUBLETAP; 117EAPI extern int EEZE_SENSOR_EVENT_DOUBLETAP;
118EAPI int EEZE_SENSOR_EVENT_PANNING; 118EAPI extern int EEZE_SENSOR_EVENT_PANNING;
119EAPI int EEZE_SENSOR_EVENT_PANNING_BROWSE; 119EAPI extern int EEZE_SENSOR_EVENT_PANNING_BROWSE;
120EAPI int EEZE_SENSOR_EVENT_TILT; 120EAPI extern int EEZE_SENSOR_EVENT_TILT;
121EAPI int EEZE_SENSOR_EVENT_FACEDOWN; 121EAPI extern int EEZE_SENSOR_EVENT_FACEDOWN;
122EAPI int EEZE_SENSOR_EVENT_DIRECT_CALL; 122EAPI extern int EEZE_SENSOR_EVENT_DIRECT_CALL;
123EAPI int EEZE_SENSOR_EVENT_SMART_ALERT; 123EAPI extern int EEZE_SENSOR_EVENT_SMART_ALERT;
124EAPI int EEZE_SENSOR_EVENT_NO_MOVE; 124EAPI extern int EEZE_SENSOR_EVENT_NO_MOVE;
125EAPI int EEZE_SENSOR_EVENT_BAROMETER; 125EAPI extern int EEZE_SENSOR_EVENT_BAROMETER;
126EAPI int EEZE_SENSOR_EVENT_TEMPERATURE; 126EAPI extern int EEZE_SENSOR_EVENT_TEMPERATURE;
127/**@}*/ 127/**@}*/
128 128
129/** 129/**
diff --git a/src/lib/eeze/eeze_sensor.c b/src/lib/eeze/eeze_sensor.c
index 92b29c3c87..32f7a78042 100644
--- a/src/lib/eeze/eeze_sensor.c
+++ b/src/lib/eeze/eeze_sensor.c
@@ -10,6 +10,28 @@
10#include <Eeze_Sensor.h> 10#include <Eeze_Sensor.h>
11#include "eeze_sensor_private.h" 11#include "eeze_sensor_private.h"
12 12
13EAPI int EEZE_SENSOR_EVENT_ACCELEROMETER;
14EAPI int EEZE_SENSOR_EVENT_GRAVITY;
15EAPI int EEZE_SENSOR_EVENT_LINEAR_ACCELERATION;
16EAPI int EEZE_SENSOR_EVENT_DEVICE_ORIENTATION;
17EAPI int EEZE_SENSOR_EVENT_MAGNETIC;
18EAPI int EEZE_SENSOR_EVENT_ORIENTATION;
19EAPI int EEZE_SENSOR_EVENT_GYROSCOPE;
20EAPI int EEZE_SENSOR_EVENT_LIGHT;
21EAPI int EEZE_SENSOR_EVENT_PROXIMITY;
22EAPI int EEZE_SENSOR_EVENT_SNAP;
23EAPI int EEZE_SENSOR_EVENT_SHAKE;
24EAPI int EEZE_SENSOR_EVENT_DOUBLETAP;
25EAPI int EEZE_SENSOR_EVENT_PANNING;
26EAPI int EEZE_SENSOR_EVENT_PANNING_BROWSE;
27EAPI int EEZE_SENSOR_EVENT_TILT;
28EAPI int EEZE_SENSOR_EVENT_FACEDOWN;
29EAPI int EEZE_SENSOR_EVENT_DIRECT_CALL;
30EAPI int EEZE_SENSOR_EVENT_SMART_ALERT;
31EAPI int EEZE_SENSOR_EVENT_NO_MOVE;
32EAPI int EEZE_SENSOR_EVENT_BAROMETER;
33EAPI int EEZE_SENSOR_EVENT_TEMPERATURE;
34
13static Eeze_Sensor *g_handle; 35static Eeze_Sensor *g_handle;
14static Eina_Prefix *pfx; 36static Eina_Prefix *pfx;
15 37