summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-12-26 00:13:24 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-12-26 00:13:24 +0100
commit7189703d0a5f2f07226aca6613e3b45672b8863b (patch)
tree8b8b2c2acb0163befc353df264f99ea006377c50 /tools
parentdd6596f933b277f7b9106d955bae5e63418c338a (diff)
downloadffi-efl-7189703d0a5f2f07226aca6613e3b45672b8863b.zip
ffi-efl-7189703d0a5f2f07226aca6613e3b45672b8863b.tar.gz
generate edbus native binding
Diffstat (limited to 'tools')
-rwxr-xr-xtools/extract-api.sh1
-rwxr-xr-xtools/genruby.rb2
2 files changed, 3 insertions, 0 deletions
diff --git a/tools/extract-api.sh b/tools/extract-api.sh
index 635b672..daa42ba 100755
--- a/tools/extract-api.sh
+++ b/tools/extract-api.sh
@@ -56,6 +56,7 @@ for header in \
"${INCLUDE}/efreet-1/efreet_utils.h" \
"${INCLUDE}/efreet-1/Efreet_Mime.h" \
"${INCLUDE}/efreet-1/Efreet_Trash.h" \
+ "${INCLUDE}/e_dbus-1/E_DBus.h" \
"${INCLUDE}/ethumb-1/Ethumb.h" \
"${INCLUDE}/ethumb-1/Ethumb_Client.h" \
"${INCLUDE}/ethumb-1/Ethumb_Plugin.h" \
diff --git a/tools/genruby.rb b/tools/genruby.rb
index 7a7c469..e11edc1 100755
--- a/tools/genruby.rb
+++ b/tools/genruby.rb
@@ -253,6 +253,7 @@ TYPES = {
'struct tm *' => ':pointer',
'struct timeval *' => ':pointer',
'struct sockaddr *' => ':pointer',
+ 'DBusBusType' => ':int',
}
ETYPES = {
'Eina_Bool' => ':bool'
@@ -303,6 +304,7 @@ libs << efl_h('efreet','efreet_ini.h','EfreetIni','efreet_ini')
libs << efl_h('efreet','efreet_utils.h','EfreetUtils','efreet_utils',nil,["#{NATIVE}/efreet_desktop"])
libs << efl_h('efreet_mime','Efreet_Mime.h','EfreetMime')
libs << efl_h('efreet_trash','Efreet_Trash.h','EfreetTrash',nil,nil,["#{NATIVE}/eina_list","#{NATIVE}/efreet_uri"])
+libs << efl_h('edbus','E_DBus.h','Edbus',nil,'edbus.rb',["#{NATIVE}/eina_list"])
libs << efl_h('ethumb','Ethumb.h','Ethumb')
libs << efl_h('ethumb_client','Ethumb_Client.h','EthumbClient',nil,nil,["#{NATIVE}/ethumb"])
libs << efl_h('ethumb','Ethumb_Plugin.h','EthumbPlugin',nil,nil,["#{NATIVE}/evas","#{NATIVE}/ecore_evas","#{NATIVE}/ethumb"])