Commit Graph

10 Commits

Author SHA1 Message Date
Carsten Haitzler 22bf1b3db2 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.
2014-10-01 16:32:20 +09:00
Stefan Schmidt c2da27328b eeze/sensor: Simplify object handling in async paths.
This follows the simplified handling of sensor object we are already
doing for the sync paths. Its a bit more complicated here as we need
to pass all data through the module specific async handling. But the
result should be the same.
2013-04-22 15:58:28 +01:00
Stefan Schmidt 763bdd1618 eeze/sensor: Switch timestamp to relative values coming.
Switch from absolut microseconds since epoch to a monotonic clock with
realtive values. Switch from unsigned long long to double.

This aligns it with how we present time in efl. ecore_time_get is used
when possible. For the tizen modules we convert the the epoch timestamp
we get into a double. This is still a working monotone clock source.

As this will be released the first time with 1.8 we don't have any API
break here.
2013-04-16 13:21:28 +01:00
Stefan Schmidt 6b70dd57d3 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.
2013-04-12 15:35:08 +01:00
Stefan Schmidt 858b45e3be eeze/sensor: Make sensor init and shutdown symbols private.
These are called only from eeze_init/shutdown. No need to have them public.
2013-04-12 11:35:05 +01:00
Stefan Schmidt c5c1af49f7 Revert "eeze/sensor: Expose less symbols for the initial API."
Sadly not ready yet as jenkins showed me. Need some more work on
the eeze_sensor_object_get front.

This reverts commit 081d55c51c.
2013-04-11 15:37:12 +01:00
Stefan Schmidt 081d55c51c eeze/sensor: Expose less symbols for the initial API.
Less is more. These symbols are only used in the internal modules and can
live in the private header without EAPI.
2013-04-11 15:03:55 +01:00
Stefan Schmidt 7ccc9f20ba eeze/sensor: Use Eeze_Sensor_Type in sensor object.
We use the typedef everywhere else. This makes sure we also use it
in the struct to avoid any confusion. The API is new for upcoming
1.8 release so no problem in changing it now.
2013-04-11 13:11:08 +01:00
Stefan Schmidt 9d47faa761 eeze/sensor: Add more sensor types used in Tizen.
Just setting up the sensor types in the lib and fake module.
2013-04-03 17:14:20 +01:00
Gustavo Sverzut Barbieri 68188ac0c8 efl: merge eeze.
Changes also in this commit:
 * fix missing EAPI in symbols used by modules
 * removed old libudev and libmount support as agreed by discomfitor/zmike
 * replaced __UNUSED__ with EINA_UNUSED
 * fixed docs hierarchy



SVN revision: 82100
2013-01-03 20:37:42 +00:00