summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-02-27 16:24:21 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-02-27 16:24:21 +0100
commitd18d12a07e07b2bfe99b5b9ee855cca9b28b3f69 (patch)
treebfad027464eb82e7e33afdc9a49655dda908c9ed /tools
parent2d9c273da1c9d2a5bba3a52705374bfcd20b142e (diff)
downloadffi-efl-d18d12a07e07b2bfe99b5b9ee855cca9b28b3f69.zip
ffi-efl-d18d12a07e07b2bfe99b5b9ee855cca9b28b3f69.tar.gz
parse elm_diskselector.h, generate elm_diskselector.rb
Diffstat (limited to 'tools')
-rwxr-xr-xtools/extract-api.sh1
-rwxr-xr-xtools/genruby.rb5
2 files changed, 6 insertions, 0 deletions
diff --git a/tools/extract-api.sh b/tools/extract-api.sh
index 1e16293..b81fe20 100755
--- a/tools/extract-api.sh
+++ b/tools/extract-api.sh
@@ -70,6 +70,7 @@ for header in \
"${INCLUDE}/elementary-0/elm_notify.h" \
"${INCLUDE}/elementary-0/elm_flip.h" \
"${INCLUDE}/elementary-0/elm_flipselector.h" \
+ "${INCLUDE}/elementary-0/elm_diskselector.h" \
; do
#
if [ ! -e "$header" ]; then
diff --git a/tools/genruby.rb b/tools/genruby.rb
index 2a3dfb7..9a47cea 100755
--- a/tools/genruby.rb
+++ b/tools/genruby.rb
@@ -470,6 +470,11 @@ libs << {
:modname=>'ElmFlipSelector', :prefix=>'elm_flipselector', :outfile=>'elm/elm_flipselector.rb',
:requires=>["#{NATIVE}/elementary"], :constants=>[]
}
+libs << {
+ :lib=>ELM_LIB,:header=>'elm_diskselector.h',
+ :modname=>'ElmDiskSelector', :prefix=>'elm_diskselector', :outfile=>'elm/elm_diskselector.rb',
+ :requires=>["#{NATIVE}/elementary","#{NATIVE}/elm/elm_scroller"], :constants=>[]
+}
#
Dir.mkdir lib_path unless (File.exists? lib_path)
#