summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-02-27 17:01:20 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-02-27 17:01:20 +0100
commit02df9be108f9865efe2f45f2df5d7aedde40fa34 (patch)
tree73b35d4b36154a70177b41edd63150c9d9b2d17e /tools
parenta7dabdab8c3eb4b5e245034364ce63b947a48040 (diff)
downloadffi-efl-02df9be108f9865efe2f45f2df5d7aedde40fa34.zip
ffi-efl-02df9be108f9865efe2f45f2df5d7aedde40fa34.tar.gz
parse elc_fileselector*.h, generate elm_fileselector*.rb
Diffstat (limited to 'tools')
-rwxr-xr-xtools/extract-api.sh3
-rwxr-xr-xtools/genruby.rb15
2 files changed, 18 insertions, 0 deletions
diff --git a/tools/extract-api.sh b/tools/extract-api.sh
index 01799d2..1fc48d6 100755
--- a/tools/extract-api.sh
+++ b/tools/extract-api.sh
@@ -74,6 +74,9 @@ for header in \
"${INCLUDE}/elementary-0/elm_hover.h" \
"${INCLUDE}/elementary-0/elc_hoversel.h" \
"${INCLUDE}/elementary-0/elm_colorselector.h" \
+ "${INCLUDE}/elementary-0/elc_fileselector.h" \
+ "${INCLUDE}/elementary-0/elc_fileselector_entry.h" \
+ "${INCLUDE}/elementary-0/elc_fileselector_button.h" \
; do
#
if [ ! -e "$header" ]; then
diff --git a/tools/genruby.rb b/tools/genruby.rb
index 04d666f..4e25683 100755
--- a/tools/genruby.rb
+++ b/tools/genruby.rb
@@ -490,6 +490,21 @@ libs << {
:modname=>'ElmColorSelector', :prefix=>'elm_colorselector', :outfile=>'elm/elm_colorselector.rb',
:requires=>["#{NATIVE}/elementary"], :constants=>[]
}
+libs << {
+ :lib=>ELM_LIB,:header=>'elc_fileselector.h',
+ :modname=>'ElmFileSelector', :prefix=>'elm_fileselector', :outfile=>'elm/elm_fileselector.rb',
+ :requires=>["#{NATIVE}/elementary"], :constants=>[]
+}
+libs << {
+ :lib=>ELM_LIB,:header=>'elc_fileselector_entry.h',
+ :modname=>'ElmFileSelectorEntry', :prefix=>'elm_fileselector_entry', :outfile=>'elm/elm_fileselector_entry.rb',
+ :requires=>["#{NATIVE}/elementary"], :constants=>[]
+}
+libs << {
+ :lib=>ELM_LIB,:header=>'elc_fileselector_button.h',
+ :modname=>'ElmFileSelectorButton', :prefix=>'elm_fileselector_button', :outfile=>'elm/elm_fileselector_button.rb',
+ :requires=>["#{NATIVE}/elementary"], :constants=>[]
+}
#
Dir.mkdir lib_path unless (File.exists? lib_path)
#