forked from enlightenment/efl
edbus: Add object method call
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi> SVN revision: 80702
This commit is contained in:
parent
3dd67bbc2f
commit
150a4a5c41
|
@ -608,6 +608,16 @@ edbus_object_signal_handler_add(EDBus_Object *obj, const char *interface, const
|
|||
return handler;
|
||||
}
|
||||
|
||||
EAPI EDBus_Message *
|
||||
edbus_object_method_call_new(EDBus_Object *obj, const char *interface, const char *member)
|
||||
{
|
||||
EDBUS_OBJECT_CHECK_RETVAL(obj, NULL);
|
||||
EINA_SAFETY_ON_NULL_RETURN_VAL(interface, NULL);
|
||||
EINA_SAFETY_ON_NULL_RETURN_VAL(member, NULL);
|
||||
|
||||
return edbus_message_method_call_new(obj->name, obj->path, interface, member);
|
||||
}
|
||||
|
||||
Eina_Bool
|
||||
edbus_object_proxy_add(EDBus_Object *obj, EDBus_Proxy *proxy)
|
||||
{
|
||||
|
|
|
@ -111,6 +111,8 @@ EAPI EDBus_Pending *edbus_object_send(EDBus_Object *obj, EDBus_Message *m
|
|||
* @param cb_data data that will be passed to callback
|
||||
*/
|
||||
EAPI EDBus_Signal_Handler *edbus_object_signal_handler_add(EDBus_Object *obj, const char *interface, const char *member, EDBus_Signal_Cb cb, const void *cb_data) EINA_ARG_NONNULL(1, 4);
|
||||
|
||||
EAPI EDBus_Message *edbus_object_method_call_new(EDBus_Object *obj, const char *interface, const char *member) EINA_ARG_NONNULL(1, 2, 3) EINA_WARN_UNUSED_RESULT;
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue