E_Connman.h   E_Connman.h 
skipping to change at line 14 skipping to change at line 14
#include <stdint.h> #include <stdint.h>
#include <stdio.h> #include <stdio.h>
#include <Eina.h> #include <Eina.h>
#include <Ecore.h> #include <Ecore.h>
#include <E_DBus.h> #include <E_DBus.h>
/** /**
* @defgroup EConnman_Group EConnman * @defgroup EConnman_Group EConnman
* *
* Currently supporting upstream API version 0.75 and later.
*
* @note this API is subject to changed based on upstream connman changes,
* then it is required to acknowledge this by defining:
* @code
* #define E_CONNMAN_I_KNOW_THIS_API_IS_SUBJECT_TO_CHANGE 1
* @endcode
*
* @{ * @{
*/ */
#ifndef E_CONNMAN_I_KNOW_THIS_API_IS_SUBJECT_TO_CHANGE
#error "E_Connman.h is an unstable API linked to upstream connman project"
#endif
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
/* Ecore Events */ /* Ecore Events */
extern int E_CONNMAN_EVENT_MANAGER_IN; extern int E_CONNMAN_EVENT_MANAGER_IN;
extern int E_CONNMAN_EVENT_MANAGER_OUT; extern int E_CONNMAN_EVENT_MANAGER_OUT;
extern int E_CONNMAN_EVENT_ELEMENT_ADD; extern int E_CONNMAN_EVENT_ELEMENT_ADD;
extern int E_CONNMAN_EVENT_ELEMENT_DEL; extern int E_CONNMAN_EVENT_ELEMENT_DEL;
skipping to change at line 130 skipping to change at line 141
EAPI Eina_Bool e_connman_service_connect(E_Connman_Element *se rvice, E_DBus_Method_Return_Cb cb, const void *data) EINA_ARG_NONNULL(1) EI NA_WARN_UNUSED_RESULT; EAPI Eina_Bool e_connman_service_connect(E_Connman_Element *se rvice, E_DBus_Method_Return_Cb cb, const void *data) EINA_ARG_NONNULL(1) EI NA_WARN_UNUSED_RESULT;
EAPI Eina_Bool e_connman_service_disconnect(E_Connman_Element *service, E_DBus_Method_Return_Cb cb, const void *data) EINA_ARG_NONNULL(1) EINA_WARN_UNUSED_RESULT; EAPI Eina_Bool e_connman_service_disconnect(E_Connman_Element *service, E_DBus_Method_Return_Cb cb, const void *data) EINA_ARG_NONNULL(1) EINA_WARN_UNUSED_RESULT;
EAPI Eina_Bool e_connman_service_move_before(E_Connman_Element *service, const char *object_path, E_DBus_Method_Return_Cb cb, const void *data) EINA_ARG_NONNULL(1, 2) EINA_WARN_UNUSED_RESULT; EAPI Eina_Bool e_connman_service_move_before(E_Connman_Element *service, const char *object_path, E_DBus_Method_Return_Cb cb, const void *data) EINA_ARG_NONNULL(1, 2) EINA_WARN_UNUSED_RESULT;
EAPI Eina_Bool e_connman_service_move_after(E_Connman_Element *service, const char *object_path, E_DBus_Method_Return_Cb cb, const void * data) EINA_ARG_NONNULL(1, 2) EINA_WARN_UNUSED_RESULT; EAPI Eina_Bool e_connman_service_move_after(E_Connman_Element *service, const char *object_path, E_DBus_Method_Return_Cb cb, const void * data) EINA_ARG_NONNULL(1, 2) EINA_WARN_UNUSED_RESULT;
EAPI Eina_Bool e_connman_service_state_get(const E_Connman_Ele ment *service, const char **state) EINA_ARG_NONNULL(1, 2) EINA_WARN_UNUSED_ RESULT; EAPI Eina_Bool e_connman_service_state_get(const E_Connman_Ele ment *service, const char **state) EINA_ARG_NONNULL(1, 2) EINA_WARN_UNUSED_ RESULT;
EAPI Eina_Bool e_connman_service_error_get(const E_Connman_Ele ment *service, const char **error) EINA_ARG_NONNULL(1, 2) EINA_WARN_UNUSED_ RESULT; EAPI Eina_Bool e_connman_service_error_get(const E_Connman_Ele ment *service, const char **error) EINA_ARG_NONNULL(1, 2) EINA_WARN_UNUSED_ RESULT;
EAPI Eina_Bool e_connman_service_name_get(const E_Connman_Elem ent *service, const char **name) EINA_ARG_NONNULL(1, 2) EINA_WARN_UNUSED_RE SULT; EAPI Eina_Bool e_connman_service_name_get(const E_Connman_Elem ent *service, const char **name) EINA_ARG_NONNULL(1, 2) EINA_WARN_UNUSED_RE SULT;
EAPI Eina_Bool e_connman_service_type_get(const E_Connman_Elem ent *service, const char **type) EINA_ARG_NONNULL(1, 2) EINA_WARN_UNUSED_RE SULT; EAPI Eina_Bool e_connman_service_type_get(const E_Connman_Elem ent *service, const char **type) EINA_ARG_NONNULL(1, 2) EINA_WARN_UNUSED_RE SULT;
EAPI Eina_Bool e_connman_service_mode_get(const E_Connman_Elem EAPI Eina_Bool e_connman_service_security_get(const E_Connman_
ent *service, const char **mode) EINA_ARG_NONNULL(1, 2) EINA_WARN_UNUSED_RE Element *service, unsigned int *count, const char ***security) EINA_ARG_NON
SULT; NULL(1, 2) EINA_WARN_UNUSED_RESULT;
EAPI Eina_Bool e_connman_service_security_get(const E_Connman_
Element *service, const char **security) EINA_ARG_NONNULL(1, 2) EINA_WARN_U
NUSED_RESULT;
EAPI Eina_Bool e_connman_service_passphrase_get(const E_Connma n_Element *service, const char **passphrase) EINA_ARG_NONNULL(1, 2) EINA_WA RN_UNUSED_RESULT; EAPI Eina_Bool e_connman_service_passphrase_get(const E_Connma n_Element *service, const char **passphrase) EINA_ARG_NONNULL(1, 2) EINA_WA RN_UNUSED_RESULT;
EAPI Eina_Bool e_connman_service_passphrase_set(E_Connman_Elem ent *service, const char *passphrase, E_DBus_Method_Return_Cb cb, const voi d *data) EINA_ARG_NONNULL(1) EINA_WARN_UNUSED_RESULT; EAPI Eina_Bool e_connman_service_passphrase_set(E_Connman_Elem ent *service, const char *passphrase, E_DBus_Method_Return_Cb cb, const voi d *data) EINA_ARG_NONNULL(1) EINA_WARN_UNUSED_RESULT;
EAPI Eina_Bool e_connman_service_strength_get(const E_Connman_ Element *service, unsigned char *strength) EINA_ARG_NONNULL(1, 2) EINA_WARN _UNUSED_RESULT; EAPI Eina_Bool e_connman_service_strength_get(const E_Connman_ Element *service, unsigned char *strength) EINA_ARG_NONNULL(1, 2) EINA_WARN _UNUSED_RESULT;
EAPI Eina_Bool e_connman_service_favorite_get(const E_Connman_ Element *service, Eina_Bool *favorite) EINA_ARG_NONNULL(1, 2) EINA_WARN_UNU SED_RESULT; EAPI Eina_Bool e_connman_service_favorite_get(const E_Connman_ Element *service, Eina_Bool *favorite) EINA_ARG_NONNULL(1, 2) EINA_WARN_UNU SED_RESULT;
EAPI Eina_Bool e_connman_service_immutable_get(const E_Connman _Element *service, Eina_Bool *immutable) EINA_ARG_NONNULL(1, 2) EINA_WARN_U NUSED_RESULT; EAPI Eina_Bool e_connman_service_immutable_get(const E_Connman _Element *service, Eina_Bool *immutable) EINA_ARG_NONNULL(1, 2) EINA_WARN_U NUSED_RESULT;
EAPI Eina_Bool e_connman_service_auto_connect_get(const E_Conn man_Element *service, Eina_Bool *auto_connect) EINA_ARG_NONNULL(1, 2) EINA_ WARN_UNUSED_RESULT; EAPI Eina_Bool e_connman_service_auto_connect_get(const E_Conn man_Element *service, Eina_Bool *auto_connect) EINA_ARG_NONNULL(1, 2) EINA_ WARN_UNUSED_RESULT;
EAPI Eina_Bool e_connman_service_auto_connect_set(E_Connman_El ement *service, Eina_Bool auto_connect, E_DBus_Method_Return_Cb cb, const v oid *data) EINA_ARG_NONNULL(1) EINA_WARN_UNUSED_RESULT; EAPI Eina_Bool e_connman_service_auto_connect_set(E_Connman_El ement *service, Eina_Bool auto_connect, E_DBus_Method_Return_Cb cb, const v oid *data) EINA_ARG_NONNULL(1) EINA_WARN_UNUSED_RESULT;
EAPI Eina_Bool e_connman_service_setup_required_get(const E_Co nnman_Element *service, Eina_Bool *setup_required) EINA_ARG_NONNULL(1, 2) E INA_WARN_UNUSED_RESULT;
EAPI Eina_Bool e_connman_service_passphrase_required_get(const E_Connman_Element *service, Eina_Bool *passphrase_required) EINA_ARG_NONNU LL(1, 2) EINA_WARN_UNUSED_RESULT; EAPI Eina_Bool e_connman_service_passphrase_required_get(const E_Connman_Element *service, Eina_Bool *passphrase_required) EINA_ARG_NONNU LL(1, 2) EINA_WARN_UNUSED_RESULT;
EAPI Eina_Bool e_connman_service_login_required_get(const E_Co nnman_Element *service, Eina_Bool *login_required) EINA_ARG_NONNULL(1, 2) E INA_WARN_UNUSED_RESULT;
EAPI Eina_Bool e_connman_service_apn_get(const E_Connman_Eleme
nt *service, const char **apn) EINA_ARG_NONNULL(1, 2) EINA_WARN_UNUSED_RESU
LT;
EAPI Eina_Bool e_connman_service_apn_set(E_Connman_Element *se
rvice, const char *apn, E_DBus_Method_Return_Cb cb, const void *data) EINA_
ARG_NONNULL(1) EINA_WARN_UNUSED_RESULT;
EAPI Eina_Bool e_connman_service_mcc_get(const E_Connman_Eleme
nt *service, const char **mcc) EINA_ARG_NONNULL(1, 2) EINA_WARN_UNUSED_RESU
LT;
EAPI Eina_Bool e_connman_service_mnc_get(const E_Connman_Eleme
nt *service, const char **mnc) EINA_ARG_NONNULL(1, 2) EINA_WARN_UNUSED_RESU
LT;
EAPI Eina_Bool e_connman_service_roaming_get(const E_Connman_E lement *service, Eina_Bool *roaming) EINA_ARG_NONNULL(1, 2) EINA_WARN_UNUSE D_RESULT; EAPI Eina_Bool e_connman_service_roaming_get(const E_Connman_E lement *service, Eina_Bool *roaming) EINA_ARG_NONNULL(1, 2) EINA_WARN_UNUSE D_RESULT;
EAPI Eina_Bool e_connman_service_nameservers_get(const E_Connm
an_Element *service, unsigned int *count, const char ***nameserver) EINA_AR
G_NONNULL(1, 2, 3) EINA_WARN_UNUSED_RESULT;
EAPI Eina_Bool e_connman_service_domains_get(const E_Connman_E
lement *service, unsigned int *count, const char ***domains) EINA_ARG_NONNU
LL(1, 2, 3) EINA_WARN_UNUSED_RESULT;
EAPI Eina_Bool e_connman_service_ipv4_method_get(const E_Connm an_Element *service, const char **method) EINA_ARG_NONNULL(1, 2) EINA_WARN_ UNUSED_RESULT; EAPI Eina_Bool e_connman_service_ipv4_method_get(const E_Connm an_Element *service, const char **method) EINA_ARG_NONNULL(1, 2) EINA_WARN_ UNUSED_RESULT;
EAPI Eina_Bool e_connman_service_ipv4_address_get(const E_Conn man_Element *service, const char **address) EINA_ARG_NONNULL(1, 2) EINA_WAR N_UNUSED_RESULT; EAPI Eina_Bool e_connman_service_ipv4_address_get(const E_Conn man_Element *service, const char **address) EINA_ARG_NONNULL(1, 2) EINA_WAR N_UNUSED_RESULT;
EAPI Eina_Bool e_connman_service_ipv4_gateway_get(const E_Conn man_Element *service, const char **gateway) EINA_ARG_NONNULL(1, 2) EINA_WAR N_UNUSED_RESULT; EAPI Eina_Bool e_connman_service_ipv4_gateway_get(const E_Conn man_Element *service, const char **gateway) EINA_ARG_NONNULL(1, 2) EINA_WAR N_UNUSED_RESULT;
EAPI Eina_Bool e_connman_service_ipv4_netmask_get(const E_Conn man_Element *service, const char **netmask) EINA_ARG_NONNULL(1, 2) EINA_WAR N_UNUSED_RESULT; EAPI Eina_Bool e_connman_service_ipv4_netmask_get(const E_Conn man_Element *service, const char **netmask) EINA_ARG_NONNULL(1, 2) EINA_WAR N_UNUSED_RESULT;
EAPI Eina_Bool e_connman_service_ipv4_configuration_method_get (const E_Connman_Element *service, const char **method) EINA_ARG_NONNULL(1, 2) EINA_WARN_UNUSED_RESULT; EAPI Eina_Bool e_connman_service_ipv4_configuration_method_get (const E_Connman_Element *service, const char **method) EINA_ARG_NONNULL(1, 2) EINA_WARN_UNUSED_RESULT;
EAPI Eina_Bool e_connman_service_ipv4_configuration_address_ge t(const E_Connman_Element *service, const char **address) EINA_ARG_NONNULL( 1, 2) EINA_WARN_UNUSED_RESULT; EAPI Eina_Bool e_connman_service_ipv4_configuration_address_ge t(const E_Connman_Element *service, const char **address) EINA_ARG_NONNULL( 1, 2) EINA_WARN_UNUSED_RESULT;
EAPI Eina_Bool e_connman_service_ipv4_configuration_gateway_ge t(const E_Connman_Element *service, const char **gateway) EINA_ARG_NONNULL( 1, 2) EINA_WARN_UNUSED_RESULT; EAPI Eina_Bool e_connman_service_ipv4_configuration_gateway_ge t(const E_Connman_Element *service, const char **gateway) EINA_ARG_NONNULL( 1, 2) EINA_WARN_UNUSED_RESULT;
EAPI Eina_Bool e_connman_service_ipv4_configuration_netmask_ge t(const E_Connman_Element *service, const char **netmask) EINA_ARG_NONNULL( 1, 2) EINA_WARN_UNUSED_RESULT; EAPI Eina_Bool e_connman_service_ipv4_configuration_netmask_ge t(const E_Connman_Element *service, const char **netmask) EINA_ARG_NONNULL( 1, 2) EINA_WARN_UNUSED_RESULT;
EAPI Eina_Bool e_connman_service_proxy_method_get(const E_Conn
man_Element *service, const char **method) EINA_ARG_NONNULL(1, 2) EINA_WARN
_UNUSED_RESULT;
EAPI Eina_Bool e_connman_service_proxy_url_get(const E_Connman
_Element *service, const char **url) EINA_ARG_NONNULL(1, 2) EINA_WARN_UNUSE
D_RESULT;
EAPI Eina_Bool e_connman_service_proxy_servers_get(const E_Con
nman_Element *service, unsigned int *count, const char ***servers) EINA_ARG
_NONNULL(1, 2, 3) EINA_WARN_UNUSED_RESULT;
EAPI Eina_Bool e_connman_service_proxy_excludes_get(const E_Co
nnman_Element *service, unsigned int *count, const char ***excludes) EINA_A
RG_NONNULL(1, 2, 3) EINA_WARN_UNUSED_RESULT;
EAPI Eina_Bool e_connman_service_proxy_configuration_method_ge
t(const E_Connman_Element *service, const char **method) EINA_ARG_NONNULL(1
, 2) EINA_WARN_UNUSED_RESULT;
EAPI Eina_Bool e_connman_service_proxy_configuration_url_get(c
onst E_Connman_Element *service, const char **url) EINA_ARG_NONNULL(1, 2) E
INA_WARN_UNUSED_RESULT;
EAPI Eina_Bool e_connman_service_proxy_configuration_servers_g
et(const E_Connman_Element *service, unsigned int *count, const char ***ser
vers) EINA_ARG_NONNULL(1, 2, 3) EINA_WARN_UNUSED_RESULT;
EAPI Eina_Bool e_connman_service_proxy_configuration_excludes_
get(const E_Connman_Element *service, unsigned int *count, const char ***ex
cludes) EINA_ARG_NONNULL(1, 2, 3) EINA_WARN_UNUSED_RESULT;
EAPI Eina_Bool e_connman_service_ethernet_method_get(const E_C onnman_Element *service, const char **method) EINA_ARG_NONNULL(1, 2) EINA_W ARN_UNUSED_RESULT; EAPI Eina_Bool e_connman_service_ethernet_method_get(const E_C onnman_Element *service, const char **method) EINA_ARG_NONNULL(1, 2) EINA_W ARN_UNUSED_RESULT;
EAPI Eina_Bool e_connman_service_ethernet_interface_get(const E_Connman_Element *service, const char **iface) EINA_ARG_NONNULL(1, 2) EINA _WARN_UNUSED_RESULT;
EAPI Eina_Bool e_connman_service_ethernet_address_get(const E_ Connman_Element *service, const char **address) EINA_ARG_NONNULL(1, 2) EINA _WARN_UNUSED_RESULT; EAPI Eina_Bool e_connman_service_ethernet_address_get(const E_ Connman_Element *service, const char **address) EINA_ARG_NONNULL(1, 2) EINA _WARN_UNUSED_RESULT;
EAPI Eina_Bool e_connman_service_ethernet_mtu_get(const E_Conn man_Element *service, unsigned short *mtu) EINA_ARG_NONNULL(1, 2) EINA_WARN _UNUSED_RESULT; EAPI Eina_Bool e_connman_service_ethernet_mtu_get(const E_Conn man_Element *service, unsigned short *mtu) EINA_ARG_NONNULL(1, 2) EINA_WARN _UNUSED_RESULT;
EAPI Eina_Bool e_connman_service_ethernet_netmask_get(const E_ EAPI Eina_Bool e_connman_service_ethernet_speed_get(const E_Co
Connman_Element *service, const char **netmask) EINA_ARG_NONNULL(1, 2) EINA nnman_Element *service, unsigned short *speed) EINA_ARG_NONNULL(1, 2) EINA_
_WARN_UNUSED_RESULT; WARN_UNUSED_RESULT;
EAPI Eina_Bool e_connman_service_ethernet_duplex_get(const E_C
onnman_Element *service, const char **duplex) EINA_ARG_NONNULL(1, 2) EINA_W
ARN_UNUSED_RESULT;
/* Methods to configure IPv4 service */ /* Methods to configure IPv4 service */
EAPI Eina_Bool e_connman_service_ipv4_configure_dhcp(E_Connman _Element *service, E_DBus_Method_Return_Cb cb, const void *data) EINA_ARG_N ONNULL(1) EINA_WARN_UNUSED_RESULT; EAPI Eina_Bool e_connman_service_ipv4_configure_dhcp(E_Connman _Element *service, E_DBus_Method_Return_Cb cb, const void *data) EINA_ARG_N ONNULL(1) EINA_WARN_UNUSED_RESULT;
EAPI Eina_Bool e_connman_service_ipv4_configure_manual(E_Connm an_Element *service, const char *address, const char *netmask, const char * gateway, E_DBus_Method_Return_Cb cb, const void *data) EINA_ARG_NONNULL(1, 2) EINA_WARN_UNUSED_RESULT; EAPI Eina_Bool e_connman_service_ipv4_configure_manual(E_Connm an_Element *service, const char *address, const char *netmask, const char * gateway, E_DBus_Method_Return_Cb cb, const void *data) EINA_ARG_NONNULL(1, 2) EINA_WARN_UNUSED_RESULT;
/* Technologies methods */ /* Technologies methods */
EAPI E_Connman_Element * e_connman_technology_get(const char *path) EINA _ARG_NONNULL(1) EINA_WARN_UNUSED_RESULT; EAPI E_Connman_Element * e_connman_technology_get(const char *path) EINA _ARG_NONNULL(1) EINA_WARN_UNUSED_RESULT;
EAPI Eina_Bool e_connman_technology_state_get(const E_Connman_ Element *technology, const char **state) EINA_ARG_NONNULL(1, 2) EINA_WARN_U NUSED_RESULT; EAPI Eina_Bool e_connman_technology_state_get(const E_Connman_ Element *technology, const char **state) EINA_ARG_NONNULL(1, 2) EINA_WARN_U NUSED_RESULT;
EAPI Eina_Bool e_connman_technology_name_get(const E_Connman_E lement *technology, const char **state) EINA_ARG_NONNULL(1, 2) EINA_WARN_UN USED_RESULT; EAPI Eina_Bool e_connman_technology_name_get(const E_Connman_E lement *technology, const char **state) EINA_ARG_NONNULL(1, 2) EINA_WARN_UN USED_RESULT;
EAPI Eina_Bool e_connman_technology_type_get(const E_Connman_E lement *technology, const char **state) EINA_ARG_NONNULL(1, 2) EINA_WARN_UN USED_RESULT; EAPI Eina_Bool e_connman_technology_type_get(const E_Connman_E lement *technology, const char **state) EINA_ARG_NONNULL(1, 2) EINA_WARN_UN USED_RESULT;
// TODO: ethernet_speed_get (not in connman yet)
// TODO: ethernet_duplex_get (not in connman yet)
/* Low-Level API: /* Low-Level API:
* *
* Should just be used to work around problems until proper solution * Should just be used to work around problems until proper solution
* is made into e_connman. * is made into e_connman.
*/ */
EAPI Eina_Bool e_connman_manager_sync_elements(void); EAPI Eina_Bool e_connman_manager_sync_elements(void);
EAPI Eina_Bool e_connman_elements_get_all(unsigned int *count, E_Connman_Element ***p_elements) EINA_ARG_NONNULL(1, 2) EINA_WARN_UNUSED_R ESULT; EAPI Eina_Bool e_connman_elements_get_all(unsigned int *count, E_Connman_Element ***p_elements) EINA_ARG_NONNULL(1, 2) EINA_WARN_UNUSED_R ESULT;
EAPI Eina_Bool e_connman_elements_get_all_type(const char *typ e, unsigned int *count, E_Connman_Element ***p_elements) EINA_ARG_NONNULL(1 , 2, 3) EINA_WARN_UNUSED_RESULT; EAPI Eina_Bool e_connman_elements_get_all_type(const char *typ e, unsigned int *count, E_Connman_Element ***p_elements) EINA_ARG_NONNULL(1 , 2, 3) EINA_WARN_UNUSED_RESULT;
EAPI E_Connman_Element * e_connman_element_get(const char *path); EAPI E_Connman_Element * e_connman_element_get(const char *path);
skipping to change at line 208 skipping to change at line 224
EAPI int e_connman_element_unref(E_Connman_Element *elem ent) EINA_ARG_NONNULL(1); EAPI int e_connman_element_unref(E_Connman_Element *elem ent) EINA_ARG_NONNULL(1);
EAPI void e_connman_element_print(FILE *fp, const E_Connm an_Element *element) EINA_ARG_NONNULL(1, 2); EAPI void e_connman_element_print(FILE *fp, const E_Connm an_Element *element) EINA_ARG_NONNULL(1, 2);
EAPI Eina_Bool e_connman_element_properties_sync(E_Connman_Ele ment *element) EINA_ARG_NONNULL(1); EAPI Eina_Bool e_connman_element_properties_sync(E_Connman_Ele ment *element) EINA_ARG_NONNULL(1);
EAPI Eina_Bool e_connman_element_properties_sync_full(E_Connma n_Element *element, E_DBus_Method_Return_Cb cb, const void *data) EINA_ARG_ NONNULL(1); EAPI Eina_Bool e_connman_element_properties_sync_full(E_Connma n_Element *element, E_DBus_Method_Return_Cb cb, const void *data) EINA_ARG_ NONNULL(1);
EAPI void e_connman_element_properties_list(const E_Connm an_Element *element, Eina_Bool (*cb)(void *data, const E_Connman_Element *e lement, const char *name, int type, const void *value), const void *data) E INA_ARG_NONNULL(1, 2); EAPI void e_connman_element_properties_list(const E_Connm an_Element *element, Eina_Bool (*cb)(void *data, const E_Connman_Element *e lement, const char *name, int type, const void *value), const void *data) E INA_ARG_NONNULL(1, 2);
EAPI Eina_Bool e_connman_element_property_set(E_Connman_Elemen t *element, const char *prop, int type, const void *value) EINA_ARG_NONNULL (1, 2) EINA_WARN_UNUSED_RESULT; EAPI Eina_Bool e_connman_element_property_set(E_Connman_Elemen t *element, const char *prop, int type, const void *value) EINA_ARG_NONNULL (1, 2) EINA_WARN_UNUSED_RESULT;
EAPI Eina_Bool e_connman_element_property_set_full(E_Connman_E lement *element, const char *prop, int type, const void *value, E_DBus_Meth od_Return_Cb cb, const void *data) EINA_ARG_NONNULL(1, 2) EINA_WARN_UNUSED_ RESULT; EAPI Eina_Bool e_connman_element_property_set_full(E_Connman_E lement *element, const char *prop, int type, const void *value, E_DBus_Meth od_Return_Cb cb, const void *data) EINA_ARG_NONNULL(1, 2) EINA_WARN_UNUSED_ RESULT;
EAPI Eina_Bool e_connman_element_property_array_set_full(E_Con
nman_Element *element, const char *prop, int type, unsigned int count, cons
t void * const *values, E_DBus_Method_Return_Cb cb, const void *data) EINA_
ARG_NONNULL(1, 2) EINA_WARN_UNUSED_RESULT;
EAPI Eina_Bool e_connman_element_property_dict_set_full(E_Conn man_Element *element, const char *prop, const char *key, int type, const vo id *value, E_DBus_Method_Return_Cb cb, const void *data) EINA_ARG_NONNULL(1 , 2, 3) EINA_WARN_UNUSED_RESULT; EAPI Eina_Bool e_connman_element_property_dict_set_full(E_Conn man_Element *element, const char *prop, const char *key, int type, const vo id *value, E_DBus_Method_Return_Cb cb, const void *data) EINA_ARG_NONNULL(1 , 2, 3) EINA_WARN_UNUSED_RESULT;
EAPI Eina_Bool e_connman_element_property_type_get_stringshare d(const E_Connman_Element *element, const char *name, int *type) EINA_ARG_N ONNULL(1, 2, 3) EINA_WARN_UNUSED_RESULT; EAPI Eina_Bool e_connman_element_property_type_get_stringshare d(const E_Connman_Element *element, const char *name, int *type) EINA_ARG_N ONNULL(1, 2, 3) EINA_WARN_UNUSED_RESULT;
EAPI Eina_Bool e_connman_element_property_type_get(const E_Con nman_Element *element, const char *name, int *type) EINA_ARG_NONNULL(1, 2, 3) EINA_WARN_UNUSED_RESULT; EAPI Eina_Bool e_connman_element_property_type_get(const E_Con nman_Element *element, const char *name, int *type) EINA_ARG_NONNULL(1, 2, 3) EINA_WARN_UNUSED_RESULT;
EAPI Eina_Bool e_connman_element_property_dict_get_stringshare d(const E_Connman_Element *element, const char *dict_name, const char *key_ name, int *type, void *value) EINA_ARG_NONNULL(1, 2, 4) EINA_WARN_UNUSED_RE SULT; EAPI Eina_Bool e_connman_element_property_dict_get_stringshare d(const E_Connman_Element *element, const char *dict_name, const char *key_ name, int *type, void *value) EINA_ARG_NONNULL(1, 2, 4) EINA_WARN_UNUSED_RE SULT;
EAPI Eina_Bool e_connman_element_property_dict_strings_array_g
et_stringshared(const E_Connman_Element *element, const char *dict_name, co
nst char *key, unsigned int *count, const char ***strings) EINA_ARG_NONNULL
(1, 2, 3, 4) EINA_WARN_UNUSED_RESULT;
EAPI Eina_Bool e_connman_element_property_get_stringshared(con st E_Connman_Element *element, const char *name, int *type, void *value) EI NA_ARG_NONNULL(1, 2, 4) EINA_WARN_UNUSED_RESULT; EAPI Eina_Bool e_connman_element_property_get_stringshared(con st E_Connman_Element *element, const char *name, int *type, void *value) EI NA_ARG_NONNULL(1, 2, 4) EINA_WARN_UNUSED_RESULT;
EAPI Eina_Bool e_connman_element_property_get(const E_Connman_ Element *element, const char *name, int *type, void *value) EINA_ARG_NONNUL L(1, 2, 4) EINA_WARN_UNUSED_RESULT; EAPI Eina_Bool e_connman_element_property_get(const E_Connman_ Element *element, const char *name, int *type, void *value) EINA_ARG_NONNUL L(1, 2, 4) EINA_WARN_UNUSED_RESULT;
EAPI Eina_Bool e_connman_element_is_manager(const E_Connman_El ement *element) EINA_ARG_NONNULL(1) EINA_WARN_UNUSED_RESULT; EAPI Eina_Bool e_connman_element_is_manager(const E_Connman_El ement *element) EINA_ARG_NONNULL(1) EINA_WARN_UNUSED_RESULT;
EAPI Eina_Bool e_connman_element_is_profile(const E_Connman_El ement *element) EINA_ARG_NONNULL(1) EINA_WARN_UNUSED_RESULT; EAPI Eina_Bool e_connman_element_is_profile(const E_Connman_El ement *element) EINA_ARG_NONNULL(1) EINA_WARN_UNUSED_RESULT;
EAPI Eina_Bool e_connman_element_is_service(const E_Connman_El ement *element) EINA_ARG_NONNULL(1) EINA_WARN_UNUSED_RESULT; EAPI Eina_Bool e_connman_element_is_service(const E_Connman_El ement *element) EINA_ARG_NONNULL(1) EINA_WARN_UNUSED_RESULT;
EAPI Eina_Bool e_connman_element_is_technology(const E_Connman _Element *element) EINA_ARG_NONNULL(1) EINA_WARN_UNUSED_RESULT; EAPI Eina_Bool e_connman_element_is_technology(const E_Connman _Element *element) EINA_ARG_NONNULL(1) EINA_WARN_UNUSED_RESULT;
#ifdef __cplusplus #ifdef __cplusplus
} }
 End of changes. 13 change blocks. 
26 lines changed or deleted 64 lines changed or added


 E_DBus.h   E_DBus.h 
skipping to change at line 142 skipping to change at line 142
* A callback function for a DBus call * A callback function for a DBus call
* @param user_data the data passed in to the method call * @param user_data the data passed in to the method call
* @param event_data a struct containing the return data. * @param event_data a struct containing the return data.
*/ */
typedef void (*E_DBus_Callback_Func) (void *user_data, void *method_retu rn, DBusError *error); typedef void (*E_DBus_Callback_Func) (void *user_data, void *method_retu rn, DBusError *error);
typedef void *(*E_DBus_Unmarshal_Func) (DBusMessage *msg, DBusError *err ); typedef void *(*E_DBus_Unmarshal_Func) (DBusMessage *msg, DBusError *err );
typedef void (*E_DBus_Free_Func) (void *data); typedef void (*E_DBus_Free_Func) (void *data);
typedef struct E_DBus_Callback E_DBus_Callback; typedef struct E_DBus_Callback E_DBus_Callback;
EAPI int e_dbus_init(void); /**
EAPI int e_dbus_shutdown(void); * @brief Initialize e_dbus
*/
EAPI int e_dbus_init(void);
/**
* Shutdown e_dbus.
*/
EAPI int e_dbus_shutdown(void);
/* setting up the connection */ /* setting up the connection */
EAPI E_DBus_Connection *e_dbus_bus_get(DBusBusType type); /**
* Retrieve a connection to the bus and integrate it with the ecore main lo
op.
* @param type the type of bus to connect to, e.g. DBUS_BUS_SYSTEM or DBUS_
BUS_SESSION
*/
EAPI E_DBus_Connection *e_dbus_bus_get(DBusBusType type);
EAPI void e_dbus_connection_ref(E_DBus_Connection *conn); EAPI void e_dbus_connection_ref(E_DBus_Connection *conn);
EAPI E_DBus_Connection *e_dbus_connection_setup(DBusConnection *conn); /**
EAPI void e_dbus_connection_close(E_DBus_Connection *conn); * Integrate a DBus connection with the ecore main loop
*
* @param conn - a dbus connection
*/
EAPI E_DBus_Connection *e_dbus_connection_setup(DBusConnection *conn);
/**
* Close out a connection retrieved with e_dbus_bus_get()
* @param conn the connection to close
*/
EAPI void e_dbus_connection_close(E_DBus_Connection *conn);
/* receiving method calls */ /* receiving method calls */
EAPI E_DBus_Interface *e_dbus_interface_new(const char *interface); EAPI E_DBus_Interface *e_dbus_interface_new(const char *interface);
EAPI void e_dbus_interface_ref(E_DBus_Interface *iface); EAPI void e_dbus_interface_ref(E_DBus_Interface *iface);
EAPI void e_dbus_interface_unref(E_DBus_Interface *iface); EAPI void e_dbus_interface_unref(E_DBus_Interface *iface);
EAPI void e_dbus_object_interface_attach(E_DBus_Object *obj, E_DBus_Inte rface *iface); EAPI void e_dbus_object_interface_attach(E_DBus_Object *obj, E_DBus_Inte rface *iface);
EAPI void e_dbus_object_interface_detach(E_DBus_Object *obj, E_DBus_Inte rface *iface); EAPI void e_dbus_object_interface_detach(E_DBus_Object *obj, E_DBus_Inte rface *iface);
EAPI int e_dbus_interface_method_add(E_DBus_Interface *iface, const char *member, const char *signature, const char *reply_signature, E_DBus_Method _Cb func);
EAPI int e_dbus_interface_signal_add(E_DBus_Interface *iface, const char /**
*name, const char *signature); * Add a method to an object
*
* @param iface the E_DBus_Interface to which this method belongs
* @param member the name of the method
* @param signature an optional message signature. if provided, then messa
ges
* with invalid signatures will be automatically rejected
* (an Error response will be sent) and introspection dat
a
* will be available.
*
* @return 1 if successful, 0 if failed (e.g. no memory)
*/
EAPI int e_dbus_interface_method_add(E_DBus_Interface *iface, const char *m
ember, const char *signature, const char *reply_signature, E_DBus_Method_Cb
func);
EAPI E_DBus_Object *e_dbus_object_add(E_DBus_Connection *conn, const cha /**
r *object_path, void *data); * Add a signal to an object
EAPI void e_dbus_object_free(E_DBus_Object *obj); *
EAPI void *e_dbus_object_data_get(E_DBus_Object *obj); * @param iface the E_DBus_Interface to which this signal belongs
EAPI E_DBus_Connection *e_dbus_object_conn_get(E_DBus_Object *obj); * @param name the name of the signal
EAPI const char *e_dbus_object_path_get(E_DBus_Object *obj); * @param signature an optional message signature.
EAPI const Eina_List *e_dbus_object_interfaces_get(E_DBus_Object *obj); *
* @return 1 if successful, 0 if failed (e.g. no memory)
*/
EAPI int e_dbus_interface_signal_add(E_DBus_Interface *iface, const char *n
ame, const char *signature);
EAPI void e_dbus_object_property_get_cb_set(E_DBus_Object *obj, E_DBus_O /**
bject_Property_Get_Cb func); * Add a dbus object.
EAPI void e_dbus_object_property_set_cb_set(E_DBus_Object *obj, E_DBus_O *
bject_Property_Set_Cb func); * @param conn the connection on with the object should listen
* @param object_path a unique string identifying an object (e.g. org/enlig
htenment/WindowManager
* @param data custom data to set on the object (retrievable via
* e_dbus_object_data_get())
*/
EAPI E_DBus_Object *e_dbus_object_add(E_DBus_Connection *conn, const char *
object_path, void *data);
/**
* Free a dbus object
*
* @param obj the object to free
*/
EAPI void e_dbus_object_free(E_DBus_Object *obj);
/**
* @brief Fetch the data pointer for a dbus object
* @param obj the dbus object
*/
EAPI void *e_dbus_object_data_get(E_DBus_Object *obj);
/**
* @brief Get the dbus connection of a dbus object
* @param obj the dbus object
*/
EAPI E_DBus_Connection *e_dbus_object_conn_get(E_DBus_Object *obj);
/**
* @brief Get the path of a dbus object
* @param obj the dbus object
*/
EAPI const char *e_dbus_object_path_get(E_DBus_Object *obj);
/**
* @brief Get the interfaces of a dbus object
* @param obj the dbus object
*/
EAPI const Eina_List *e_dbus_object_interfaces_get(E_DBus_Object *obj);
/**
* @brief Sets the callback to fetch properties from an object
* @param obj the object
* @param func the callback
*/
EAPI void e_dbus_object_property_get_cb_set(E_DBus_Object *obj, E_DBus_Obje
ct_Property_Get_Cb func);
/**
* @brief Sets the callback to set properties on an object
* @param obj the object
* @param func the callback
*/
EAPI void e_dbus_object_property_set_cb_set(E_DBus_Object *obj, E_DBus_Obje
ct_Property_Set_Cb func);
/* sending method calls */ /* sending method calls */
EAPI DBusPendingCall *e_dbus_message_send(E_DBus_Connection *conn, DBusM /**
essage *msg, E_DBus_Method_Return_Cb cb_return, int timeout, void *data); * @brief Send a DBus message with callbacks
* @param conn The DBus connection
* @param msg The message to send
* @param cb_return A callback function for returns (only used if @a msg is
a method-call)
* @param timeout A timeout in milliseconds, after which a synthetic erro
r will be generated
* @param data custom data to pass in to the callback
* @return a DBusPendingCall that can be used to cancel the current call
*/
EAPI DBusPendingCall *e_dbus_message_send(E_DBus_Connection *conn, DBusMess
age *msg, E_DBus_Method_Return_Cb cb_return, int timeout, void *data);
EAPI DBusPendingCall *e_dbus_method_call_send(E_DBus_Connection *conn, D BusMessage *msg, E_DBus_Unmarshal_Func unmarshal_func, E_DBus_Callback_Func cb_func, E_DBus_Free_Func free_func, int timeout, void *data); EAPI DBusPendingCall *e_dbus_method_call_send(E_DBus_Connection *conn, D BusMessage *msg, E_DBus_Unmarshal_Func unmarshal_func, E_DBus_Callback_Func cb_func, E_DBus_Free_Func free_func, int timeout, void *data);
/* signal receiving */ /* signal receiving */
EAPI E_DBus_Signal_Handler *e_dbus_signal_handler_add(E_DBus_Connection /**
*conn, const char *sender, const char *path, const char *interface, const c * Add a signal handler
har *member, E_DBus_Signal_Cb cb_signal, void *data); *
EAPI void e_dbus_signal_handler_del(E_DBus_Connection *conn, E_DBus_Sign * @param conn the dbus connection
al_Handler *sh); * @param sender name of the signal's sender
* @param path the object path of the signal's sender
* @param interface the signal's interface
* @param member the signal's name
* @param cb_signal a callback to call when the signal is received
* @param data custom data to pass in to the callback
*/
EAPI E_DBus_Signal_Handler *e_dbus_signal_handler_add(E_DBus_Connection *co
nn, const char *sender, const char *path, const char *interface, const char
*member, E_DBus_Signal_Cb cb_signal, void *data);
/**
* Delete a signal handler
*
* @param conn the dbus connection
* @param sh the handler to delete
*/
EAPI void e_dbus_signal_handler_del(E_DBus_Connection *conn, E_DBus_Signal_
Handler *sh);
/* standard dbus method calls */ /* standard dbus method calls */
EAPI DBusPendingCall *e_dbus_request_name(E_DBus_Connection *conn, const char *name, EAPI DBusPendingCall *e_dbus_request_name(E_DBus_Connection *conn, const char *name,
unsigned int flags, unsigned int flags,
E_DBus_Method_Return_Cb cb_retu rn, E_DBus_Method_Return_Cb cb_retu rn,
const void *data); const void *data);
EAPI DBusPendingCall *e_dbus_release_name(E_DBus_Connection *conn, const char *name, EAPI DBusPendingCall *e_dbus_release_name(E_DBus_Connection *conn, const char *name,
E_DBus_Method_Return_Cb cb_retu rn, E_DBus_Method_Return_Cb cb_retu rn,
const void *data); const void *data);
skipping to change at line 212 skipping to change at line 327
E_DBus_Method_Return_ Cb cb_return, E_DBus_Method_Return_ Cb cb_return,
const void *data); const void *data);
EAPI DBusPendingCall *e_dbus_name_has_owner(E_DBus_Connection *conn, con st char *name, EAPI DBusPendingCall *e_dbus_name_has_owner(E_DBus_Connection *conn, con st char *name,
E_DBus_Method_Return_Cb cb_re turn, E_DBus_Method_Return_Cb cb_re turn,
const void *data); const void *data);
EAPI DBusPendingCall *e_dbus_start_service_by_name(E_DBus_Connection *co nn, const char *name, unsigned int flags, EAPI DBusPendingCall *e_dbus_start_service_by_name(E_DBus_Connection *co nn, const char *name, unsigned int flags,
E_DBus_Method_Return_C b cb_return, E_DBus_Method_Return_C b cb_return,
const void *data); const void *data);
/* standard methods calls on objects */ /* standard methods calls on objects */
EAPI DBusPendingCall *e_dbus_introspect(E_DBus_Connection *conn, const c
har *bus, /**
* Calls the Introspect method on a given bus and object path.
* @param conn The dbus connection to use
* @param bus The bus to call the method on
* @param object_path The path of the bus to call on
* @param cb_return The callback to call on reply from dbus
* @param data The data to associate with the callback
* @return A pending dbus call
*/
EAPI DBusPendingCall *e_dbus_introspect(E_DBus_Connection *conn, const char
*bus,
const char *object_path, E_DBus_Method_Return_Cb cb_return, const vo id *data); const char *object_path, E_DBus_Method_Return_Cb cb_return, const vo id *data);
EAPI DBusPendingCall *e_dbus_peer_ping(E_DBus_Connection *conn, const ch
ar *destination, /**
* Ping the dbus peer
*
* @param conn the dbus connection
* @param destination the bus name that the object is on
* @param path the object path
* @param cb_return a callback for a successful return
* @param data data to pass to the callbacks
*/
EAPI DBusPendingCall *e_dbus_peer_ping(E_DBus_Connection *conn, const char
*destination,
const char *path, E_DBus_Method_Re turn_Cb cb_return, const char *path, E_DBus_Method_Re turn_Cb cb_return,
const void *data); const void *data);
EAPI DBusPendingCall *e_dbus_peer_get_machine_id(E_DBus_Connection *conn
, /**
* Get the UUID of the peer
*
* @param conn the dbus connection
* @param destination the bus name that the object is on
* @param path the object path
* @param cb_return a callback for a successful return
* @param data data to pass to the callbacks
*/
EAPI DBusPendingCall *e_dbus_peer_get_machine_id(E_DBus_Connection *conn,
const char *destination, const char *path, const char *destination, const char *path,
E_DBus_Method_Return_Cb cb_return, E_DBus_Method_Return_Cb cb_return,
const void *data); const void *data);
EAPI DBusPendingCall *e_dbus_properties_get_all(E_DBus_Connection *conn, const char *destination, EAPI DBusPendingCall *e_dbus_properties_get_all(E_DBus_Connection *conn, const char *destination,
const char *path, const c har *interface, const char *path, const c har *interface,
E_DBus_Method_Return_Cb c b_return, E_DBus_Method_Return_Cb c b_return,
const void *data); const void *data);
EAPI DBusPendingCall *e_dbus_properties_get(E_DBus_Connection *conn, con
st char *destination, /**
* Get the value of a property on an object
*
* @param conn the dbus connection
* @param destination the bus name that the object is on
* @param path the object path
* @param interface the interface name of the property
* @param property the name of the property
* @param cb_return a callback for a successful return
* @param data data to pass to the callbacks
*/
EAPI DBusPendingCall *e_dbus_properties_get(E_DBus_Connection *conn, const
char *destination,
const char *path, const char *interface, const char *path, const char *interface,
const char *property, const char *property,
E_DBus_Method_Return_Cb cb_re turn, E_DBus_Method_Return_Cb cb_re turn,
const void *data); const void *data);
EAPI DBusPendingCall *e_dbus_properties_set(E_DBus_Connection *conn, con
st char *destination, /**
* Set the value of a property on an object
*
* @param conn the dbus connection
* @param destination the bus name that the object is on
* @param path the object path
* @param interface the interface name of the property
* @param property the name of the property
* @param value_type the type of the property's value
* @param value a pointer to the value
* @param cb_return a callback for a successful return
* @param data data to pass to the callbacks
*/
EAPI DBusPendingCall *e_dbus_properties_set(E_DBus_Connection *conn, const
char *destination,
const char *path, const char *interface, const char *path, const char *interface,
const char *property, int val ue_type, const char *property, int val ue_type,
const void *value, E_DBus_Met hod_Return_Cb cb_return, const void *value, E_DBus_Met hod_Return_Cb cb_return,
const void *data); const void *data);
EAPI E_DBus_Callback *e_dbus_callback_new(E_DBus_Callback_Func cb_func, /**
E_DBus_Unmarshal_Func unmarshal_func, E_DBus_Free_Func free_func, void *use * @brief Create a callback structure
r_data); * @param cb_func the callback function
* @param user_data data to pass to the callback
*/
EAPI E_DBus_Callback *e_dbus_callback_new(E_DBus_Callback_Func cb_func, E_D
Bus_Unmarshal_Func unmarshal_func, E_DBus_Free_Func free_func, void *user_d
ata);
EAPI void e_dbus_callback_free(E_DBus_Callback *callback); /**
* @brief Free a callback structure
* @param callback the callback to free
*/
EAPI void e_dbus_callback_free(E_DBus_Callback *callback);
EAPI void e_dbus_callback_call(E_DBus_Callback *cb, void *data, DBusErro r *error); EAPI void e_dbus_callback_call(E_DBus_Callback *cb, void *data, DBusErro r *error);
EAPI void *e_dbus_callback_unmarshal(E_DBus_Callback *cb, DBusMessage *m sg, DBusError *err); EAPI void *e_dbus_callback_unmarshal(E_DBus_Callback *cb, DBusMessage *m sg, DBusError *err);
EAPI void e_dbus_callback_return_free(E_DBus_Callback *callback, void *d ata); EAPI void e_dbus_callback_return_free(E_DBus_Callback *callback, void *d ata);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
/** /**
* @} * @}
 End of changes. 16 change blocks. 
40 lines changed or deleted 228 lines changed or added


 E_Notification_Daemon.h   E_Notification_Daemon.h 
#ifndef E_NOTIFICATION_DAEMON_H #ifndef E_NOTIFICATION_DAEMON_H
#define E_NOTIFICATION_DAEMON_H #define E_NOTIFICATION_DAEMON_H
#define E_NOTIFICATION_DAEMON_VERSION "0.9" #define E_NOTIFICATION_DAEMON_VERSION "0.9"
#define E_NOTIFICATION_DAEMON_SUPPORTS_SPEC_VERSION "1.2"
#include <E_Notify.h> #include <E_Notify.h>
#ifdef EAPI #ifdef EAPI
#undef EAPI #undef EAPI
#endif #endif
#ifdef _MSC_VER #ifdef _MSC_VER
# ifdef BUILDING_DLL # ifdef BUILDING_DLL
# define EAPI __declspec(dllexport) # define EAPI __declspec(dllexport)
# else # else
# define EAPI __declspec(dllimport) # define EAPI __declspec(dllimport)
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added


 E_Notify.h   E_Notify.h 
skipping to change at line 51 skipping to change at line 51
enum E_Notification_Closed_Reason enum E_Notification_Closed_Reason
{ {
E_NOTIFICATION_CLOSED_EXPIRED, E_NOTIFICATION_CLOSED_EXPIRED,
E_NOTIFICATION_CLOSED_DISMISSED, E_NOTIFICATION_CLOSED_DISMISSED,
E_NOTIFICATION_CLOSED_REQUESTED, E_NOTIFICATION_CLOSED_REQUESTED,
E_NOTIFICATION_CLOSED_UNDEFINED E_NOTIFICATION_CLOSED_UNDEFINED
}; };
enum E_Notification_Hint_Type enum E_Notification_Hint_Type
{ {
E_NOTIFICATION_HINT_URGENCY = 0x1, E_NOTIFICATION_HINT_URGENCY = (1 << 0),
E_NOTIFICATION_HINT_CATEGORY = 0x2, E_NOTIFICATION_HINT_CATEGORY = (1 << 1),
E_NOTIFICATION_HINT_DESKTOP = 0x4, E_NOTIFICATION_HINT_DESKTOP = (1 << 2),
E_NOTIFICATION_HINT_SOUND_FILE = 0x8, E_NOTIFICATION_HINT_SOUND_FILE = (1 << 3),
E_NOTIFICATION_HINT_TRANSIENT = (1 << 4),
E_NOTIFICATION_HINT_RESIDENT = (1 << 5),
E_NOTIFICATION_HINT_ACTION_ICONS = (1 << 6),
E_NOTIFICATION_HINT_SUPPRESS_SOUND = 0x10, E_NOTIFICATION_HINT_SUPPRESS_SOUND = 0x10,
E_NOTIFICATION_HINT_XY = 0x20, E_NOTIFICATION_HINT_XY = 0x20,
E_NOTIFICATION_HINT_IMAGE_DATA = 0x40 E_NOTIFICATION_HINT_IMAGE_DATA = 0x40
}; };
/* client method returns */ /* client method returns */
struct E_Notification_Return_Notify struct E_Notification_Return_Notify
{ {
unsigned int notification_id; unsigned int notification_id;
E_Notification *notification; E_Notification *notification;
skipping to change at line 77 skipping to change at line 80
struct E_Notification_Return_Get_Capabilities struct E_Notification_Return_Get_Capabilities
{ {
Eina_List *capabilities; Eina_List *capabilities;
}; };
struct E_Notification_Return_Get_Server_Information struct E_Notification_Return_Get_Server_Information
{ {
const char *name; const char *name;
const char *vendor; const char *vendor;
const char *version; const char *version;
const char *spec_version;
}; };
/* signals */ /* signals */
struct E_Notification_Event_Notification_Closed struct E_Notification_Event_Notification_Closed
{ {
unsigned int notification_id; unsigned int notification_id;
E_Notification_Closed_Reason reason; E_Notification_Closed_Reason reason;
}; };
struct E_Notification_Event_Action_Invoked struct E_Notification_Event_Action_Invoked
{ {
unsigned int notification_id; unsigned int notification_id;
char *action_id; char *action_id;
}; };
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
EAPI int e_notification_init(); EAPI int e_notification_init(void);
EAPI int e_notification_shutdown(); EAPI int e_notification_shutdown(void);
/* client */ /* client */
EAPI void e_notification_send(E_Notification *n, E_DBus_Callback_Func fu nc, void *data); EAPI void e_notification_send(E_Notification *n, E_DBus_Callback_Func fu nc, void *data);
EAPI void e_notification_get_capabilities(E_DBus_Callback_Func func, voi d *data); EAPI void e_notification_get_capabilities(E_DBus_Callback_Func func, voi d *data);
EAPI void e_notification_get_server_information(E_DBus_Callback_Func fun c, void *data); EAPI void e_notification_get_server_information(E_DBus_Callback_Func fun c, void *data);
/* Notifications */ /* Notifications */
EAPI E_Notification *e_notification_new(); EAPI E_Notification *e_notification_new(void);
EAPI void e_notification_ref(E_Notification *n); EAPI void e_notification_ref(E_Notification *n);
EAPI void e_notification_unref(E_Notification *n); EAPI void e_notification_unref(E_Notification *n);
EAPI void e_notification_free(E_Notification *n); EAPI void e_notification_free(E_Notification *n);
EAPI E_Notification *e_notification_full_new(const char *app_name, EAPI E_Notification *e_notification_full_new(const char *app_name,
unsigned int replaces_id, unsigned int replaces_id,
const char *app_icon, const char *app_icon,
const char *summary, const char *summary,
const char *body, const char *body,
int expire_timeout); int expire_timeout);
skipping to change at line 141 skipping to change at line 145
EAPI const char *e_notification_app_icon_get(E_Notification *n); EAPI const char *e_notification_app_icon_get(E_Notification *n);
EAPI const char *e_notification_summary_get(E_Notification *n); EAPI const char *e_notification_summary_get(E_Notification *n);
EAPI const char *e_notification_body_get(E_Notification *n); EAPI const char *e_notification_body_get(E_Notification *n);
EAPI int e_notification_replaces_id_get(E_Notification *note); EAPI int e_notification_replaces_id_get(E_Notification *note);
EAPI int e_notification_timeout_get(E_Notification *note); EAPI int e_notification_timeout_get(E_Notification *note);
EAPI unsigned char e_notification_closed_get(E_Notification *note); EAPI unsigned char e_notification_closed_get(E_Notification *note);
/* actions */ /* actions */
EAPI void e_notification_action_add(E_Notification *n, const char *actio n_id, const char *action_name); EAPI void e_notification_action_add(E_Notification *n, const char *actio n_id, const char *action_name);
EAPI Eina_List *e_notification_actions_get(E_Notification *n); EAPI Eina_List *e_notification_actions_get(E_Notification *n);
EAPI const char *e_notification_action_id_get(E_Notification_Action *a);
EAPI const char *e_notification_action_name_get(E_Notification_Action *a
);
/* hint mutators */ /* hint mutators */
EAPI void e_notification_hint_transient_set(E_Notification *n, Eina_Bool
transient);
EAPI void e_notification_hint_resident_set(E_Notification *n, Eina_Bool
resident);
EAPI void e_notification_hint_action_icons_set(E_Notification *n, Eina_B
ool action_icons);
EAPI void e_notification_hint_image_path_set(E_Notification *n, const ch
ar *path);
EAPI void e_notification_hint_urgency_set(E_Notification *n, char urgenc y); EAPI void e_notification_hint_urgency_set(E_Notification *n, char urgenc y);
EAPI void e_notification_hint_category_set(E_Notification *n, const char *category); EAPI void e_notification_hint_category_set(E_Notification *n, const char *category);
EAPI void e_notification_hint_desktop_set(E_Notification *n, const char *desktop); EAPI void e_notification_hint_desktop_set(E_Notification *n, const char *desktop);
EAPI void e_notification_hint_sound_file_set(E_Notification *n, const ch ar *sound_file); EAPI void e_notification_hint_sound_file_set(E_Notification *n, const ch ar *sound_file);
EAPI void e_notification_hint_suppress_sound_set(E_Notification *n, char suppress_sound); EAPI void e_notification_hint_suppress_sound_set(E_Notification *n, char suppress_sound);
EAPI void e_notification_hint_xy_set(E_Notification *n, int x, int y); EAPI void e_notification_hint_xy_set(E_Notification *n, int x, int y);
EAPI void e_notification_hint_image_data_set(E_Notification *n, E_Notifi cation_Image *image); EAPI void e_notification_hint_image_data_set(E_Notification *n, E_Notifi cation_Image *image);
/* hint accessors */ /* hint accessors */
EAPI char e_notification_hint_urgency_get(E_Notification *n); EAPI char e_notification_hint_urgency_get(E_Notification *n);
EAPI const char *e_notification_hint_category_get(E_Notification *n); EAPI const char *e_notification_hint_category_get(E_Notification *n);
EAPI const char *e_notification_hint_desktop_get(E_Notification *n); EAPI const char *e_notification_hint_desktop_get(E_Notification *n);
EAPI const char *e_notification_hint_sound_file_get(E_Notification *n); EAPI const char *e_notification_hint_sound_file_get(E_Notification *n);
EAPI const char *e_notification_hint_image_path_get(E_Notification *n);
EAPI char e_notification_hint_suppress_sound_get(E_Notification *n); EAPI char e_notification_hint_suppress_sound_get(E_Notification *n);
EAPI int e_notification_hint_xy_get(E_Notification *n, int *x, int *y) ; EAPI int e_notification_hint_xy_get(E_Notification *n, int *x, int *y) ;
EAPI E_Notification_Image *e_notification_hint_image_data_get(E_Notifica tion *n); EAPI E_Notification_Image *e_notification_hint_image_data_get(E_Notifica tion *n);
/* icon_data is deprecated, we do not support setting it */
EAPI E_Notification_Image *e_notification_hint_icon_data_get(E_Notificat ion *n); EAPI E_Notification_Image *e_notification_hint_icon_data_get(E_Notificat ion *n);
/* image hint */ /* image hint */
EAPI E_Notification_Image *e_notification_image_new(); EAPI E_Notification_Image *e_notification_image_new(void);
EAPI void e_notification_image_free(E_Notification_Image *img); EAPI void e_notification_image_free(E_Notification_Image *img);
EAPI Eina_Bool e_notification_image_init(E_Notification_Image *img, Evas _Object *obj) EINA_WARN_UNUSED_RESULT;
EAPI Evas_Object *e_notification_image_evas_object_add(Evas *evas, E_Not ification_Image *img); EAPI Evas_Object *e_notification_image_evas_object_add(Evas *evas, E_Not ification_Image *img);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
/** /**
* @} * @}
*/ */
 End of changes. 10 change blocks. 
8 lines changed or deleted 26 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/