forked from enlightenment/efl
edbus: Add doc of edbus_message to/from eina_value
Move edbus_to/from_eina_value.h to single file Patch by: José Roberto de Souza <zehortigoza@profusion.mobi> SVN revision: 78551
This commit is contained in:
parent
a69f6ce338
commit
de74c4245b
|
@ -65,7 +65,7 @@ include_HEADERS = \
|
|||
src/lib/edbus_service.h \
|
||||
src/lib/edbus_signal_handler.h \
|
||||
src/lib/edbus_message_helper.h \
|
||||
src/lib/edbus_message_to_eina_value.h
|
||||
src/lib/edbus_message_eina_value.h
|
||||
|
||||
libedbus2_la_LIBADD = @ECORE_LIBS@ @DBUS_LIBS@
|
||||
libedbus2_la_SOURCES = \
|
||||
|
|
|
@ -133,9 +133,6 @@ typedef void (*EDBus_Signal_Cb)(void *data, const EDBus_Message *msg);
|
|||
#include "edbus_proxy.h"
|
||||
#include "edbus_freedesktop.h"
|
||||
#include "edbus_service.h"
|
||||
#include "edbus_message_helper.h"
|
||||
#include "edbus_message_to_eina_value.h"
|
||||
#include "edbus_message_from_eina_value.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
|
@ -271,6 +271,10 @@ EAPI void edbus_message_iter_del(EDBus_Message_Iter *iter) EINA
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
#include "edbus_message_helper.h"
|
||||
#include "edbus_message_eina_value.h"
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
|
|
@ -0,0 +1,26 @@
|
|||
/**
|
||||
* @defgroup Eina_Value
|
||||
* @{
|
||||
*/
|
||||
|
||||
/**
|
||||
* Convert EDBus_Message to Eina_Value
|
||||
*
|
||||
* @param msg Message
|
||||
* @return Eina_Value of type Eina_Value_Type_Struct
|
||||
*/
|
||||
EAPI Eina_Value *edbus_message_to_eina_value(const EDBus_Message *msg);
|
||||
|
||||
/**
|
||||
* Convert Eina_Value to EDBus_Message
|
||||
*
|
||||
* @param signature dbus signature
|
||||
* @param msg where data will be put
|
||||
* @param value source of data, must be of type Eina_Value_Type_Struct
|
||||
* @return success or not
|
||||
*/
|
||||
EAPI Eina_Bool edbus_message_from_eina_value(const char *signature, EDBus_Message *msg, const Eina_Value *value);
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
|
@ -1 +0,0 @@
|
|||
EAPI Eina_Bool edbus_message_from_eina_value(const char *signature, EDBus_Message *msg, const Eina_Value *value);
|
|
@ -1,3 +1,9 @@
|
|||
/**
|
||||
* @defgroup EDBus_Message_Helpers Helpers
|
||||
*
|
||||
* @{
|
||||
*/
|
||||
|
||||
typedef void (*EDBus_Dict_Cb_Get)(void *data, const void *key, EDBus_Message_Iter *var);
|
||||
|
||||
/**
|
||||
|
@ -9,3 +15,7 @@ typedef void (*EDBus_Dict_Cb_Get)(void *data, const void *key, EDBus_Message_Ite
|
|||
* @param data context data
|
||||
*/
|
||||
EAPI void edbus_message_iter_dict_iterate(EDBus_Message_Iter *dict, const char *signature, EDBus_Dict_Cb_Get cb, const void *data);
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
EAPI Eina_Value *edbus_message_to_eina_value(const EDBus_Message *msg);
|
Loading…
Reference in New Issue