summaryrefslogtreecommitdiff
path: root/src/lib/eldbus/eldbus_freedesktop.h
diff options
context:
space:
mode:
authorJosé Roberto de Souza <jose.souza@intel.com>2013-08-30 10:15:35 -0300
committerJosé Roberto de Souza <jose.souza@intel.com>2013-09-02 16:14:47 -0300
commit928f0e4f833045e7cc68d1c0648c1d7145bb3c9c (patch)
tree06a3d792d653e40d1b1dc7b09ad36243f94aa677 /src/lib/eldbus/eldbus_freedesktop.h
parent8b69231897d1bc6de356170ba3610e702050e0be (diff)
eldbus: Make properties_monitor() return a boolean indicating if props are already cached
Diffstat (limited to 'src/lib/eldbus/eldbus_freedesktop.h')
-rw-r--r--src/lib/eldbus/eldbus_freedesktop.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/lib/eldbus/eldbus_freedesktop.h b/src/lib/eldbus/eldbus_freedesktop.h
index 46406e6..5644d44 100644
--- a/src/lib/eldbus/eldbus_freedesktop.h
+++ b/src/lib/eldbus/eldbus_freedesktop.h
@@ -98,9 +98,14 @@ EAPI Eldbus_Pending *eldbus_object_introspect(Eldbus_Object *obj, Eldbus_
98 * After enable you can call eldbus_proxy_property_local_get() or 98 * After enable you can call eldbus_proxy_property_local_get() or
99 * eldbus_proxy_property_local_get_all() to get cached properties. 99 * eldbus_proxy_property_local_get_all() to get cached properties.
100 * 100 *
101 * @note After enable, it will asynchrony get the properties values. 101 * @param proxy bus+path+interface that the properties belong
102 * @param enable enable or disable properties monitor
103 * @return EINA_TRUE if already have cached properties
104 * EINA_FALSE if it will asynchrony get the properties.
105 * You should listen for a ELDBUS_PROXY_EVENT_PROPERTY_LOADED
106 * to know when properties finish to load.
102 */ 107 */
103EAPI void eldbus_proxy_properties_monitor(Eldbus_Proxy *proxy, Eina_Bool enable) EINA_ARG_NONNULL(1); 108EAPI Eina_Bool eldbus_proxy_properties_monitor(Eldbus_Proxy *proxy, Eina_Bool enable) EINA_ARG_NONNULL(1);
104 109
105EAPI Eldbus_Pending *eldbus_proxy_property_get(Eldbus_Proxy *proxy, const char *name, Eldbus_Message_Cb cb, const void *data) EINA_ARG_NONNULL(1, 2, 3); 110EAPI Eldbus_Pending *eldbus_proxy_property_get(Eldbus_Proxy *proxy, const char *name, Eldbus_Message_Cb cb, const void *data) EINA_ARG_NONNULL(1, 2, 3);
106EAPI Eldbus_Pending *eldbus_proxy_property_set(Eldbus_Proxy *proxy, const char *name, const char *sig, const void *value, Eldbus_Message_Cb cb, const void *data) EINA_ARG_NONNULL(1, 2, 3, 4); 111EAPI Eldbus_Pending *eldbus_proxy_property_set(Eldbus_Proxy *proxy, const char *name, const char *sig, const void *value, Eldbus_Message_Cb cb, const void *data) EINA_ARG_NONNULL(1, 2, 3, 4);