summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2013-11-29 00:10:14 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2013-11-29 00:10:14 +0100
commit1d135c424b776efa3a0207a37d2a43c7ba9844a9 (patch)
tree23beb0c2c61a16134055411627c54f8e9f76ced3
parent146c39a8387b4adcf3c027f1c373bd27060747b0 (diff)
remove dbus related bindings, eldbus has to be done
-rw-r--r--lib/efl/native/ebluez.rb140
-rw-r--r--lib/efl/native/econnman.rb253
-rw-r--r--lib/efl/native/edbus.rb162
-rw-r--r--lib/efl/native/ehal.rb104
-rw-r--r--lib/efl/native/enotification_daemon.rb66
-rw-r--r--lib/efl/native/enotify.rb170
-rw-r--r--lib/efl/native/eofono.rb112
-rw-r--r--lib/efl/native/eukit.rb115
8 files changed, 0 insertions, 1122 deletions
diff --git a/lib/efl/native/ebluez.rb b/lib/efl/native/ebluez.rb
deleted file mode 100644
index 4eb1584..0000000
--- a/lib/efl/native/ebluez.rb
+++ /dev/null
@@ -1,140 +0,0 @@
1#! /usr/bin/env ruby
2# -*- coding: UTF-8 -*-
3#
4require 'efl/native'
5require 'efl/native/edbus'
6#
7module Efl
8 #
9 module Ebluez
10 #
11 FCT_PREFIX = 'e_bluez_' unless const_defined? :FCT_PREFIX
12 #
13 def self.method_missing meth, *args, &block
14 sym = Efl::MethodResolver.resolve self, meth, FCT_PREFIX
15 self.send sym, *args, &block
16 end
17 #
18 end
19 #
20 module Native
21 #
22 ffi_lib 'ebluez.so.1'
23 #
24 # TYPEDEFS
25 # typedef struct _E_Bluez_Element E_Bluez_Element;
26 typedef :pointer, :e_bluez_element
27 # typedef struct _E_Bluez_Array E_Bluez_Array;
28 typedef :pointer, :e_bluez_array
29 # typedef struct _E_Bluez_Device_Found E_Bluez_Device_Found;
30 typedef :pointer, :e_bluez_device_found
31 #
32 # FUNCTIONS
33 fcts = [
34 # EAPI unsigned int e_bluez_system_init(E_DBus_Connection *edbus_conn);
35 [ :e_bluez_system_init, [ :e_dbus_connection ], :uint ],
36 # EAPI unsigned int e_bluez_system_shutdown(void);
37 [ :e_bluez_system_shutdown, [ ], :uint ],
38 # EAPI E_Bluez_Element * e_bluez_manager_get(void);
39 [ :e_bluez_manager_get, [ ], :e_bluez_element ],
40 # EAPI Eina_Bool e_bluez_manager_default_adapter(E_DBus_Method_Return_Cb cb, void *data);
41 [ :e_bluez_manager_default_adapter, [ :e_dbus_method_return_cb, :pointer ], :bool ],
42 # EAPI E_Bluez_Element * e_bluez_adapter_get(const char *path);
43 [ :e_bluez_adapter_get, [ :string ], :e_bluez_element ],
44 # EAPI Eina_Bool e_bluez_adapter_agent_register(E_Bluez_Element *element, const char *object_path, const char *capability, E_DBus_Method_Return_Cb cb, const void *data);
45 [ :e_bluez_adapter_agent_register, [ :e_bluez_element, :string, :string, :e_dbus_method_return_cb, :pointer ], :bool ],
46 # EAPI Eina_Bool e_bluez_adapter_agent_unregister(E_Bluez_Element *element, const char *object_path, E_DBus_Method_Return_Cb cb, const void *data);
47 [ :e_bluez_adapter_agent_unregister, [ :e_bluez_element, :string, :e_dbus_method_return_cb, :pointer ], :bool ],
48 # EAPI Eina_Bool e_bluez_adapter_address_get(const E_Bluez_Element *element, const char **address);
49 [ :e_bluez_adapter_address_get, [ :e_bluez_element, :pointer ], :bool ],
50 # EAPI Eina_Bool e_bluez_adapter_name_get(const E_Bluez_Element *element, const char **name);
51 [ :e_bluez_adapter_name_get, [ :e_bluez_element, :pointer ], :bool ],
52 # EAPI Eina_Bool e_bluez_adapter_name_set(E_Bluez_Element *element, const char *name, E_DBus_Method_Return_Cb cb, const void *data);
53 [ :e_bluez_adapter_name_set, [ :e_bluez_element, :string, :e_dbus_method_return_cb, :pointer ], :bool ],
54 # EAPI Eina_Bool e_bluez_adapter_powered_get(const E_Bluez_Element *element, Eina_Bool *powered);
55 [ :e_bluez_adapter_powered_get, [ :e_bluez_element, :pointer ], :bool ],
56 # EAPI Eina_Bool e_bluez_adapter_powered_set(E_Bluez_Element *profile, Eina_Bool powered, E_DBus_Method_Return_Cb cb, const void *data);
57 [ :e_bluez_adapter_powered_set, [ :e_bluez_element, :bool, :e_dbus_method_return_cb, :pointer ], :bool ],
58 # EAPI Eina_Bool e_bluez_adapter_discoverable_get(const E_Bluez_Element *element, Eina_Bool *discoverable);
59 [ :e_bluez_adapter_discoverable_get, [ :e_bluez_element, :pointer ], :bool ],
60 # EAPI Eina_Bool e_bluez_adapter_discoverable_set(E_Bluez_Element *profile, Eina_Bool discoverable, E_DBus_Method_Return_Cb cb, const void *data);
61 [ :e_bluez_adapter_discoverable_set, [ :e_bluez_element, :bool, :e_dbus_method_return_cb, :pointer ], :bool ],
62 # EAPI Eina_Bool e_bluez_adapter_discoverable_timeout_get(const E_Bluez_Element *element, unsigned int *timeout);
63 [ :e_bluez_adapter_discoverable_timeout_get, [ :e_bluez_element, :pointer ], :bool ],
64 # EAPI Eina_Bool e_bluez_adapter_discoverable_timeout_set(E_Bluez_Element *element, unsigned int timeout, E_DBus_Method_Return_Cb cb, const void *data);
65 [ :e_bluez_adapter_discoverable_timeout_set, [ :e_bluez_element, :uint, :e_dbus_method_return_cb, :pointer ], :bool ],
66 # EAPI Eina_Bool e_bluez_adapter_discovering_get(const E_Bluez_Element *element, Eina_Bool *discovering);
67 [ :e_bluez_adapter_discovering_get, [ :e_bluez_element, :pointer ], :bool ],
68 # EAPI Eina_Bool e_bluez_adapter_start_discovery(E_Bluez_Element *element, E_DBus_Method_Return_Cb cb, const void *data);
69 [ :e_bluez_adapter_start_discovery, [ :e_bluez_element, :e_dbus_method_return_cb, :pointer ], :bool ],
70 # EAPI Eina_Bool e_bluez_adapter_stop_discovery(E_Bluez_Element *element, E_DBus_Method_Return_Cb cb, const void *data);
71 [ :e_bluez_adapter_stop_discovery, [ :e_bluez_element, :e_dbus_method_return_cb, :pointer ], :bool ],
72 # EAPI Eina_Bool e_bluez_adapter_create_paired_device(E_Bluez_Element *element, const char *object_path, const char *capability, const char *device, E_DBus_Method_Return_Cb cb, const void *data);
73 [ :e_bluez_adapter_create_paired_device, [ :e_bluez_element, :string, :string, :string, :e_dbus_method_return_cb, :pointer ], :bool ],
74 # EAPI void e_bluez_devicefound_free(E_Bluez_Device_Found *device);
75 [ :e_bluez_devicefound_free, [ :e_bluez_device_found ], :void ],
76 # EAPI const char * e_bluez_devicefound_alias_get(const E_Bluez_Device_Found *device);
77 [ :e_bluez_devicefound_alias_get, [ :e_bluez_device_found ], :string ],
78 # EAPI E_Bluez_Element * e_bluez_device_get(const char *path);
79 [ :e_bluez_device_get, [ :string ], :e_bluez_element ],
80 # EAPI Eina_Bool e_bluez_device_name_get(const E_Bluez_Element *element, const char **name);
81 [ :e_bluez_device_name_get, [ :e_bluez_element, :pointer ], :bool ],
82 # EAPI Eina_Bool e_bluez_device_alias_get(const E_Bluez_Element *element, const char **alias);
83 [ :e_bluez_device_alias_get, [ :e_bluez_element, :pointer ], :bool ],
84 # EAPI Eina_Bool e_bluez_device_paired_get(const E_Bluez_Element *element, Eina_Bool *paired);
85 [ :e_bluez_device_paired_get, [ :e_bluez_element, :pointer ], :bool ],
86 # EAPI Eina_Bool e_bluez_manager_sync_elements(void);
87 [ :e_bluez_manager_sync_elements, [ ], :bool ],
88 # EAPI Eina_Bool e_bluez_elements_get_all(unsigned int *count, E_Bluez_Element ***p_elements);
89 [ :e_bluez_elements_get_all, [ :pointer, :e_bluez_element ], :bool ],
90 # EAPI Eina_Bool e_bluez_elements_get_all_type(const char *type, unsigned int *count, E_Bluez_Element ***p_elements);
91 [ :e_bluez_elements_get_all_type, [ :string, :pointer, :e_bluez_element ], :bool ],
92 # EAPI E_Bluez_Element * e_bluez_element_get(const char *path);
93 [ :e_bluez_element_get, [ :string ], :e_bluez_element ],
94 # EAPI void e_bluez_element_listener_add(E_Bluez_Element *element, void (*cb)(void *data, const E_Bluez_Element *element), const void *data, void (*free_data)(void *data));
95 [ :e_bluez_element_listener_add, [ :e_bluez_element, (callback [:pointer, :e_bluez_element], :void), :pointer, (callback [:pointer], :void) ], :void ],
96 # EAPI void e_bluez_element_listener_del(E_Bluez_Element *element, void (*cb)(void *data, const E_Bluez_Element *element), const void *data);
97 [ :e_bluez_element_listener_del, [ :e_bluez_element, (callback [:pointer, :e_bluez_element], :void), :pointer ], :void ],
98 # EAPI int e_bluez_element_ref(E_Bluez_Element *element);
99 [ :e_bluez_element_ref, [ :e_bluez_element ], :int ],
100 # EAPI int e_bluez_element_unref(E_Bluez_Element *element);
101 [ :e_bluez_element_unref, [ :e_bluez_element ], :int ],
102 # EAPI void e_bluez_element_print(FILE *fp, const E_Bluez_Element *element);
103 [ :e_bluez_element_print, [ :pointer, :e_bluez_element ], :void ],
104 # EAPI void e_bluez_element_array_print(FILE *fp, E_Bluez_Array *array);
105 [ :e_bluez_element_array_print, [ :pointer, :e_bluez_array ], :void ],
106 # EAPI Eina_Bool e_bluez_element_properties_sync(E_Bluez_Element *element);
107 [ :e_bluez_element_properties_sync, [ :e_bluez_element ], :bool ],
108 # EAPI Eina_Bool e_bluez_element_properties_sync_full(E_Bluez_Element *element, E_DBus_Method_Return_Cb cb, const void *data);
109 [ :e_bluez_element_properties_sync_full, [ :e_bluez_element, :e_dbus_method_return_cb, :pointer ], :bool ],
110 # EAPI Eina_Bool e_bluez_element_property_set(E_Bluez_Element *element, const char *prop, int type, const void *value);
111 [ :e_bluez_element_property_set, [ :e_bluez_element, :string, :int, :pointer ], :bool ],
112 # EAPI Eina_Bool e_bluez_element_property_set_full(E_Bluez_Element *element, const char *prop, int type, const void *value, E_DBus_Method_Return_Cb cb, const void *data);
113 [ :e_bluez_element_property_set_full, [ :e_bluez_element, :string, :int, :pointer, :e_dbus_method_return_cb, :pointer ], :bool ],
114 # EAPI Eina_Bool e_bluez_element_property_dict_set_full(E_Bluez_Element *element, const char *prop, const char *key, int type, const void *value, E_DBus_Method_Return_Cb cb, const void *data);
115 [ :e_bluez_element_property_dict_set_full, [ :e_bluez_element, :string, :string, :int, :pointer, :e_dbus_method_return_cb, :pointer ], :bool
116 ],
117 # EAPI void e_bluez_element_properties_list(const E_Bluez_Element *element, Eina_Bool (*cb)(void *data, const E_Bluez_Element *element, const char *name, int type, const void *value), const void *data);
118 [ :e_bluez_element_properties_list, [ :e_bluez_element, (callback [:pointer, :e_bluez_element, :string, :int, :pointer], :bool), :pointer ], :void ],
119 # EAPI Eina_Bool e_bluez_element_property_type_get_stringshared(const E_Bluez_Element *element, const char *name, int *type);
120 [ :e_bluez_element_property_type_get_stringshared, [ :e_bluez_element, :string, :pointer ], :bool ],
121 # EAPI Eina_Bool e_bluez_element_property_type_get(const E_Bluez_Element *element, const char *name, int *type);
122 [ :e_bluez_element_property_type_get, [ :e_bluez_element, :string, :pointer ], :bool ],
123 # EAPI Eina_Bool e_bluez_element_property_dict_get_stringshared(const E_Bluez_Element *element, const char *dict_name, const char *key_name, int *type, void *value);
124 [ :e_bluez_element_property_dict_get_stringshared, [ :e_bluez_element, :string, :string, :pointer, :pointer ], :bool ],
125 # EAPI Eina_Bool e_bluez_element_property_get_stringshared(const E_Bluez_Element *element, const char *name, int *type, void *value);
126 [ :e_bluez_element_property_get_stringshared, [ :e_bluez_element, :string, :pointer, :pointer ], :bool ],
127 # EAPI Eina_Bool e_bluez_element_property_get(const E_Bluez_Element *element, const char *name, int *type, void *value);
128 [ :e_bluez_element_property_get, [ :e_bluez_element, :string, :pointer, :pointer ], :bool ],
129 # EAPI Eina_Bool e_bluez_element_is_adapter(const E_Bluez_Element *element);
130 [ :e_bluez_element_is_adapter, [ :e_bluez_element ], :bool ],
131 # EAPI Eina_Bool e_bluez_element_is_device(const E_Bluez_Element *element);
132 [ :e_bluez_element_is_device, [ :e_bluez_element ], :bool ],
133 ]
134 #
135 attach_fcts fcts
136 #
137 end
138end
139#
140# EOF
diff --git a/lib/efl/native/econnman.rb b/lib/efl/native/econnman.rb
deleted file mode 100644
index f07fbe3..0000000
--- a/lib/efl/native/econnman.rb
+++ /dev/null
@@ -1,253 +0,0 @@
1#! /usr/bin/env ruby
2# -*- coding: UTF-8 -*-
3#
4require 'efl/native'
5require 'efl/native/edbus'
6#
7module Efl
8 #
9 module EConnman
10 #
11 FCT_PREFIX = 'e_connman_' unless const_defined? :FCT_PREFIX
12 #
13 def self.method_missing meth, *args, &block
14 sym = Efl::MethodResolver.resolve self, meth, FCT_PREFIX
15 self.send sym, *args, &block
16 end
17 #
18 end
19 #
20 module Native
21 #
22 ffi_lib 'econnman0_7x.so.1'
23 #
24 # TYPEDEFS
25 # typedef struct _E_Connman_Element E_Connman_Element;
26 typedef :pointer, :e_connman_element
27 #
28 # FUNCTIONS
29 fcts = [
30 # EAPI unsigned int e_connman_system_init(E_DBus_Connection *edbus_conn);
31 [ :e_connman_system_init, [ :e_dbus_connection ], :uint ],
32 # EAPI unsigned int e_connman_system_shutdown(void);
33 [ :e_connman_system_shutdown, [ ], :uint ],
34 # EAPI E_Connman_Element * e_connman_manager_get(void);
35 [ :e_connman_manager_get, [ ], :e_connman_element ],
36 # EAPI Eina_Bool e_connman_manager_agent_register(const char *object_path, E_DBus_Method_Return_Cb cb, const void *data);
37 [ :e_connman_manager_agent_register, [ :string, :e_dbus_method_return_cb, :pointer ], :bool ],
38 # EAPI Eina_Bool e_connman_manager_agent_unregister(const char *object_path, E_DBus_Method_Return_Cb cb, const void *data);
39 [ :e_connman_manager_agent_unregister, [ :string, :e_dbus_method_return_cb, :pointer ], :bool ],
40 # EAPI Eina_Bool e_connman_manager_state_get(const char **state);
41 [ :e_connman_manager_state_get, [ :pointer ], :bool ],
42 # EAPI Eina_Bool e_connman_manager_offline_mode_get(Eina_Bool *offline);
43 [ :e_connman_manager_offline_mode_get, [ :pointer ], :bool ],
44 # EAPI Eina_Bool e_connman_manager_offline_mode_set(Eina_Bool offline, E_DBus_Method_Return_Cb cb, const void *data);
45 [ :e_connman_manager_offline_mode_set, [ :bool, :e_dbus_method_return_cb, :pointer ], :bool ],
46 # EAPI Eina_Bool e_connman_manager_profiles_get(unsigned int *count, E_Connman_Element ***p_elements);
47 [ :e_connman_manager_profiles_get, [ :pointer, :e_connman_element ], :bool ],
48 # EAPI Eina_Bool e_connman_manager_services_get(unsigned int *count, E_Connman_Element ***p_elements);
49 [ :e_connman_manager_services_get, [ :pointer, :e_connman_element ], :bool ],
50 # EAPI Eina_Bool e_connman_manager_technologies_get(unsigned int *count, E_Connman_Element ***p_elements);
51 [ :e_connman_manager_technologies_get, [ :pointer, :e_connman_element ], :bool ],
52 # EAPI Eina_Bool e_connman_manager_request_scan(const char *type, E_DBus_Method_Return_Cb cb, const void *data);
53 [ :e_connman_manager_request_scan, [ :string, :e_dbus_method_return_cb, :pointer ], :bool ],
54 # EAPI Eina_Bool e_connman_manager_technology_default_get(const char **type);
55 [ :e_connman_manager_technology_default_get, [ :pointer ], :bool ],
56 # EAPI Eina_Bool e_connman_manager_technology_enable(const char *type, E_DBus_Method_Return_Cb cb, const void *data);
57 [ :e_connman_manager_technology_enable, [ :string, :e_dbus_method_return_cb, :pointer ], :bool ],
58 # EAPI Eina_Bool e_connman_manager_technology_disable(const char *type, E_DBus_Method_Return_Cb cb, const void *data);
59 [ :e_connman_manager_technology_disable, [ :string, :e_dbus_method_return_cb, :pointer ], :bool ],
60 # EAPI Eina_Bool e_connman_manager_technologies_available_get(unsigned int *count, const char ***strings);
61 [ :e_connman_manager_technologies_available_get, [ :pointer, :pointer ], :bool ],
62 # EAPI Eina_Bool e_connman_manager_technologies_enabled_get(unsigned int *count, const char ***strings);
63 [ :e_connman_manager_technologies_enabled_get, [ :pointer, :pointer ], :bool ],
64 # EAPI Eina_Bool e_connman_manager_technologies_connected_get(unsigned int *count, const char ***strings);
65 [ :e_connman_manager_technologies_connected_get, [ :pointer, :pointer ], :bool ],
66 # EAPI Eina_Bool e_connman_manager_profile_remove(const E_Connman_Element *profile, E_DBus_Method_Return_Cb cb, const void *data);
67 [ :e_connman_manager_profile_remove, [ :e_connman_element, :e_dbus_method_return_cb, :pointer ], :bool ],
68 # EAPI Eina_Bool e_connman_manager_profile_active_get(E_Connman_Element **profile);
69 [ :e_connman_manager_profile_active_get, [ :e_connman_element ], :bool ],
70 # EAPI Eina_Bool e_connman_manager_profile_active_set(const E_Connman_Element *profile, E_DBus_Method_Return_Cb cb, const void *data);
71 [ :e_connman_manager_profile_active_set, [ :e_connman_element, :e_dbus_method_return_cb, :pointer ], :bool ],
72 # EAPI E_Connman_Element * e_connman_profile_get(const char *path);
73 [ :e_connman_profile_get, [ :string ], :e_connman_element ],
74 # EAPI Eina_Bool e_connman_profile_name_get(const E_Connman_Element *profile, const char **name);
75 [ :e_connman_profile_name_get, [ :e_connman_element, :pointer ], :bool ],
76 # EAPI Eina_Bool e_connman_profile_name_set(E_Connman_Element *profile, const char *name, E_DBus_Method_Return_Cb cb, const void *data);
77 [ :e_connman_profile_name_set, [ :e_connman_element, :string, :e_dbus_method_return_cb, :pointer ], :bool ],
78 # EAPI Eina_Bool e_connman_profile_offline_mode_get(const E_Connman_Element *profile, Eina_Bool *offline);
79 [ :e_connman_profile_offline_mode_get, [ :e_connman_element, :pointer ], :bool ],
80 # EAPI Eina_Bool e_connman_profile_offline_mode_set(E_Connman_Element *profile, Eina_Bool offline, E_DBus_Method_Return_Cb cb, const void *data);
81 [ :e_connman_profile_offline_mode_set, [ :e_connman_element, :bool, :e_dbus_method_return_cb, :pointer ], :bool ],
82 # EAPI Eina_Bool e_connman_profile_services_get(const E_Connman_Element *profile, unsigned int *count, E_Connman_Element ***p_elements);
83 [ :e_connman_profile_services_get, [ :e_connman_element, :pointer, :e_connman_element ], :bool ],
84 # EAPI E_Connman_Element * e_connman_service_get(const char *path);
85 [ :e_connman_service_get, [ :string ], :e_connman_element ],
86 # EAPI Eina_Bool e_connman_service_clear_property(E_Connman_Element *service, const char *property, E_DBus_Method_Return_Cb cb, const void *data);
87 [ :e_connman_service_clear_property, [ :e_connman_element, :string, :e_dbus_method_return_cb, :pointer ], :bool ],
88 # EAPI Eina_Bool e_connman_service_remove(E_Connman_Element *service, E_DBus_Method_Return_Cb cb, const void *data);
89 [ :e_connman_service_remove, [ :e_connman_element, :e_dbus_method_return_cb, :pointer ], :bool ],
90 # EAPI Eina_Bool e_connman_service_connect(E_Connman_Element *service, E_DBus_Method_Return_Cb cb, const void *data);
91 [ :e_connman_service_connect, [ :e_connman_element, :e_dbus_method_return_cb, :pointer ], :bool ],
92 # EAPI Eina_Bool e_connman_service_disconnect(E_Connman_Element *service, E_DBus_Method_Return_Cb cb, const void *data);
93 [ :e_connman_service_disconnect, [ :e_connman_element, :e_dbus_method_return_cb, :pointer ], :bool ],
94 # 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);
95 [ :e_connman_service_move_before, [ :e_connman_element, :string, :e_dbus_method_return_cb, :pointer ], :bool ],
96 # 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);
97 [ :e_connman_service_move_after, [ :e_connman_element, :string, :e_dbus_method_return_cb, :pointer ], :bool ],
98 # EAPI Eina_Bool e_connman_service_state_get(const E_Connman_Element *service, const char **state);
99 [ :e_connman_service_state_get, [ :e_connman_element, :pointer ], :bool ],
100 # EAPI Eina_Bool e_connman_service_error_get(const E_Connman_Element *service, const char **error);
101 [ :e_connman_service_error_get, [ :e_connman_element, :pointer ], :bool ],
102 # EAPI Eina_Bool e_connman_service_name_get(const E_Connman_Element *service, const char **name);
103 [ :e_connman_service_name_get, [ :e_connman_element, :pointer ], :bool ],
104 # EAPI Eina_Bool e_connman_service_type_get(const E_Connman_Element *service, const char **type);
105 [ :e_connman_service_type_get, [ :e_connman_element, :pointer ], :bool ],
106 # EAPI Eina_Bool e_connman_service_security_get(const E_Connman_Element *service, unsigned int *count, const char ***security);
107 [ :e_connman_service_security_get, [ :e_connman_element, :pointer, :pointer ], :bool ],
108 # EAPI Eina_Bool e_connman_service_passphrase_get(const E_Connman_Element *service, const char **passphrase);
109 [ :e_connman_service_passphrase_get, [ :e_connman_element, :pointer ], :bool ],
110 # EAPI Eina_Bool e_connman_service_passphrase_set(E_Connman_Element *service, const char *passphrase, E_DBus_Method_Return_Cb cb, const void *data);
111 [ :e_connman_service_passphrase_set, [ :e_connman_element, :string, :e_dbus_method_return_cb, :pointer ], :bool ],
112 # EAPI Eina_Bool e_connman_service_strength_get(const E_Connman_Element *service, unsigned char *strength);
113 [ :e_connman_service_strength_get, [ :e_connman_element, :pointer ], :bool ],
114 # EAPI Eina_Bool e_connman_service_favorite_get(const E_Connman_Element *service, Eina_Bool *favorite);
115 [ :e_connman_service_favorite_get, [ :e_connman_element, :pointer ], :bool ],
116 # EAPI Eina_Bool e_connman_service_immutable_get(const E_Connman_Element *service, Eina_Bool *immutable);
117 [ :e_connman_service_immutable_get, [ :e_connman_element, :pointer ], :bool ],
118 # EAPI Eina_Bool e_connman_service_auto_connect_get(const E_Connman_Element *service, Eina_Bool *auto_connect);
119 [ :e_connman_service_auto_connect_get, [ :e_connman_element, :pointer ], :bool ],
120 # EAPI Eina_Bool e_connman_service_auto_connect_set(E_Connman_Element *service, Eina_Bool auto_connect, E_DBus_Method_Return_Cb cb, const void *data);
121 [ :e_connman_service_auto_connect_set, [ :e_connman_element, :bool, :e_dbus_method_return_cb, :pointer ], :bool ],
122 # EAPI Eina_Bool e_connman_service_passphrase_required_get(const E_Connman_Element *service, Eina_Bool *passphrase_required);
123 [ :e_connman_service_passphrase_required_get, [ :e_connman_element, :pointer ], :bool ],
124 # EAPI Eina_Bool e_connman_service_login_required_get(const E_Connman_Element *service, Eina_Bool *login_required);
125 [ :e_connman_service_login_required_get, [ :e_connman_element, :pointer ], :bool ],
126 # EAPI Eina_Bool e_connman_service_roaming_get(const E_Connman_Element *service, Eina_Bool *roaming);
127 [ :e_connman_service_roaming_get, [ :e_connman_element, :pointer ], :bool ],
128 # EAPI Eina_Bool e_connman_service_nameservers_get(const E_Connman_Element *service, unsigned int *count, const char ***nameserver);
129 [ :e_connman_service_nameservers_get, [ :e_connman_element, :pointer, :pointer ], :bool ],
130 # EAPI Eina_Bool e_connman_service_nameservers_configuration_get(const E_Connman_Element *service, unsigned int *count, const char ***nameservers);
131 [ :e_connman_service_nameservers_configuration_get, [ :e_connman_element, :pointer, :pointer ], :bool ],
132 # EAPI Eina_Bool e_connman_service_nameservers_configuration_set(E_Connman_Element *service, unsigned int count, const char **nameservers, E_DBus_Method_Return_Cb cb, const void *data);
133 [ :e_connman_service_nameservers_configuration_set, [ :e_connman_element, :uint, :pointer, :e_dbus_method_return_cb, :pointer ], :bool ],
134 # EAPI Eina_Bool e_connman_service_domains_get(const E_Connman_Element *service, unsigned int *count, const char ***domains);
135 [ :e_connman_service_domains_get, [ :e_connman_element, :pointer, :pointer ], :bool ],
136 # EAPI Eina_Bool e_connman_service_ipv4_method_get(const E_Connman_Element *service, const char **method);
137 [ :e_connman_service_ipv4_method_get, [ :e_connman_element, :pointer ], :bool ],
138 # EAPI Eina_Bool e_connman_service_ipv4_address_get(const E_Connman_Element *service, const char **address);
139 [ :e_connman_service_ipv4_address_get, [ :e_connman_element, :pointer ], :bool ],
140 # EAPI Eina_Bool e_connman_service_ipv4_gateway_get(const E_Connman_Element *service, const char **gateway);
141 [ :e_connman_service_ipv4_gateway_get, [ :e_connman_element, :pointer ], :bool ],
142 # EAPI Eina_Bool e_connman_service_ipv4_netmask_get(const E_Connman_Element *service, const char **netmask);
143 [ :e_connman_service_ipv4_netmask_get, [ :e_connman_element, :pointer ], :bool ],
144 # EAPI Eina_Bool e_connman_service_ipv4_configuration_method_get(const E_Connman_Element *service, const char **method);
145 [ :e_connman_service_ipv4_configuration_method_get, [ :e_connman_element, :pointer ], :bool ],
146 # EAPI Eina_Bool e_connman_service_ipv4_configuration_address_get(const E_Connman_Element *service, const char **address);
147 [ :e_connman_service_ipv4_configuration_address_get, [ :e_connman_element, :pointer ], :bool ],
148 # EAPI Eina_Bool e_connman_service_ipv4_configuration_gateway_get(const E_Connman_Element *service, const char **gateway);
149 [ :e_connman_service_ipv4_configuration_gateway_get, [ :e_connman_element, :pointer ], :bool ],
150 # EAPI Eina_Bool e_connman_service_ipv4_configuration_netmask_get(const E_Connman_Element *service, const char **netmask);
151 [ :e_connman_service_ipv4_configuration_netmask_get, [ :e_connman_element, :pointer ], :bool ],
152 # EAPI Eina_Bool e_connman_service_proxy_method_get(const E_Connman_Element *service, const char **method);
153 [ :e_connman_service_proxy_method_get, [ :e_connman_element, :pointer ], :bool ],
154 # EAPI Eina_Bool e_connman_service_proxy_url_get(const E_Connman_Element *service, const char **url);
155 [ :e_connman_service_proxy_url_get, [ :e_connman_element, :pointer ], :bool ],
156 # EAPI Eina_Bool e_connman_service_proxy_servers_get(const E_Connman_Element *service, unsigned int *count, const char ***servers);
157 [ :e_connman_service_proxy_servers_get, [ :e_connman_element, :pointer, :pointer ], :bool ],
158 # EAPI Eina_Bool e_connman_service_proxy_excludes_get(const E_Connman_Element *service, unsigned int *count, const char ***excludes);
159 [ :e_connman_service_proxy_excludes_get, [ :e_connman_element, :pointer, :pointer ], :bool ],
160 # EAPI Eina_Bool e_connman_service_proxy_configuration_method_get(const E_Connman_Element *service, const char **method);
161 [ :e_connman_service_proxy_configuration_method_get, [ :e_connman_element, :pointer ], :bool ],
162 # EAPI Eina_Bool e_connman_service_proxy_configuration_url_get(const E_Connman_Element *service, const char **url);
163 [ :e_connman_service_proxy_configuration_url_get, [ :e_connman_element, :pointer ], :bool ],
164 # EAPI Eina_Bool e_connman_service_proxy_configuration_servers_get(const E_Connman_Element *service, unsigned int *count, const char ***servers);
165 [ :e_connman_service_proxy_configuration_servers_get, [ :e_connman_element, :pointer, :pointer ], :bool ],
166 # EAPI Eina_Bool e_connman_service_proxy_configuration_excludes_get(const E_Connman_Element *service, unsigned int *count, const char ***excludes);
167 [ :e_connman_service_proxy_configuration_excludes_get, [ :e_connman_element, :pointer, :pointer ], :bool ],
168 # EAPI Eina_Bool e_connman_service_ethernet_method_get(const E_Connman_Element *service, const char **method);
169 [ :e_connman_service_ethernet_method_get, [ :e_connman_element, :pointer ], :bool ],
170 # EAPI Eina_Bool e_connman_service_ethernet_interface_get(const E_Connman_Element *service, const char **iface);
171 [ :e_connman_service_ethernet_interface_get, [ :e_connman_element, :pointer ], :bool ],
172 # EAPI Eina_Bool e_connman_service_ethernet_address_get(const E_Connman_Element *service, const char **address);
173 [ :e_connman_service_ethernet_address_get, [ :e_connman_element, :pointer ], :bool ],
174 # EAPI Eina_Bool e_connman_service_ethernet_mtu_get(const E_Connman_Element *service, unsigned short *mtu);
175 [ :e_connman_service_ethernet_mtu_get, [ :e_connman_element, :pointer ], :bool ],
176 # EAPI Eina_Bool e_connman_service_ethernet_speed_get(const E_Connman_Element *service, unsigned short *speed);
177 [ :e_connman_service_ethernet_speed_get, [ :e_connman_element, :pointer ], :bool ],
178 # EAPI Eina_Bool e_connman_service_ethernet_duplex_get(const E_Connman_Element *service, const char **duplex);
179 [ :e_connman_service_ethernet_duplex_get, [ :e_connman_element, :pointer ], :bool ],
180 # EAPI Eina_Bool e_connman_service_ipv4_configure_dhcp(E_Connman_Element *service, E_DBus_Method_Return_Cb cb, const void *data);
181 [ :e_connman_service_ipv4_configure_dhcp, [ :e_connman_element, :e_dbus_method_return_cb, :pointer ], :bool ],
182 # EAPI Eina_Bool e_connman_service_ipv4_configure_manual(E_Connman_Element *service, const char *address, const char *netmask, const char *gateway, E_DBus_Method_Return_Cb cb, const void *data);
183 [ :e_connman_service_ipv4_configure_manual, [ :e_connman_element, :string, :string, :string, :e_dbus_method_return_cb, :pointer ], :bool ],
184 # EAPI E_Connman_Element * e_connman_technology_get(const char *path);
185 [ :e_connman_technology_get, [ :string ], :e_connman_element ],
186 # EAPI Eina_Bool e_connman_technology_state_get(const E_Connman_Element *technology, const char **state);
187 [ :e_connman_technology_state_get, [ :e_connman_element, :pointer ], :bool ],
188 # EAPI Eina_Bool e_connman_technology_name_get(const E_Connman_Element *technology, const char **state);
189 [ :e_connman_technology_name_get, [ :e_connman_element, :pointer ], :bool ],
190 # EAPI Eina_Bool e_connman_technology_type_get(const E_Connman_Element *technology, const char **state);
191 [ :e_connman_technology_type_get, [ :e_connman_element, :pointer ], :bool ],
192 # EAPI Eina_Bool e_connman_manager_sync_elements(void);
193 [ :e_connman_manager_sync_elements, [ ], :bool ],
194 # EAPI Eina_Bool e_connman_elements_get_all(unsigned int *count, E_Connman_Element ***p_elements);
195 [ :e_connman_elements_get_all, [ :pointer, :e_connman_element ], :bool ],
196 # EAPI Eina_Bool e_connman_elements_get_all_type(const char *type, unsigned int *count, E_Connman_Element ***p_elements);
197 [ :e_connman_elements_get_all_type, [ :string, :pointer, :e_connman_element ], :bool ],
198 # EAPI E_Connman_Element * e_connman_element_get(const char *path);
199 [ :e_connman_element_get, [ :string ], :e_connman_element ],
200 # EAPI void e_connman_element_listener_add(E_Connman_Element *element, void (*cb)(void *data, const E_Connman_Element *element), const void *data, void (*free_data)(void *data));
201 [ :e_connman_element_listener_add, [ :e_connman_element, (callback [:pointer, :e_connman_element], :void), :pointer, (callback [:pointer], :void) ], :void ],
202 # EAPI void e_connman_element_listener_del(E_Connman_Element *element, void (*cb)(void *data, const E_Connman_Element *element), const void *data);
203 [ :e_connman_element_listener_del, [ :e_connman_element, (callback [:pointer, :e_connman_element], :void), :pointer ], :void ],
204 # EAPI int e_connman_element_ref(E_Connman_Element *element);
205 [ :e_connman_element_ref, [ :e_connman_element ], :int ],
206 # EAPI int e_connman_element_unref(E_Connman_Element *element);
207 [ :e_connman_element_unref, [ :e_connman_element ], :int ],
208 # EAPI void e_connman_element_print(FILE *fp, const E_Connman_Element *element);
209 [ :e_connman_element_print, [ :pointer, :e_connman_element ], :void ],
210 # EAPI Eina_Bool e_connman_element_properties_sync(E_Connman_Element *element);
211 [ :e_connman_element_properties_sync, [ :e_connman_element ], :bool ],
212 # EAPI Eina_Bool e_connman_element_properties_sync_full(E_Connman_Element *element, E_DBus_Method_Return_Cb cb, const void *data);
213 [ :e_connman_element_properties_sync_full, [ :e_connman_element, :e_dbus_method_return_cb, :pointer ], :bool ],
214 # EAPI void e_connman_element_properties_list(const E_Connman_Element *element, Eina_Bool (*cb)(void *data, const E_Connman_Element *element, const char *name, int type, const void *value), const void *data);
215 [ :e_connman_element_properties_list, [ :e_connman_element, (callback [:pointer, :e_connman_element, :string, :int, :pointer], :bool), :pointer ], :void ],
216 # EAPI Eina_Bool e_connman_element_property_set(E_Connman_Element *element, const char *prop, int type, const void *value);
217 [ :e_connman_element_property_set, [ :e_connman_element, :string, :int, :pointer ], :bool ],
218 # EAPI Eina_Bool e_connman_element_property_set_full(E_Connman_Element *element, const char *prop, int type, const void *value, E_DBus_Method_Return_Cb cb, const void *data);
219 [ :e_connman_element_property_set_full, [ :e_connman_element, :string, :int, :pointer, :e_dbus_method_return_cb, :pointer ], :bool ],
220 # EAPI Eina_Bool e_connman_element_property_array_set_full(E_Connman_Element *element, const char *prop, int type, unsigned int count, const void * const *values, E_DBus_Method_Return_Cb cb, const void *data);
221 [ :e_connman_element_property_array_set_full, [ :e_connman_element, :string, :int, :uint, :pointer, :e_dbus_method_return_cb, :pointer ],
222 :bool ],
223 # EAPI Eina_Bool e_connman_element_property_dict_set_full(E_Connman_Element *element, const char *prop, const char *key, int type, const void *value, E_DBus_Method_Return_Cb cb, const void *data);
224 [ :e_connman_element_property_dict_set_full, [ :e_connman_element, :string, :string, :int, :pointer, :e_dbus_method_return_cb, :pointer ],
225 :bool ],
226 # EAPI Eina_Bool e_connman_element_property_type_get_stringshared(const E_Connman_Element *element, const char *name, int *type);
227 [ :e_connman_element_property_type_get_stringshared, [ :e_connman_element, :string, :pointer ], :bool ],
228 # EAPI Eina_Bool e_connman_element_property_type_get(const E_Connman_Element *element, const char *name, int *type);
229 [ :e_connman_element_property_type_get, [ :e_connman_element, :string, :pointer ], :bool ],
230 # EAPI Eina_Bool e_connman_element_property_dict_get_stringshared(const E_Connman_Element *element, const char *dict_name, const char *key_name, int *type, void *value);
231 [ :e_connman_element_property_dict_get_stringshared, [ :e_connman_element, :string, :string, :pointer, :pointer ], :bool ],
232 # EAPI Eina_Bool e_connman_element_property_dict_strings_array_get_stringshared(const E_Connman_Element *element, const char *dict_name, const char *key, unsigned int *count, const char ***strings);
233 [ :e_connman_element_property_dict_strings_array_get_stringshared, [ :e_connman_element, :string, :string, :pointer, :pointer ], :bool ],
234 # EAPI Eina_Bool e_connman_element_property_get_stringshared(const E_Connman_Element *element, const char *name, int *type, void *value);
235 [ :e_connman_element_property_get_stringshared, [ :e_connman_element, :string, :pointer, :pointer ], :bool ],
236 # EAPI Eina_Bool e_connman_element_property_get(const E_Connman_Element *element, const char *name, int *type, void *value);
237 [ :e_connman_element_property_get, [ :e_connman_element, :string, :pointer, :pointer ], :bool ],
238 # EAPI Eina_Bool e_connman_element_is_manager(const E_Connman_Element *element);
239 [ :e_connman_element_is_manager, [ :e_connman_element ], :bool ],
240 # EAPI Eina_Bool e_connman_element_is_profile(const E_Connman_Element *element);
241 [ :e_connman_element_is_profile, [ :e_connman_element ], :bool ],
242 # EAPI Eina_Bool e_connman_element_is_service(const E_Connman_Element *element);
243 [ :e_connman_element_is_service, [ :e_connman_element ], :bool ],
244 # EAPI Eina_Bool e_connman_element_is_technology(const E_Connman_Element *element);
245 [ :e_connman_element_is_technology, [ :e_connman_element ], :bool ],
246 ]
247 #
248 attach_fcts fcts
249 #
250 end
251end
252#
253# EOF
diff --git a/lib/efl/native/edbus.rb b/lib/efl/native/edbus.rb
deleted file mode 100644
index 3f749b2..0000000
--- a/lib/efl/native/edbus.rb
+++ /dev/null
@@ -1,162 +0,0 @@
1#! /usr/bin/env ruby
2# -*- coding: UTF-8 -*-
3#
4require 'efl/native'
5require 'efl/native/eina_list'
6#
7module Efl
8 #
9 module Edbus
10 #
11 FCT_PREFIX = 'e_dbus_' unless const_defined? :FCT_PREFIX
12 #
13 def self.method_missing meth, *args, &block
14 sym = Efl::MethodResolver.resolve self, meth, FCT_PREFIX
15 self.send sym, *args, &block
16 end
17 #
18 end
19 #
20 module Native
21 #
22 ffi_lib 'edbus.so.1'
23 #
24 # TYPEDEFS
25 # typedef struct _E_DBus_Version E_DBus_Version;
26 typedef :pointer, :e_dbus_version
27 # typedef struct E_DBus_Connection E_DBus_Connection;
28 typedef :pointer, :e_dbus_connection
29 # typedef struct E_DBus_Object E_DBus_Object;
30 typedef :pointer, :e_dbus_object
31 # typedef struct E_DBus_Interface E_DBus_Interface;
32 typedef :pointer, :e_dbus_interface
33 # typedef struct E_DBus_Signal_Handler E_DBus_Signal_Handler;
34 typedef :pointer, :e_dbus_signal_handler
35 # typedef struct E_DBus_Callback E_DBus_Callback;
36 typedef :pointer, :e_dbus_callback
37 #
38 # CALLBACKS
39 # typedef DBusMessage *(* E_DBus_Method_Cb) (E_DBus_Object *obj, DBusMessage *message);
40 callback :e_dbus_method_cb, [ :e_dbus_object, :pointer ], :pointer
41 # typedef void (*E_DBus_Method_Return_Cb) (void *data, DBusMessage *msg, DBusError *error);
42 callback :e_dbus_method_return_cb, [ :pointer, :pointer, :pointer ], :void
43 # typedef void (*E_DBus_Signal_Cb) (void *data, DBusMessage *msg);
44 callback :e_dbus_signal_cb, [ :pointer, :pointer ], :void
45 # typedef void (*E_DBus_Object_Property_Get_Cb) (E_DBus_Object *obj, const char *property, int *type, void **value);
46 callback :e_dbus_object_property_get_cb, [ :e_dbus_object, :string, :pointer, :pointer ], :void
47 # typedef int (*E_DBus_Object_Property_Set_Cb) (E_DBus_Object *obj, const char *property, int type, void *value);
48 callback :e_dbus_object_property_set_cb, [ :e_dbus_object, :string, :int, :pointer ], :int
49 # typedef void (*E_DBus_Callback_Func) (void *user_data, void *method_return, DBusError *error);
50 callback :e_dbus_callback_func_cb, [ :pointer, :pointer, :pointer ], :void
51 # typedef void *(*E_DBus_Unmarshal_Func) (DBusMessage *msg, DBusError *err);
52 callback :e_dbus_unmarshal_func_cb, [ :pointer, :pointer ], :pointer
53 # typedef void (*E_DBus_Free_Func) (void *data);
54 callback :e_dbus_free_func_cb, [ :pointer ], :void
55 #
56 # VARIABLES
57 # EAPI extern E_DBus_Version *e_dbus_version;
58 attach_variable :e_dbus_version, :e_dbus_version
59 # EAPI extern int E_DBUS_DOMAIN_GLOBAL;
60 attach_variable :E_DBUS_DOMAIN_GLOBAL, :int
61 # EAPI extern int E_DBUS_EVENT_SIGNAL;
62 attach_variable :E_DBUS_EVENT_SIGNAL, :int
63 #
64 # FUNCTIONS
65 fcts = [
66 # EAPI int e_dbus_init(void);
67 [ :e_dbus_init, [ ], :int ],
68 # EAPI int e_dbus_shutdown(void);
69 [ :e_dbus_shutdown, [ ], :int ],
70 # EAPI E_DBus_Connection *e_dbus_bus_get(DBusBusType type);
71 [ :e_dbus_bus_get, [ :int ], :e_dbus_connection ],
72 # EAPI void e_dbus_connection_ref(E_DBus_Connection *conn);
73 [ :e_dbus_connection_ref, [ :e_dbus_connection ], :void ],
74 # EAPI E_DBus_Connection *e_dbus_connection_setup(DBusConnection *conn);
75 [ :e_dbus_connection_setup, [ :pointer ], :e_dbus_connection ],
76 # EAPI void e_dbus_connection_close(E_DBus_Connection *conn);
77 [ :e_dbus_connection_close, [ :e_dbus_connection ], :void ],
78 # EAPI E_DBus_Interface *e_dbus_interface_new(const char *interface);
79 [ :e_dbus_interface_new, [ :string ], :e_dbus_interface ],
80 # EAPI void e_dbus_interface_ref(E_DBus_Interface *iface);
81 [ :e_dbus_interface_ref, [ :e_dbus_interface ], :void ],
82 # EAPI void e_dbus_interface_unref(E_DBus_Interface *iface);
83 [ :e_dbus_interface_unref, [ :e_dbus_interface ], :void ],
84 # EAPI void e_dbus_object_interface_attach(E_DBus_Object *obj, E_DBus_Interface *iface);
85 [ :e_dbus_object_interface_attach, [ :e_dbus_object, :e_dbus_interface ], :void ],
86 # EAPI void e_dbus_object_interface_detach(E_DBus_Object *obj, E_DBus_Interface *iface);
87 [ :e_dbus_object_interface_detach, [ :e_dbus_object, :e_dbus_interface ], :void ],
88 # 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);
89 [ :e_dbus_interface_method_add, [ :e_dbus_interface, :string, :string, :string, :e_dbus_method_cb ], :int ],
90 # EAPI int e_dbus_interface_signal_add(E_DBus_Interface *iface, const char *name, const char *signature);
91 [ :e_dbus_interface_signal_add, [ :e_dbus_interface, :string, :string ], :int ],
92 # EAPI E_DBus_Object *e_dbus_object_add(E_DBus_Connection *conn, const char *object_path, void *data);
93 [ :e_dbus_object_add, [ :e_dbus_connection, :string, :pointer ], :e_dbus_object ],
94 # EAPI void e_dbus_object_free(E_DBus_Object *obj);
95 [ :e_dbus_object_free, [ :e_dbus_object ], :void ],
96 # EAPI void *e_dbus_object_data_get(E_DBus_Object *obj);
97 [ :e_dbus_object_data_get, [ :e_dbus_object ], :pointer ],
98 # EAPI E_DBus_Connection *e_dbus_object_conn_get(E_DBus_Object *obj);
99 [ :e_dbus_object_conn_get, [ :e_dbus_object ], :e_dbus_connection ],
100 # EAPI const char *e_dbus_object_path_get(E_DBus_Object *obj);
101 [ :e_dbus_object_path_get, [ :e_dbus_object ], :string ],
102 # EAPI const Eina_List *e_dbus_object_interfaces_get(E_DBus_Object *obj);
103 [ :e_dbus_object_interfaces_get, [ :e_dbus_object ], :eina_list ],
104 # EAPI void e_dbus_object_property_get_cb_set(E_DBus_Object *obj, E_DBus_Object_Property_Get_Cb func);
105 [ :e_dbus_object_property_get_cb_set, [ :e_dbus_object, :e_dbus_object_property_get_cb ], :void ],
106 # EAPI void e_dbus_object_property_set_cb_set(E_DBus_Object *obj, E_DBus_Object_Property_Set_Cb func);
107 [ :e_dbus_object_property_set_cb_set, [ :e_dbus_object, :e_dbus_object_property_set_cb ], :void ],
108 # EAPI DBusPendingCall *e_dbus_message_send(E_DBus_Connection *conn, DBusMessage *msg, E_DBus_Method_Return_Cb cb_return, int timeout, void *data);
109 [ :e_dbus_message_send, [ :e_dbus_connection, :pointer, :e_dbus_method_return_cb, :int, :pointer ], :pointer ],
110 # EAPI DBusPendingCall *e_dbus_method_call_send(E_DBus_Connection *conn, DBusMessage *msg, E_DBus_Unmarshal_Func unmarshal_func, E_DBus_Callback_Func cb_func, E_DBus_Free_Func free_func, int timeout, void *data);
111 [ :e_dbus_method_call_send, [ :e_dbus_connection, :pointer, :e_dbus_unmarshal_func_cb, :e_dbus_callback_func_cb, :e_dbus_free_func_cb, :int,
112 :pointer ], :pointer ],
113 # EAPI E_DBus_Signal_Handler *e_dbus_signal_handler_add(E_DBus_Connection *conn, const char *sender, const char *path, const char *interface, const char *member, E_DBus_Signal_Cb cb_signal, void *data);
114 [ :e_dbus_signal_handler_add, [ :e_dbus_connection, :string, :string, :string, :string, :e_dbus_signal_cb, :pointer ], :e_dbus_signal_handler
115 ],
116 # EAPI void e_dbus_signal_handler_del(E_DBus_Connection *conn, E_DBus_Signal_Handler *sh);
117 [ :e_dbus_signal_handler_del, [ :e_dbus_connection, :e_dbus_signal_handler ], :void ],
118 # EAPI DBusPendingCall *e_dbus_request_name(E_DBus_Connection *conn, const char *name, unsigned int flags, E_DBus_Method_Return_Cb cb_return, const void *data);
119 [ :e_dbus_request_name, [ :e_dbus_connection, :string, :uint, :e_dbus_method_return_cb, :pointer ], :pointer ],
120 # EAPI DBusPendingCall *e_dbus_release_name(E_DBus_Connection *conn, const char *name, E_DBus_Method_Return_Cb cb_return, const void *data);
121 [ :e_dbus_release_name, [ :e_dbus_connection, :string, :e_dbus_method_return_cb, :pointer ], :pointer ],
122 # EAPI DBusPendingCall *e_dbus_get_name_owner(E_DBus_Connection *conn, const char *name, E_DBus_Method_Return_Cb cb_return, const void *data);
123 [ :e_dbus_get_name_owner, [ :e_dbus_connection, :string, :e_dbus_method_return_cb, :pointer ], :pointer ],
124 # EAPI DBusPendingCall *e_dbus_list_names(E_DBus_Connection *conn, E_DBus_Method_Return_Cb cb_return, const void *data);
125 [ :e_dbus_list_names, [ :e_dbus_connection, :e_dbus_method_return_cb, :pointer ], :pointer ],
126 # EAPI DBusPendingCall *e_dbus_list_activatable_names(E_DBus_Connection *conn, E_DBus_Method_Return_Cb cb_return, const void *data);
127 [ :e_dbus_list_activatable_names, [ :e_dbus_connection, :e_dbus_method_return_cb, :pointer ], :pointer ],
128 # EAPI DBusPendingCall *e_dbus_name_has_owner(E_DBus_Connection *conn, const char *name, E_DBus_Method_Return_Cb cb_return, const void *data);
129 [ :e_dbus_name_has_owner, [ :e_dbus_connection, :string, :e_dbus_method_return_cb, :pointer ], :pointer ],
130 # EAPI DBusPendingCall *e_dbus_start_service_by_name(E_DBus_Connection *conn, const char *name, unsigned int flags, E_DBus_Method_Return_Cb cb_return, const void *data);
131 [ :e_dbus_start_service_by_name, [ :e_dbus_connection, :string, :uint, :e_dbus_method_return_cb, :pointer ], :pointer ],
132 # EAPI DBusPendingCall *e_dbus_introspect(E_DBus_Connection *conn, const char *bus, const char *object_path, E_DBus_Method_Return_Cb cb_return, const void *data);
133 [ :e_dbus_introspect, [ :e_dbus_connection, :string, :string, :e_dbus_method_return_cb, :pointer ], :pointer ],
134 # EAPI DBusPendingCall *e_dbus_peer_ping(E_DBus_Connection *conn, const char *destination, const char *path, E_DBus_Method_Return_Cb cb_return, const void *data);
135 [ :e_dbus_peer_ping, [ :e_dbus_connection, :string, :string, :e_dbus_method_return_cb, :pointer ], :pointer ],
136 # EAPI DBusPendingCall *e_dbus_peer_get_machine_id(E_DBus_Connection *conn, const char *destination, const char *path, E_DBus_Method_Return_Cb cb_return, const void *data);
137 [ :e_dbus_peer_get_machine_id, [ :e_dbus_connection, :string, :string, :e_dbus_method_return_cb, :pointer ], :pointer ],
138 # EAPI DBusPendingCall *e_dbus_properties_get_all(E_DBus_Connection *conn, const char *destination, const char *path, const char *interface, E_DBus_Method_Return_Cb cb_return, const void *data);
139 [ :e_dbus_properties_get_all, [ :e_dbus_connection, :string, :string, :string, :e_dbus_method_return_cb, :pointer ], :pointer ],
140 # EAPI DBusPendingCall *e_dbus_properties_get(E_DBus_Connection *conn, const char *destination, const char *path, const char *interface, const char *property, E_DBus_Method_Return_Cb cb_return, const void *data);
141 [ :e_dbus_properties_get, [ :e_dbus_connection, :string, :string, :string, :string, :e_dbus_method_return_cb, :pointer ], :pointer ],
142 # EAPI DBusPendingCall *e_dbus_properties_set(E_DBus_Connection *conn, const char *destination, const char *path, const char *interface, const char *property, int value_type, const void *value, E_DBus_Method_Return_Cb cb_return, const void *data);
143 [ :e_dbus_properties_set, [ :e_dbus_connection, :string, :string, :string, :string, :int, :pointer, :e_dbus_method_return_cb, :pointer ],
144 :pointer ],
145 # 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 *user_data);
146 [ :e_dbus_callback_new, [ :e_dbus_callback_func_cb, :e_dbus_unmarshal_func_cb, :e_dbus_free_func_cb, :pointer ], :e_dbus_callback ],
147 # EAPI void e_dbus_callback_free(E_DBus_Callback *callback);
148 [ :e_dbus_callback_free, [ :e_dbus_callback ], :void ],
149 # EAPI void e_dbus_callback_call(E_DBus_Callback *cb, void *data, DBusError *error);
150 [ :e_dbus_callback_call, [ :e_dbus_callback, :pointer, :pointer ], :void ],
151 # EAPI void *e_dbus_callback_unmarshal(E_DBus_Callback *cb, DBusMessage *msg, DBusError *err);
152 [ :e_dbus_callback_unmarshal, [ :e_dbus_callback, :pointer, :pointer ], :pointer ],
153 # EAPI void e_dbus_callback_return_free(E_DBus_Callback *callback, void *data);
154 [ :e_dbus_callback_return_free, [ :e_dbus_callback, :pointer ], :void ],
155 ]
156 #
157 attach_fcts fcts
158 #
159 end
160end
161#
162# EOF
diff --git a/lib/efl/native/ehal.rb b/lib/efl/native/ehal.rb
deleted file mode 100644
index 6bab6c2..0000000
--- a/lib/efl/native/ehal.rb
+++ /dev/null
@@ -1,104 +0,0 @@
1#! /usr/bin/env ruby
2# -*- coding: UTF-8 -*-
3#
4require 'efl/native'
5require 'efl/native/edbus'
6#
7module Efl
8 #
9 module Ehal
10 #
11 FCT_PREFIX = 'e_hal_' unless const_defined? :FCT_PREFIX
12 #
13 def self.method_missing meth, *args, &block
14 sym = Efl::MethodResolver.resolve self, meth, FCT_PREFIX
15 self.send sym, *args, &block
16 end
17 #
18 end
19 #
20 module Native
21 #
22 ffi_lib 'ehal.so.1'
23 #
24 # ENUMS
25 # typedef enum {...} E_Hal_Property_Type;
26 enum :e_hal_property_type, [ :e_hal_property_type_string, :e_hal_property_type_int, :e_hal_property_type_uint64, :e_hal_property_type_bool,
27 :e_hal_property_type_double, :e_hal_property_type_strlist ]
28 #
29 # TYPEDEFS
30 # typedef struct E_Hal_Property E_Hal_Property;
31 typedef :pointer, :e_hal_property
32 # typedef struct E_Hal_Properties E_Hal_Properties;
33 typedef :pointer, :e_hal_properties
34 # typedef struct E_Hal_Properties E_Hal_Device_Get_All_Properties_Return;
35 typedef :pointer, :e_hal_device_get_all_properties_return
36 # typedef struct E_Hal_Property E_Hal_Device_Get_Property_Return;
37 typedef :pointer, :e_hal_device_get_property_return
38 # typedef struct E_Hal_Bool_Return E_Hal_Device_Query_Capability_Return;
39 typedef :pointer, :e_hal_device_query_capability_return
40 # typedef struct E_Hal_String_List_Return E_Hal_String_List_Return;
41 typedef :pointer, :e_hal_string_list_return
42 # typedef struct E_Hal_String_List_Return E_Hal_Manager_Get_All_Devices_Return;
43 typedef :pointer, :e_hal_manager_get_all_devices_return
44 # typedef struct E_Hal_Bool_Return E_Hal_Manager_Device_Exists_Return;
45 typedef :pointer, :e_hal_manager_device_exists_return
46 # typedef struct E_Hal_String_List_Return E_Hal_Manager_Find_Device_String_Match_Return;
47 typedef :pointer, :e_hal_manager_find_device_string_match_return
48 # typedef struct E_Hal_String_List_Return E_Hal_Manager_Find_Device_By_Capability_Return;
49 typedef :pointer, :e_hal_manager_find_device_by_capability_return
50 # typedef struct E_Hal_UDI_Return E_Hal_Manager_Device_Added;
51 typedef :pointer, :e_hal_manager_device_added
52 # typedef struct E_Hal_UDI_Return E_Hal_Manager_Device_Removed;
53 typedef :pointer, :e_hal_manager_device_removed
54 # typedef struct E_Hal_Capability E_Hal_Manager_New_Capability;
55 typedef :pointer, :e_hal_manager_new_capability
56 #
57 # FUNCTIONS
58 fcts = [
59 # EAPI int e_hal_init(void);
60 [ :e_hal_init, [ ], :int ],
61 # EAPI int e_hal_shutdown(void);
62 [ :e_hal_shutdown, [ ], :int ],
63 # EAPI DBusPendingCall *e_hal_device_get_property(E_DBus_Connection *conn, const char *udi, const char *property, E_DBus_Callback_Func cb_func, void *data);
64 [ :e_hal_device_get_property, [ :e_dbus_connection, :string, :string, :e_dbus_callback_func_cb, :pointer ], :pointer ],
65 # EAPI DBusPendingCall *e_hal_device_get_all_properties(E_DBus_Connection *conn, const char *udi, E_DBus_Callback_Func cb_func, void *data);
66 [ :e_hal_device_get_all_properties, [ :e_dbus_connection, :string, :e_dbus_callback_func_cb, :pointer ], :pointer ],
67 # EAPI DBusPendingCall *e_hal_device_query_capability(E_DBus_Connection *conn, const char *udi, const char *capability, E_DBus_Callback_Func cb_func, void *data);
68 [ :e_hal_device_query_capability, [ :e_dbus_connection, :string, :string, :e_dbus_callback_func_cb, :pointer ], :pointer ],
69 # EAPI DBusPendingCall *e_hal_manager_get_all_devices(E_DBus_Connection *conn, E_DBus_Callback_Func cb_func, void *data);
70 [ :e_hal_manager_get_all_devices, [ :e_dbus_connection, :e_dbus_callback_func_cb, :pointer ], :pointer ],
71 # EAPI DBusPendingCall *e_hal_manager_device_exists(E_DBus_Connection *conn, const char *udi, E_DBus_Callback_Func cb_func, void *data);
72 [ :e_hal_manager_device_exists, [ :e_dbus_connection, :string, :e_dbus_callback_func_cb, :pointer ], :pointer ],
73 # EAPI DBusPendingCall *e_hal_manager_find_device_string_match(E_DBus_Connection *conn, const char *key, const char *value, E_DBus_Callback_Func cb_func, void *data);
74 [ :e_hal_manager_find_device_string_match, [ :e_dbus_connection, :string, :string, :e_dbus_callback_func_cb, :pointer ], :pointer ],
75 # EAPI DBusPendingCall *e_hal_manager_find_device_by_capability(E_DBus_Connection *conn, const char *capability, E_DBus_Callback_Func cb_func, void *data);
76 [ :e_hal_manager_find_device_by_capability, [ :e_dbus_connection, :string, :e_dbus_callback_func_cb, :pointer ], :pointer ],
77 # EAPI void e_hal_property_free(E_Hal_Property *prop);
78 [ :e_hal_property_free, [ :e_hal_property ], :void ],
79 # EAPI const char *e_hal_property_string_get(E_Hal_Properties *properties, const char *key, int *err);
80 [ :e_hal_property_string_get, [ :e_hal_properties, :string, :pointer ], :string ],
81 # EAPI Eina_Bool e_hal_property_bool_get(E_Hal_Properties *properties, const char *key, int *err);
82 [ :e_hal_property_bool_get, [ :e_hal_properties, :string, :pointer ], :bool ],
83 # EAPI int e_hal_property_int_get(E_Hal_Properties *properties, const char *key, int *err);
84 [ :e_hal_property_int_get, [ :e_hal_properties, :string, :pointer ], :int ],
85 # EAPI uint64_t e_hal_property_uint64_get(E_Hal_Properties *properties, const char *key, int *err);
86 [ :e_hal_property_uint64_get, [ :e_hal_properties, :string, :pointer ], :ulong_long ],
87 # EAPI double e_hal_property_double_get(E_Hal_Properties *properties, const char *key, int *err);
88 [ :e_hal_property_double_get, [ :e_hal_properties, :string, :pointer ], :double ],
89 # EAPI const Eina_List *e_hal_property_strlist_get(E_Hal_Properties *properties, const char *key, int *err);
90 [ :e_hal_property_strlist_get, [ :e_hal_properties, :string, :pointer ], :eina_list ],
91 # EAPI DBusPendingCall *e_hal_device_volume_mount(E_DBus_Connection *conn, const char *udi, const char *mount_point, const char *fstype, Eina_List *options, E_DBus_Callback_Func cb_func, void *data);
92 [ :e_hal_device_volume_mount, [ :e_dbus_connection, :string, :string, :string, :eina_list, :e_dbus_callback_func_cb, :pointer ], :pointer ],
93 # EAPI DBusPendingCall *e_hal_device_volume_unmount(E_DBus_Connection *conn, const char *udi, Eina_List *options, E_DBus_Callback_Func cb_func, void *data);
94 [ :e_hal_device_volume_unmount, [ :e_dbus_connection, :string, :eina_list, :e_dbus_callback_func_cb, :pointer ], :pointer ],
95 # EAPI DBusPendingCall *e_hal_device_volume_eject(E_DBus_Connection *conn, const char *udi, Eina_List *options, E_DBus_Callback_Func cb_func, void *data);
96 [ :e_hal_device_volume_eject, [ :e_dbus_connection, :string, :eina_list, :e_dbus_callback_func_cb, :pointer ], :pointer ],
97 ]
98 #
99 attach_fcts fcts
100 #
101 end
102end
103#
104# EOF
diff --git a/lib/efl/native/enotification_daemon.rb b/lib/efl/native/enotification_daemon.rb
deleted file mode 100644
index 8ab2cf3..0000000
--- a/lib/efl/native/enotification_daemon.rb
+++ /dev/null
@@ -1,66 +0,0 @@
1#! /usr/bin/env ruby
2# -*- coding: UTF-8 -*-
3#
4require 'efl/native'
5require 'efl/native/enotify'
6#
7module Efl
8 #
9 module EnotificationDaemon
10 #
11 FCT_PREFIX = 'e_notification_daemon_' unless const_defined? :FCT_PREFIX
12 #
13 def self.method_missing meth, *args, &block
14 sym = Efl::MethodResolver.resolve self, meth, FCT_PREFIX
15 self.send sym, *args, &block
16 end
17 #
18 end
19 #
20 module Native
21 #
22 ffi_lib 'enotify.so.1'
23 #
24 # TYPEDEFS
25 # typedef struct E_Notification_Daemon E_Notification_Daemon;
26 typedef :pointer, :e_notification_daemon
27 # typedef struct E_Notification_View E_Notification_View;
28 typedef :pointer, :e_notification_view
29 #
30 # CALLBACKS
31 # typedef int (*E_Notification_Daemon_Callback_Notify) (E_Notification_Daemon *daemon, E_Notification *notification);
32 callback :e_notification_daemon_callback_notify_cb, [ :e_notification_daemon, :e_notification ], :int
33 # typedef void (*E_Notification_Daemon_Callback_Close_Notification) (E_Notification_Daemon *daemon, unsigned int notification_id);
34 callback :e_notification_daemon_callback_close_notification_cb, [ :e_notification_daemon, :uint ], :void
35 #
36 # FUNCTIONS
37 fcts = [
38 # EAPI int e_notification_daemon_init(void);
39 [ :e_notification_daemon_init, [ ], :int ],
40 # EAPI int e_notification_daemon_shutdown(void);
41 [ :e_notification_daemon_shutdown, [ ], :int ],
42 # EAPI E_Notification_Daemon *e_notification_daemon_add(const char *name, const char *vendor);
43 [ :e_notification_daemon_add, [ :string, :string ], :e_notification_daemon ],
44 # EAPI void e_notification_daemon_free(E_Notification_Daemon *d);
45 [ :e_notification_daemon_free, [ :e_notification_daemon ], :void ],
46 # EAPI void e_notification_daemon_data_set(E_Notification_Daemon *daemon, void *data);
47 [ :e_notification_daemon_data_set, [ :e_notification_daemon, :pointer ], :void ],
48 # EAPI void *e_notification_daemon_data_get(E_Notification_Daemon *daemon);
49 [ :e_notification_daemon_data_get, [ :e_notification_daemon ], :pointer ],
50 # EAPI void e_notification_daemon_callback_notify_set(E_Notification_Daemon *daemon, E_Notification_Daemon_Callback_Notify func);
51 [ :e_notification_daemon_callback_notify_set, [ :e_notification_daemon, :e_notification_daemon_callback_notify_cb ], :void ],
52 # EAPI void e_notification_daemon_callback_close_notification_set(E_Notification_Daemon *daemon, E_Notification_Daemon_Callback_Close_Notification func);
53 [ :e_notification_daemon_callback_close_notification_set, [ :e_notification_daemon, :e_notification_daemon_callback_close_notification_cb ],
54 :void ],
55 # EAPI void e_notification_daemon_signal_notification_closed(E_Notification_Daemon *daemon, unsigned int id, E_Notification_Closed_Reason reason);
56 [ :e_notification_daemon_signal_notification_closed, [ :e_notification_daemon, :uint, :e_notification_closed_reason ], :void ],
57 # EAPI void e_notification_daemon_signal_action_invoked(E_Notification_Daemon *daemon, unsigned int notification_id, const char *action_id);
58 [ :e_notification_daemon_signal_action_invoked, [ :e_notification_daemon, :uint, :string ], :void ],
59 ]
60 #
61 attach_fcts fcts
62 #
63 end
64end
65#
66# EOF
diff --git a/lib/efl/native/enotify.rb b/lib/efl/native/enotify.rb
deleted file mode 100644
index d5f236d..0000000
--- a/lib/efl/native/enotify.rb
+++ /dev/null
@@ -1,170 +0,0 @@
1#! /usr/bin/env ruby
2# -*- coding: UTF-8 -*-
3#
4require 'efl/native'
5require 'efl/native/evas'
6require 'efl/native/edbus'
7#
8module Efl
9 #
10 module Enotify
11 #
12 FCT_PREFIX = 'e_notification_' unless const_defined? :FCT_PREFIX
13 #
14 def self.method_missing meth, *args, &block
15 sym = Efl::MethodResolver.resolve self, meth, FCT_PREFIX
16 self.send sym, *args, &block
17 end
18 #
19 end
20 #
21 module Native
22 #
23 ffi_lib 'enotify.so.1'
24 #
25 # ENUMS
26 # typedef enum E_Notification_Urgency {...} E_Notification_Urgency;
27 enum :e_notification_urgency, [ :e_notification_urgency_low, 0, :e_notification_urgency_normal, 1, :e_notification_urgency_critical, 2 ]
28 # typedef enum E_Notification_Hint_Type {...} E_Notification_Hint_Type;
29 enum :e_notification_hint_type, [ :e_notification_hint_urgency, (1 << 0), :e_notification_hint_category, (1 << 1), :e_notification_hint_desktop, (1 << 2),
30 :e_notification_hint_sound_file, (1 << 3), :e_notification_hint_transient, (1 << 4), :e_notification_hint_resident, (1 << 5),
31 :e_notification_hint_action_icons, (1 << 6), :e_notification_hint_suppress_sound, 0x10, :e_notification_hint_xy, 0x20, :e_notification_hint_image_data, 0x40 ]
32 # typedef enum E_Closed_Reason {...} E_Closed_Reason;
33 enum :e_notification_closed_reason, [ :e_notification_closed_expired, 0, :e_notification_closed_dismissed, 1, :e_notification_closed_requested, 2,
34 :e_notification_closed_undefined, 3 ]
35 # TYPEDEFS
36 # typedef struct E_Notification_Image E_Notification_Image;
37 typedef :pointer, :e_notification_image
38 # typedef struct E_Notification E_Notification;
39 typedef :pointer, :e_notification
40 # typedef struct E_Notification_Action E_Notification_Action;
41 typedef :pointer, :e_notification_action
42 # typedef struct E_Notification_Return_Notify E_Notification_Return_Notify;
43 typedef :pointer, :e_notification_return_notify
44 # typedef struct E_Notification_Return_Get_Capabilities E_Notification_Return_Get_Capabilities;
45 typedef :pointer, :e_notification_return_get_capabilities
46 # typedef struct E_Notification_Return_Get_Server_Information E_Notification_Return_Get_Server_Information;
47 typedef :pointer, :e_notification_return_get_server_information
48 # typedef struct E_Notification_Event_Action_Invoked E_Notification_Event_Action_Invoked;
49 typedef :pointer, :e_notification_event_action_invoked
50 # typedef struct E_Notification_Event_Notification_Closed E_Notification_Event_Notification_Closed;
51 typedef :pointer, :e_notification_event_notification_closed
52 #
53 # FUNCTIONS
54 fcts = [
55 # EAPI int e_notification_init(void);
56 [ :e_notification_init, [ ], :int ],
57 # EAPI int e_notification_shutdown(void);
58 [ :e_notification_shutdown, [ ], :int ],
59 # EAPI void e_notification_send(E_Notification *n, E_DBus_Callback_Func func, void *data);
60 [ :e_notification_send, [ :e_notification, :e_dbus_callback_func_cb, :pointer ], :void ],
61 # EAPI void e_notification_get_capabilities(E_DBus_Callback_Func func, void *data);
62 [ :e_notification_get_capabilities, [ :e_dbus_callback_func_cb, :pointer ], :void ],
63 # EAPI void e_notification_get_server_information(E_DBus_Callback_Func func, void *data);
64 [ :e_notification_get_server_information, [ :e_dbus_callback_func_cb, :pointer ], :void ],
65 # EAPI E_Notification *e_notification_new(void);
66 [ :e_notification_new, [ ], :e_notification ],
67 # EAPI void e_notification_ref(E_Notification *n);
68 [ :e_notification_ref, [ :e_notification ], :void ],
69 # EAPI void e_notification_unref(E_Notification *n);
70 [ :e_notification_unref, [ :e_notification ], :void ],
71 # EAPI void e_notification_free(E_Notification *n);
72 [ :e_notification_free, [ :e_notification ], :void ],
73 # EAPI E_Notification *e_notification_full_new(const char *app_name, unsigned int replaces_id, const char *app_icon, const char *summary, const char *body, int expire_timeout);
74 [ :e_notification_full_new, [ :string, :uint, :string, :string, :string, :int ], :e_notification ],
75 # EAPI void e_notification_id_set(E_Notification *note, unsigned int id);
76 [ :e_notification_id_set, [ :e_notification, :uint ], :void ],
77 # EAPI void e_notification_app_name_set(E_Notification *n, const char *app_name);
78 [ :e_notification_app_name_set, [ :e_notification, :string ], :void ],
79 # EAPI void e_notification_app_icon_set(E_Notification *n, const char *app_icon);
80 [ :e_notification_app_icon_set, [ :e_notification, :string ], :void ],
81 # EAPI void e_notification_summary_set(E_Notification *n, const char *summary);
82 [ :e_notification_summary_set, [ :e_notification, :string ], :void ],
83 # EAPI void e_notification_body_set(E_Notification *n, const char *body);
84 [ :e_notification_body_set, [ :e_notification, :string ], :void ],
85 # EAPI void e_notification_replaces_id_set(E_Notification *n, int replaces_id);
86 [ :e_notification_replaces_id_set, [ :e_notification, :int ], :void ],
87 # EAPI void e_notification_timeout_set(E_Notification *n, int timeout);
88 [ :e_notification_timeout_set, [ :e_notification, :int ], :void ],
89 # EAPI void e_notification_closed_set(E_Notification *note, unsigned char closed);
90 [ :e_notification_closed_set, [ :e_notification, :uchar ], :void ],
91 # EAPI unsigned int e_notification_id_get(E_Notification *note);
92 [ :e_notification_id_get, [ :e_notification ], :uint ],
93 # EAPI const char *e_notification_app_name_get(E_Notification *n);
94 [ :e_notification_app_name_get, [ :e_notification ], :string ],
95 # EAPI const char *e_notification_app_icon_get(E_Notification *n);
96 [ :e_notification_app_icon_get, [ :e_notification ], :string ],
97 # EAPI const char *e_notification_summary_get(E_Notification *n);
98 [ :e_notification_summary_get, [ :e_notification ], :string ],
99 # EAPI const char *e_notification_body_get(E_Notification *n);
100 [ :e_notification_body_get, [ :e_notification ], :string ],
101 # EAPI int e_notification_replaces_id_get(E_Notification *note);
102 [ :e_notification_replaces_id_get, [ :e_notification ], :int ],
103 # EAPI int e_notification_timeout_get(E_Notification *note);
104 [ :e_notification_timeout_get, [ :e_notification ], :int ],
105 # EAPI unsigned char e_notification_closed_get(E_Notification *note);
106 [ :e_notification_closed_get, [ :e_notification ], :uchar ],
107 # EAPI void e_notification_action_add(E_Notification *n, const char *action_id, const char *action_name);
108 [ :e_notification_action_add, [ :e_notification, :string, :string ], :void ],
109 # EAPI Eina_List *e_notification_actions_get(E_Notification *n);
110 [ :e_notification_actions_get, [ :e_notification ], :eina_list ],
111 # EAPI const char *e_notification_action_id_get(E_Notification_Action *a);
112 [ :e_notification_action_id_get, [ :e_notification_action ], :string ],
113 # EAPI const char *e_notification_action_name_get(E_Notification_Action *a);
114 [ :e_notification_action_name_get, [ :e_notification_action ], :string ],
115 # EAPI void e_notification_hint_transient_set(E_Notification *n, Eina_Bool transient);
116 [ :e_notification_hint_transient_set, [ :e_notification, :bool ], :void ],
117 # EAPI void e_notification_hint_resident_set(E_Notification *n, Eina_Bool resident);
118 [ :e_notification_hint_resident_set, [ :e_notification, :bool ], :void ],
119 # EAPI void e_notification_hint_action_icons_set(E_Notification *n, Eina_Bool action_icons);
120 [ :e_notification_hint_action_icons_set, [ :e_notification, :bool ], :void ],
121 # EAPI void e_notification_hint_image_path_set(E_Notification *n, const char *path);
122 [ :e_notification_hint_image_path_set, [ :e_notification, :string ], :void ],
123 # EAPI void e_notification_hint_urgency_set(E_Notification *n, char urgency);
124 [ :e_notification_hint_urgency_set, [ :e_notification, :char ], :void ],
125 # EAPI void e_notification_hint_category_set(E_Notification *n, const char *category);
126 [ :e_notification_hint_category_set, [ :e_notification, :string ], :void ],
127 # EAPI void e_notification_hint_desktop_set(E_Notification *n, const char *desktop);
128 [ :e_notification_hint_desktop_set, [ :e_notification, :string ], :void ],
129 # EAPI void e_notification_hint_sound_file_set(E_Notification *n, const char *sound_file);
130 [ :e_notification_hint_sound_file_set, [ :e_notification, :string ], :void ],
131 # EAPI void e_notification_hint_suppress_sound_set(E_Notification *n, char suppress_sound);
132 [ :e_notification_hint_suppress_sound_set, [ :e_notification, :char ], :void ],
133 # EAPI void e_notification_hint_xy_set(E_Notification *n, int x, int y);
134 [ :e_notification_hint_xy_set, [ :e_notification, :int, :int ], :void ],
135 # EAPI void e_notification_hint_image_data_set(E_Notification *n, E_Notification_Image *image);
136 [ :e_notification_hint_image_data_set, [ :e_notification, :e_notification_image ], :void ],
137 # EAPI char e_notification_hint_urgency_get(E_Notification *n);
138 [ :e_notification_hint_urgency_get, [ :e_notification ], :char ],
139 # EAPI const char *e_notification_hint_category_get(E_Notification *n);
140 [ :e_notification_hint_category_get, [ :e_notification ], :string ],
141 # EAPI const char *e_notification_hint_desktop_get(E_Notification *n);
142 [ :e_notification_hint_desktop_get, [ :e_notification ], :string ],
143 # EAPI const char *e_notification_hint_sound_file_get(E_Notification *n);
144 [ :e_notification_hint_sound_file_get, [ :e_notification ], :string ],
145 # EAPI const char *e_notification_hint_image_path_get(E_Notification *n);
146 [ :e_notification_hint_image_path_get, [ :e_notification ], :string ],
147 # EAPI char e_notification_hint_suppress_sound_get(E_Notification *n);
148 [ :e_notification_hint_suppress_sound_get, [ :e_notification ], :char ],
149 # EAPI int e_notification_hint_xy_get(E_Notification *n, int *x, int *y);
150 [ :e_notification_hint_xy_get, [ :e_notification, :pointer, :pointer ], :int ],
151 # EAPI E_Notification_Image *e_notification_hint_image_data_get(E_Notification *n);
152 [ :e_notification_hint_image_data_get, [ :e_notification ], :e_notification_image ],
153 # EAPI E_Notification_Image *e_notification_hint_icon_data_get(E_Notification *n);
154 [ :e_notification_hint_icon_data_get, [ :e_notification ], :e_notification_image ],
155 # EAPI E_Notification_Image *e_notification_image_new(void);
156 [ :e_notification_image_new, [ ], :e_notification_image ],
157 # EAPI void e_notification_image_free(E_Notification_Image *img);
158 [ :e_notification_image_free, [ :e_notification_image ], :void ],
159 # EAPI Eina_Bool e_notification_image_init(E_Notification_Image *img, Evas_Object *obj);
160 [ :e_notification_image_init, [ :e_notification_image, :evas_object ], :bool ],
161 # EAPI Evas_Object *e_notification_image_evas_object_add(Evas *evas, E_Notification_Image *img);
162 [ :e_notification_image_evas_object_add, [ :evas, :e_notification_image ], :evas_object ],
163 ]
164 #
165 attach_fcts fcts
166 #
167 end
168end
169#
170# EOF
diff --git a/lib/efl/native/eofono.rb b/lib/efl/native/eofono.rb
deleted file mode 100644
index 31fedc0..0000000
--- a/lib/efl/native/eofono.rb
+++ /dev/null
@@ -1,112 +0,0 @@
1#! /usr/bin/env ruby
2# -*- coding: UTF-8 -*-
3#
4require 'efl/native'
5require 'efl/native/edbus'
6#
7module Efl
8 #
9 module Eofono
10 #
11 FCT_PREFIX = 'e_ofono_' unless const_defined? :FCT_PREFIX
12 #
13 def self.method_missing meth, *args, &block
14 sym = Efl::MethodResolver.resolve self, meth, FCT_PREFIX
15 self.send sym, *args, &block
16 end
17 #
18 end
19 #
20 module Native
21 #
22 ffi_lib 'eofono.so.1'
23 #
24 # TYPEDEFS
25 # typedef struct _E_Ofono_Element E_Ofono_Element;
26 typedef :pointer, :e_ofono_element
27 #
28 # FUNCTIONS
29 fcts = [
30 # EAPI unsigned int e_ofono_system_init(E_DBus_Connection *edbus_conn);
31 [ :e_ofono_system_init, [ :e_dbus_connection ], :uint ],
32 # EAPI unsigned int e_ofono_system_shutdown(void);
33 [ :e_ofono_system_shutdown, [ ], :uint ],
34 # EAPI E_Ofono_Element * e_ofono_manager_get(void);
35 [ :e_ofono_manager_get, [ ], :e_ofono_element ],
36 # EAPI Eina_Bool e_ofono_manager_modems_get(Eina_Array **array);
37 [ :e_ofono_manager_modems_get, [ :pointer ], :bool ],
38 # EAPI Eina_Bool e_ofono_modem_powered_get(const E_Ofono_Element *element, Eina_Bool *powered);
39 [ :e_ofono_modem_powered_get, [ :e_ofono_element, :pointer ], :bool ],
40 # EAPI Eina_Bool e_ofono_modem_powered_set(E_Ofono_Element *element, Eina_Bool powered, E_DBus_Method_Return_Cb cb, const void *data);
41 [ :e_ofono_modem_powered_set, [ :e_ofono_element, :bool, :e_dbus_method_return_cb, :pointer ], :bool ],
42 # EAPI Eina_Bool e_ofono_modem_name_get(const E_Ofono_Element *element, const char **name);
43 [ :e_ofono_modem_name_get, [ :e_ofono_element, :pointer ], :bool ],
44 # EAPI Eina_Bool e_ofono_netreg_mode_get(const E_Ofono_Element *element, const char **mode);
45 [ :e_ofono_netreg_mode_get, [ :e_ofono_element, :pointer ], :bool ],
46 # EAPI Eina_Bool e_ofono_netreg_status_get(const E_Ofono_Element *element, const char **status);
47 [ :e_ofono_netreg_status_get, [ :e_ofono_element, :pointer ], :bool ],
48 # EAPI Eina_Bool e_ofono_netreg_operator_get(const E_Ofono_Element *element, const char **op);
49 [ :e_ofono_netreg_operator_get, [ :e_ofono_element, :pointer ], :bool ],
50 # EAPI Eina_Bool e_ofono_netreg_strength_get(const E_Ofono_Element *element, uint8_t *strength);
51 [ :e_ofono_netreg_strength_get, [ :e_ofono_element, :pointer ], :bool ],
52 # EAPI Eina_Bool e_ofono_sms_sca_get(const E_Ofono_Element *element, const char **sca);
53 [ :e_ofono_sms_sca_get, [ :e_ofono_element, :pointer ], :bool ],
54 # EAPI Eina_Bool e_ofono_sms_sca_set(E_Ofono_Element *element, const char *sca, E_DBus_Method_Return_Cb cb, const void *data);
55 [ :e_ofono_sms_sca_set, [ :e_ofono_element, :string, :e_dbus_method_return_cb, :pointer ], :bool ],
56 # EAPI Eina_Bool e_ofono_sms_send_message(E_Ofono_Element *element, const char *number, const char *message, E_DBus_Method_Return_Cb cb, const void *data);
57 [ :e_ofono_sms_send_message, [ :e_ofono_element, :string, :string, :e_dbus_method_return_cb, :pointer ], :bool ],
58 # EAPI Eina_Bool e_ofono_manager_sync_elements(void);
59 [ :e_ofono_manager_sync_elements, [ ], :bool ],
60 # EAPI Eina_Bool e_ofono_elements_get_all(unsigned int *count, E_Ofono_Element ***p_elements);
61 [ :e_ofono_elements_get_all, [ :pointer, :e_ofono_element ], :bool ],
62 # EAPI Eina_Bool e_ofono_elements_get_all_type(const char *type, unsigned int *count, E_Ofono_Element ***p_elements);
63 [ :e_ofono_elements_get_all_type, [ :string, :pointer, :e_ofono_element ], :bool ],
64 # EAPI E_Ofono_Element * e_ofono_element_get(const char *path, const char *interface);
65 [ :e_ofono_element_get, [ :string, :string ], :e_ofono_element ],
66 # EAPI void e_ofono_element_listener_add(E_Ofono_Element *element, void (*cb)(void *data, const E_Ofono_Element *element), const void *data, void (*free_data)(void *data));
67 [ :e_ofono_element_listener_add, [ :e_ofono_element, (callback [:pointer, :e_ofono_element], :void), :pointer, (callback [:pointer], :void) ], :void ],
68 # EAPI void e_ofono_element_listener_del(E_Ofono_Element *element, void (*cb)(void *data, const E_Ofono_Element *element), const void *data);
69 [ :e_ofono_element_listener_del, [ :e_ofono_element, (callback [:pointer, :e_ofono_element], :void), :pointer ], :void ],
70 # EAPI int e_ofono_element_ref(E_Ofono_Element *element);
71 [ :e_ofono_element_ref, [ :e_ofono_element ], :int ],
72 # EAPI int e_ofono_element_unref(E_Ofono_Element *element);
73 [ :e_ofono_element_unref, [ :e_ofono_element ], :int ],
74 # EAPI void e_ofono_element_print(FILE *fp, const E_Ofono_Element *element);
75 [ :e_ofono_element_print, [ :pointer, :e_ofono_element ], :void ],
76 # EAPI Eina_Bool e_ofono_element_properties_sync(E_Ofono_Element *element);
77 [ :e_ofono_element_properties_sync, [ :e_ofono_element ], :bool ],
78 # EAPI Eina_Bool e_ofono_element_properties_sync_full(E_Ofono_Element *element, E_DBus_Method_Return_Cb cb, const void *data);
79 [ :e_ofono_element_properties_sync_full, [ :e_ofono_element, :e_dbus_method_return_cb, :pointer ], :bool ],
80 # EAPI Eina_Bool e_ofono_element_property_set(E_Ofono_Element *element, const char *prop, int type, const void *value);
81 [ :e_ofono_element_property_set, [ :e_ofono_element, :string, :int, :pointer ], :bool ],
82 # EAPI Eina_Bool e_ofono_element_property_set_full(E_Ofono_Element *element, const char *prop, int type, const void *value, E_DBus_Method_Return_Cb cb, const void *data);
83 [ :e_ofono_element_property_set_full, [ :e_ofono_element, :string, :int, :pointer, :e_dbus_method_return_cb, :pointer ], :bool ],
84 # EAPI Eina_Bool e_ofono_element_property_dict_set_full(E_Ofono_Element *element, const char *prop, const char *key, int type, const void *value, E_DBus_Method_Return_Cb cb, const void *data);
85 [ :e_ofono_element_property_dict_set_full, [ :e_ofono_element, :string, :string, :int, :pointer, :e_dbus_method_return_cb, :pointer ], :bool
86 ],
87 # EAPI void e_ofono_element_properties_list(const E_Ofono_Element *element, Eina_Bool (*cb)(void *data, const E_Ofono_Element *element, const char *name, int type, const void *value), const void *data);
88 [ :e_ofono_element_properties_list, [ :e_ofono_element, (callback [:pointer, :e_ofono_element, :string, :int, :pointer], :bool), :pointer ], :void ],
89 # EAPI Eina_Bool e_ofono_element_property_type_get_stringshared(const E_Ofono_Element *element, const char *name, int *type);
90 [ :e_ofono_element_property_type_get_stringshared, [ :e_ofono_element, :string, :pointer ], :bool ],
91 # EAPI Eina_Bool e_ofono_element_property_type_get(const E_Ofono_Element *element, const char *name, int *type);
92 [ :e_ofono_element_property_type_get, [ :e_ofono_element, :string, :pointer ], :bool ],
93 # EAPI Eina_Bool e_ofono_element_property_dict_get_stringshared(const E_Ofono_Element *element, const char *dict_name, const char *key_name, int *type, void *value);
94 [ :e_ofono_element_property_dict_get_stringshared, [ :e_ofono_element, :string, :string, :pointer, :pointer ], :bool ],
95 # EAPI Eina_Bool e_ofono_element_property_get_stringshared(const E_Ofono_Element *element, const char *name, int *type, void *value);
96 [ :e_ofono_element_property_get_stringshared, [ :e_ofono_element, :string, :pointer, :pointer ], :bool ],
97 # EAPI Eina_Bool e_ofono_element_property_get(const E_Ofono_Element *element, const char *name, int *type, void *value);
98 [ :e_ofono_element_property_get, [ :e_ofono_element, :string, :pointer, :pointer ], :bool ],
99 # EAPI Eina_Bool e_ofono_element_is_manager(const E_Ofono_Element *element);
100 [ :e_ofono_element_is_manager, [ :e_ofono_element ], :bool ],
101 # EAPI Eina_Bool e_ofono_element_is_modem(const E_Ofono_Element *element);
102 [ :e_ofono_element_is_modem, [ :e_ofono_element ], :bool ],
103 # EAPI Eina_Bool e_ofono_element_is_netreg(const E_Ofono_Element *element);
104 [ :e_ofono_element_is_netreg, [ :e_ofono_element ], :bool ],
105 ]
106 #
107 attach_fcts fcts
108 #
109 end
110end
111#
112# EOF
diff --git a/lib/efl/native/eukit.rb b/lib/efl/native/eukit.rb
deleted file mode 100644
index 7ff5431..0000000
--- a/lib/efl/native/eukit.rb
+++ /dev/null
@@ -1,115 +0,0 @@
1#! /usr/bin/env ruby
2# -*- coding: UTF-8 -*-
3#
4require 'efl/native'
5require 'efl/native/edbus'
6#
7module Efl
8 #
9 module Eukit
10 #
11 FCT_PREFIX = 'e_ukit_' unless const_defined? :FCT_PREFIX
12 #
13 def self.method_missing meth, *args, &block
14 sym = Efl::MethodResolver.resolve self, meth, FCT_PREFIX
15 self.send sym, *args, &block
16 end
17 #
18 end
19 #
20 module Native
21 #
22 ffi_lib 'eukit.so.1'
23 #
24 # ENUMS
25 # typedef enum {...} E_Ukit_Property_Type;
26 enum :e_ukit_property_type, [ :e_ukit_property_type_string, :e_ukit_property_type_int, :e_ukit_property_type_uint32,
27 :e_ukit_property_type_uint64, :e_ukit_property_type_int64, :e_ukit_property_type_bool, :e_ukit_property_type_double, :e_ukit_property_type_strlist ]
28 # typedef enum {...} E_UPower_Battery_Type;
29 enum :e_upower_battery_type, [ :e_upower_battery_unknown, :e_upower_battery_lion, :e_upower_battery_lpolymer, :e_upower_battery_lironphos,
30 :e_upower_battery_lead, :e_upower_battery_nicad, :e_upower_battery_metalhydryde ]
31 # typedef enum {...} E_Upower_State;
32 enum :e_upower_state, [ :e_upower_state_unknown, :e_upower_state_charging, :e_upower_state_discharging, :e_upower_state_empty,
33 :e_upower_state_full, :e_upower_state_pendingcharge, :e_upower_state_pendingdischarge ]
34 # typedef enum {...} E_Upower_Source;
35 enum :e_upower_source, [ :e_upower_source_unknown, :e_upower_source_ac, :e_upower_source_battery, :e_upower_source_ups,
36 :e_upower_source_monitor, :e_upower_source_mouse, :e_upower_source_keyboard, :e_upower_source_pda, :e_upower_source_phone ]
37 #
38 # TYPEDEFS
39 # typedef struct E_Ukit_Property E_Ukit_Property;
40 typedef :pointer, :e_ukit_property
41 # typedef struct E_Ukit_Properties E_Ukit_Properties;
42 typedef :pointer, :e_ukit_properties
43 # typedef struct E_Ukit_Properties E_Ukit_Get_All_Properties_Return;
44 typedef :pointer, :e_ukit_get_all_properties_return
45 # typedef struct E_Ukit_Property E_Ukit_Get_Property_Return;
46 typedef :pointer, :e_ukit_get_property_return
47 # typedef struct E_Ukit_String_List_Return E_Ukit_String_List_Return;
48 typedef :pointer, :e_ukit_string_list_return
49 # typedef struct E_Ukit_String_List_Return E_Ukit_Get_All_Devices_Return;
50 typedef :pointer, :e_ukit_get_all_devices_return
51 # typedef struct E_Ukit_UDI_Return E_Ukit_Device_Added;
52 typedef :pointer, :e_ukit_device_added
53 # typedef struct E_Ukit_UDI_Return E_Ukit_Device_Removed;
54 typedef :pointer, :e_ukit_device_removed
55 # typedef struct E_Ukit_Capability E_Ukit_New_Capability;
56 typedef :pointer, :e_ukit_new_capability
57 #
58 # FUNCTIONS
59 fcts = [
60 # EAPI int e_ukit_init(void);
61 [ :e_ukit_init, [ ], :int ],
62 # EAPI int e_ukit_shutdown(void);
63 [ :e_ukit_shutdown, [ ], :int ],
64 # EAPI DBusPendingCall *e_udisks_get_property(E_DBus_Connection *conn, const char *udi, const char *property, E_DBus_Callback_Func cb_func, void *data);
65 [ :e_udisks_get_property, [ :e_dbus_connection, :string, :string, :e_dbus_callback_func_cb, :pointer ], :pointer ],
66 # EAPI DBusPendingCall *e_udisks_get_all_properties(E_DBus_Connection *conn, const char *udi, E_DBus_Callback_Func cb_func, void *data);
67 [ :e_udisks_get_all_properties, [ :e_dbus_connection, :string, :e_dbus_callback_func_cb, :pointer ], :pointer ],
68 # EAPI DBusPendingCall *e_udisks_get_all_devices(E_DBus_Connection *conn, E_DBus_Callback_Func cb_func, void *data);
69 [ :e_udisks_get_all_devices, [ :e_dbus_connection, :e_dbus_callback_func_cb, :pointer ], :pointer ],
70 # EAPI DBusPendingCall *e_upower_get_property(E_DBus_Connection *conn, const char *udi, const char *property, E_DBus_Callback_Func cb_func, void *data);
71 [ :e_upower_get_property, [ :e_dbus_connection, :string, :string, :e_dbus_callback_func_cb, :pointer ], :pointer ],
72 # EAPI DBusPendingCall *e_upower_get_all_properties(E_DBus_Connection *conn, const char *udi, E_DBus_Callback_Func cb_func, void *data);
73 [ :e_upower_get_all_properties, [ :e_dbus_connection, :string, :e_dbus_callback_func_cb, :pointer ], :pointer ],
74 # EAPI DBusPendingCall *e_upower_get_all_devices(E_DBus_Connection *conn, E_DBus_Callback_Func cb_func, void *data);
75 [ :e_upower_get_all_devices, [ :e_dbus_connection, :e_dbus_callback_func_cb, :pointer ], :pointer ],
76 # EAPI DBusPendingCall * e_upower_suspend_allowed(E_DBus_Connection *conn, E_DBus_Callback_Func cb_func, void *data);
77 [ :e_upower_suspend_allowed, [ :e_dbus_connection, :e_dbus_callback_func_cb, :pointer ], :pointer ],
78 # EAPI DBusPendingCall * e_upower_suspend(E_DBus_Connection *conn, E_DBus_Callback_Func cb_func, void *data);
79 [ :e_upower_suspend, [ :e_dbus_connection, :e_dbus_callback_func_cb, :pointer ], :pointer ],
80 # EAPI DBusPendingCall * e_upower_hibernate(E_DBus_Connection *conn, E_DBus_Callback_Func cb_func, void *data);
81 [ :e_upower_hibernate, [ :e_dbus_connection, :e_dbus_callback_func_cb, :pointer ], :pointer ],
82 # EAPI DBusPendingCall * e_upower_hibernate_allowed(E_DBus_Connection *conn, E_DBus_Callback_Func cb_func, void *data);
83 [ :e_upower_hibernate_allowed, [ :e_dbus_connection, :e_dbus_callback_func_cb, :pointer ], :pointer ],
84 # EAPI void e_ukit_property_free(E_Ukit_Property *prop);
85 [ :e_ukit_property_free, [ :e_ukit_property ], :void ],
86 # EAPI const char *e_ukit_property_string_get(E_Ukit_Properties *properties, const char *key, int *err);
87 [ :e_ukit_property_string_get, [ :e_ukit_properties, :string, :pointer ], :string ],
88 # EAPI Eina_Bool e_ukit_property_bool_get(E_Ukit_Properties *properties, const char *key, int *err);
89 [ :e_ukit_property_bool_get, [ :e_ukit_properties, :string, :pointer ], :bool ],
90 # EAPI int e_ukit_property_int_get(E_Ukit_Properties *properties, const char *key, int *err);
91 [ :e_ukit_property_int_get, [ :e_ukit_properties, :string, :pointer ], :int ],
92 # EAPI uint32_t e_ukit_property_uint32_get(E_Ukit_Properties *properties, const char *key, int *err);
93 [ :e_ukit_property_uint32_get, [ :e_ukit_properties, :string, :pointer ], :uint ],
94 # EAPI uint64_t e_ukit_property_uint64_get(E_Ukit_Properties *properties, const char *key, int *err);
95 [ :e_ukit_property_uint64_get, [ :e_ukit_properties, :string, :pointer ], :ulong_long ],
96 # EAPI int64_t e_ukit_property_int64_get(E_Ukit_Properties *properties, const char *key, int *err);
97 [ :e_ukit_property_int64_get, [ :e_ukit_properties, :string, :pointer ], :long_long ],
98 # EAPI double e_ukit_property_double_get(E_Ukit_Properties *properties, const char *key, int *err);
99 [ :e_ukit_property_double_get, [ :e_ukit_properties, :string, :pointer ], :double ],
100 # EAPI const Eina_List *e_ukit_property_strlist_get(E_Ukit_Properties *properties, const char *key, int *err);
101 [ :e_ukit_property_strlist_get, [ :e_ukit_properties, :string, :pointer ], :eina_list ],
102 # EAPI DBusPendingCall *e_udisks_volume_mount(E_DBus_Connection *conn, const char *udi, const char *fstype, Eina_List *options);
103 [ :e_udisks_volume_mount, [ :e_dbus_connection, :string, :string, :eina_list ], :pointer ],
104 # EAPI DBusPendingCall *e_udisks_volume_unmount(E_DBus_Connection *conn, const char *udi, Eina_List *options);
105 [ :e_udisks_volume_unmount, [ :e_dbus_connection, :string, :eina_list ], :pointer ],
106 # EAPI DBusPendingCall *e_udisks_volume_eject(E_DBus_Connection *conn, const char *udi, Eina_List *options);
107 [ :e_udisks_volume_eject, [ :e_dbus_connection, :string, :eina_list ], :pointer ],
108 ]
109 #
110 attach_fcts fcts
111 #
112 end
113end
114#
115# EOF