Change-Id: Ia1bb16123b8e6afffca6a82fd5eabeadcdfdae5f
*/
EAPI void ecore_device_del(Ecore_Device *dev);
+EAPI Ecore_Device *ecore_device_ref(Ecore_Device *dev);
+EAPI void ecore_device_unref(Ecore_Device *dev);
+
/**
* Lists all current devices.
*
return;
}
+EAPI Ecore_Device *
+ecore_device_ref(Ecore_Device *dev)
+{
+ SAFETY_CHECK(dev, EFL_ECORE_INPUT_DEVICE_CLASS);
+
+ return efl_ref(dev);
+}
+
+EAPI void
+ecore_device_unref(Ecore_Device *dev)
+{
+ SAFETY_CHECK(dev, EFL_ECORE_INPUT_DEVICE_CLASS);
+
+ efl_unref(dev);
+}
+
EAPI const Eina_List *
ecore_device_list(void)
{