From 013f858931563b59ecab86d99cc93e96ba870253 Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Mon, 17 Dec 2012 19:48:45 +0000 Subject: [PATCH] edbus: fix missing blank lines Apparently the previous sed script didn't caught all missing blank lines. SVN revision: 81179 --- src/lib/edbus_message.h | 11 +++++++++++ src/lib/edbus_object.h | 4 ++++ src/lib/edbus_pending.h | 3 +++ src/lib/edbus_proxy.h | 3 +++ src/lib/edbus_service.h | 5 +++++ src/lib/edbus_signal_handler.h | 3 +++ 6 files changed, 29 insertions(+) diff --git a/src/lib/edbus_message.h b/src/lib/edbus_message.h index df886af..3373297 100644 --- a/src/lib/edbus_message.h +++ b/src/lib/edbus_message.h @@ -23,6 +23,7 @@ EAPI EDBus_Message *edbus_message_method_call_new(const char *dest, const * @brief Increase message reference. */ EAPI EDBus_Message *edbus_message_ref(EDBus_Message *msg) EINA_ARG_NONNULL(1); + /** * @brief Decrease message reference. * If reference == 0 message will be freed and all its children. @@ -46,6 +47,7 @@ EAPI const char *edbus_message_signature_get(const EDBus_Message *msg) * @return new EDBus_Message, free with edbus_message_unref() */ EAPI EDBus_Message *edbus_message_error_new(const EDBus_Message *reply, const char *error_name, const char *error_msg) EINA_ARG_NONNULL(1) EINA_WARN_UNUSED_RESULT; + /** * @brief Constructs a message that is a reply to a method call. * @@ -54,6 +56,7 @@ EAPI EDBus_Message *edbus_message_error_new(const EDBus_Message *reply, c * @return new EDBus_Message, free with edbus_message_unref() */ EAPI EDBus_Message *edbus_message_method_return_new(const EDBus_Message *msg) EINA_ARG_NONNULL(1) EINA_WARN_UNUSED_RESULT; + /** * @brief Constructs a new message representing a signal emission. * @@ -77,6 +80,7 @@ EAPI Eina_Bool edbus_message_error_get(const EDBus_Message *msg, con * needs to be used. */ EAPI Eina_Bool edbus_message_arguments_get(const EDBus_Message *msg, const char *signature, ...) EINA_ARG_NONNULL(1, 2) EINA_WARN_UNUSED_RESULT; + /** * @brief Get data from EDBus_Message. For each complete type we must have * a pointer to store its value, in case of complex type @@ -104,6 +108,7 @@ EAPI Eina_Bool edbus_message_arguments_vset(EDBus_Message *msg, cons * @defgroup EDBus_Message_Iter Iterator * @{ */ + /** * @brief Create and appends a typed iterator to another iterator. * @@ -128,6 +133,7 @@ EAPI EDBus_Message_Iter *edbus_message_iter_container_new(EDBus_Message_Iter *it * @brief Append a basic type to EDBus_Iterator. */ EAPI Eina_Bool edbus_message_iter_basic_append(EDBus_Message_Iter *iter, int type, ...) EINA_ARG_NONNULL(1, 3); + /** * @brief Set data to EDBus_Message_Iter. For each complete in signature * you need pass the value, in case of complex type a pointer to be allocated a @@ -182,6 +188,7 @@ EAPI Eina_Bool edbus_message_iter_container_close(EDBus_Message_It * @brief Get the main EDBus_Message_Iter from the EDBus_Message. */ EAPI EDBus_Message_Iter *edbus_message_iter_get(const EDBus_Message *msg) EINA_ARG_NONNULL(1) EINA_WARN_UNUSED_RESULT; + /** * @brief Get a basic type from EDBus_Iterator. */ @@ -193,6 +200,7 @@ EAPI void edbus_message_iter_basic_get(EDBus_Message_Iter *it * @note The returned string must be freed. */ EAPI char *edbus_message_iter_signature_get(EDBus_Message_Iter *iter) EINA_ARG_NONNULL(1) EINA_WARN_UNUSED_RESULT; + /** * @brief Moves the iterator to the next field, if any. * @param iter iterator @@ -215,6 +223,7 @@ EAPI Eina_Bool edbus_message_iter_next(EDBus_Message_Iter *iter) E * */ EAPI Eina_Bool edbus_message_iter_get_and_next(EDBus_Message_Iter *iter, char type, ...) EINA_ARG_NONNULL(1, 2, 3); + /** * @brief Reads a block of fixed-length values from the message iterator. * @@ -233,6 +242,7 @@ EAPI Eina_Bool edbus_message_iter_get_and_next(EDBus_Message_Iter * fast; it's much preferred over walking the entire array with an iterator. */ EAPI Eina_Bool edbus_message_iter_fixed_array_get(EDBus_Message_Iter *iter, int signature, void *value, int *n_elements) EINA_ARG_NONNULL(1, 3, 4); + /** * @brief Get data from EDBus_Message_Iter, for each complete type must have * a pointer to store his value, in case of complex type a @@ -245,6 +255,7 @@ EAPI Eina_Bool edbus_message_iter_fixed_array_get(EDBus_Message_Iter *iter, int * @return EINA_FALSE if signature different from signature in iterator */ EAPI Eina_Bool edbus_message_iter_arguments_get(EDBus_Message_Iter *iter, const char *signature, ...) EINA_ARG_NONNULL(1, 2); + /** * @brief Get data from EDBus_Message_Iter, for each complete type must have * a pointer to store his value, in case of complex type a diff --git a/src/lib/edbus_object.h b/src/lib/edbus_object.h index 6bf8138..9621c87 100644 --- a/src/lib/edbus_object.h +++ b/src/lib/edbus_object.h @@ -15,10 +15,12 @@ * @param path object path of this object */ EAPI EDBus_Object *edbus_object_get(EDBus_Connection *conn, const char *bus, const char *path) EINA_ARG_NONNULL(1, 2, 3) EINA_WARN_UNUSED_RESULT; + /** * @brief Increase object reference. */ EAPI EDBus_Object *edbus_object_ref(EDBus_Object *obj) EINA_ARG_NONNULL(1); + /** * @brief Decrease object reference. * If reference == 0 object will be freed and all its children. @@ -33,6 +35,7 @@ EAPI void edbus_object_unref(EDBus_Object *obj) EINA_ARG_NONNULL(1); * @param data passed to callback */ EAPI void edbus_object_cb_free_add(EDBus_Object *obj, EDBus_Free_Cb cb, const void *data) EINA_ARG_NONNULL(1, 2); + /** * @brief Remove callback registered in edbus_object_cb_free_add(). */ @@ -103,6 +106,7 @@ EAPI const char *edbus_object_path_get(const EDBus_Object *obj) EINA_A * EDBUS_TIMEOUT_INFINITE for no timeout */ EAPI EDBus_Pending *edbus_object_send(EDBus_Object *obj, EDBus_Message *msg, EDBus_Message_Cb cb, const void *cb_data, double timeout) EINA_ARG_NONNULL(1, 2); + /** * @brief Add a signal handler. * diff --git a/src/lib/edbus_pending.h b/src/lib/edbus_pending.h index d0071ff..5f6f1a2 100644 --- a/src/lib/edbus_pending.h +++ b/src/lib/edbus_pending.h @@ -6,6 +6,7 @@ * * @{ */ + EAPI void edbus_pending_data_set(EDBus_Pending *pending, const char *key, const void *data) EINA_ARG_NONNULL(1, 2, 3); EAPI void *edbus_pending_data_get(const EDBus_Pending *pending, const char *key) EINA_ARG_NONNULL(1, 2); EAPI void *edbus_pending_data_del(EDBus_Pending *pending, const char *key) EINA_ARG_NONNULL(1, 2); @@ -20,10 +21,12 @@ EAPI const char *edbus_pending_method_get(const EDBus_Pending *pending * @brief Add a callback function to be called when pending will be freed. */ EAPI void edbus_pending_cb_free_add(EDBus_Pending *pending, EDBus_Free_Cb cb, const void *data) EINA_ARG_NONNULL(1, 2); + /** * @brief Remove callback registered in edbus_pending_cb_free_add(). */ EAPI void edbus_pending_cb_free_del(EDBus_Pending *pending, EDBus_Free_Cb cb, const void *data) EINA_ARG_NONNULL(1, 2); + /** * @} */ diff --git a/src/lib/edbus_proxy.h b/src/lib/edbus_proxy.h index b3764dd..f4799d3 100644 --- a/src/lib/edbus_proxy.h +++ b/src/lib/edbus_proxy.h @@ -11,10 +11,12 @@ * @brief Get a proxy of the following interface name in a EDBus_Object. */ EAPI EDBus_Proxy *edbus_proxy_get(EDBus_Object *obj, const char *interface) EINA_ARG_NONNULL(1, 2) EINA_WARN_UNUSED_RESULT; + /** * @brief Increase proxy reference. */ EAPI EDBus_Proxy *edbus_proxy_ref(EDBus_Proxy *proxy) EINA_ARG_NONNULL(1); + /** * @brief Decrease proxy reference. * If reference == 0 proxy will be freed and all your children. @@ -74,6 +76,7 @@ EAPI EDBus_Pending *edbus_proxy_send(EDBus_Proxy *proxy, EDBus_Message *m * edbus_message_iter_* functions. */ EAPI EDBus_Pending *edbus_proxy_call(EDBus_Proxy *proxy, const char *member, EDBus_Message_Cb cb, const void *cb_data, double timeout, const char *signature, ...) EINA_ARG_NONNULL(1, 2, 6); + /** * @brief Call a method in proxy. * Send a method call to interface that proxy belong with data. diff --git a/src/lib/edbus_service.h b/src/lib/edbus_service.h index d23102a..c8ff1c3 100644 --- a/src/lib/edbus_service.h +++ b/src/lib/edbus_service.h @@ -113,6 +113,7 @@ EAPI EDBus_Service_Interface *edbus_service_interface_register(EDBus_Connection * removed too. */ EAPI void edbus_service_interface_unregister(EDBus_Service_Interface *iface) EINA_ARG_NONNULL(1); + /** * @brief Unregister all interfaces of the object path that this interface belongs * and the object path. @@ -131,6 +132,7 @@ EAPI const char *edbus_service_object_path_get(const EDBus_Service_Interface *if * @param ... values that will be send on signal */ EAPI Eina_Bool edbus_service_signal_emit(const EDBus_Service_Interface *iface, unsigned int signal_id, ...) EINA_ARG_NONNULL(1); + /** * @brief Create signal message. * Each signal handler have a internal id, the first signal handler of @@ -141,10 +143,12 @@ EAPI Eina_Bool edbus_service_signal_emit(const EDBus_Service_Interface *iface, u * @param signal_id id of signal */ EAPI EDBus_Message *edbus_service_signal_new(const EDBus_Service_Interface *iface, unsigned int signal_id) EINA_ARG_NONNULL(1) EINA_WARN_UNUSED_RESULT; + /** * @brief Send a signal message. */ EAPI Eina_Bool edbus_service_signal_send(const EDBus_Service_Interface *iface, EDBus_Message *signal_msg) EINA_ARG_NONNULL(1, 2); + /** * @brief Store data at object path, this data can be obtained from all interfaces * of the same object. @@ -155,6 +159,7 @@ EAPI Eina_Bool edbus_service_signal_send(const EDBus_Service_Interface *iface, E * @param data */ EAPI void edbus_service_object_data_set(EDBus_Service_Interface *iface, const char *key, const void *data) EINA_ARG_NONNULL(1, 2, 3); + /** * @brief Get data stored in object path. * diff --git a/src/lib/edbus_signal_handler.h b/src/lib/edbus_signal_handler.h index 1df5fb3..d3adc87 100644 --- a/src/lib/edbus_signal_handler.h +++ b/src/lib/edbus_signal_handler.h @@ -24,6 +24,7 @@ EAPI EDBus_Signal_Handler *edbus_signal_handler_add(EDBus_Connection *conn, cons * @brief Increase signal handler reference. */ EAPI EDBus_Signal_Handler *edbus_signal_handler_ref(EDBus_Signal_Handler *handler) EINA_ARG_NONNULL(1); + /** * @brief Decrease signal handler reference. * If reference == 0 signal handler will be freed. @@ -36,6 +37,7 @@ EAPI void edbus_signal_handler_unref(EDBus_Signal_Handler *hand * words it will be canceled but memory will not be freed. */ EAPI void edbus_signal_handler_del(EDBus_Signal_Handler *handler) EINA_ARG_NONNULL(1); + /** * @brief Add extra argument in match of signal handler to obtain specifics signals. * @@ -76,6 +78,7 @@ EAPI Eina_Bool edbus_signal_handler_match_extra_vset(EDBus_Signal_Ha * @brief Add a callback function to be called when signal handler will be freed. */ EAPI void edbus_signal_handler_cb_free_add(EDBus_Signal_Handler *handler, EDBus_Free_Cb cb, const void *data) EINA_ARG_NONNULL(1, 2); + /** * @brief Remove callback registered in edbus_signal_handler_cb_free_add(). */ -- 2.7.4