summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2013-01-04 00:12:04 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2013-01-04 00:12:04 +0100
commit7b9a91d8d1098a7a1ca52526946b51fc6bcf5c17 (patch)
tree7e1edbbcd6a0891dc2654cba670af1d3f43aaf9a /tools
parent13ad56dc0a477a0141da78b3353ffd8aa53f230a (diff)
downloadffi-efl-7b9a91d8d1098a7a1ca52526946b51fc6bcf5c17.zip
ffi-efl-7b9a91d8d1098a7a1ca52526946b51fc6bcf5c17.tar.gz
generate enotification_daemon
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 089d7bd..2719797 100755
--- a/tools/extract-api.sh
+++ b/tools/extract-api.sh
@@ -58,6 +58,7 @@ for header in \
"${INCLUDE}/efreet-1/Efreet_Trash.h" \
"${INCLUDE}/e_dbus-1/E_DBus.h" \
"${INCLUDE}/e_dbus-1/E_Notify.h" \
+ "${INCLUDE}/e_dbus-1/E_Notification_Daemon.h" \
"${INCLUDE}/e_dbus-1/E_Bluez.h" \
"${INCLUDE}/e_dbus-1/E_Hal.h" \
"${INCLUDE}/e_dbus-1/E_Ofono.h" \
diff --git a/tools/genruby.rb b/tools/genruby.rb
index 754a7ab..a201b79 100755
--- a/tools/genruby.rb
+++ b/tools/genruby.rb
@@ -257,6 +257,7 @@ TYPES = {
'struct timeval *' => ':pointer',
'struct sockaddr *' => ':pointer',
'DBusBusType' => ':int',
+ 'E_Notification_Closed_Reason' => ':e_notification_closed_reason', # cheating
}
ETYPES = {
'Eina_Bool' => ':bool'
@@ -309,6 +310,7 @@ 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('enotify','E_Notify.h','Enotify','e_notification','enotify.rb',["#{NATIVE}/evas","#{NATIVE}/edbus"])
+libs << efl_h('enotify','E_Notification_Daemon.h','EnotificationDaemon','e_notification_daemon','enotification_daemon.rb',["#{NATIVE}/enotify"])
libs << efl_h('ebluez','E_Bluez.h','Ebluez','e_bluez','ebluez.rb',["#{NATIVE}/edbus"])
libs << efl_h('eofono','E_Ofono.h','Eofono','e_ofono','eofono.rb',["#{NATIVE}/edbus"])
libs << efl_h('eukit','E_Ukit.h','Eukit','e_ukit','eukit.rb',["#{NATIVE}/edbus"])