From 3fce398a3e2b7a1cd231223abea6961a4cbf8ea9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Wed, 7 Mar 2012 09:00:58 +0100 Subject: remove elm_engine, elm_factory, elm_password --- lib/efl/elm/elm_factory.rb | 22 -------------------- lib/efl/native/elm/elm_engine.rb | 41 -------------------------------------- lib/efl/native/elm/elm_factory.rb | 41 -------------------------------------- lib/efl/native/elm/elm_password.rb | 41 -------------------------------------- tools/extract-api.sh | 3 --- tools/genruby.rb | 3 --- 6 files changed, 151 deletions(-) delete mode 100644 lib/efl/elm/elm_factory.rb delete mode 100644 lib/efl/native/elm/elm_engine.rb delete mode 100644 lib/efl/native/elm/elm_factory.rb delete mode 100644 lib/efl/native/elm/elm_password.rb diff --git a/lib/efl/elm/elm_factory.rb b/lib/efl/elm/elm_factory.rb deleted file mode 100644 index b8d60f6..0000000 --- a/lib/efl/elm/elm_factory.rb +++ /dev/null @@ -1,22 +0,0 @@ -#! /usr/bin/env ruby -# -*- coding: UTF-8 -*- -# -require 'efl/elm/elm_object' -require 'efl/native/elm/elm_factory' -# -module Efl - # - module Elm - # - class ElmFactory < ElmObject - # - include Helper - constructor :elm_factory_add - search_prefixes 'elm_factory_' - # - end - # - end -end -# -# EOF diff --git a/lib/efl/native/elm/elm_engine.rb b/lib/efl/native/elm/elm_engine.rb deleted file mode 100644 index 5690d7b..0000000 --- a/lib/efl/native/elm/elm_engine.rb +++ /dev/null @@ -1,41 +0,0 @@ -#! /usr/bin/env ruby -# -*- coding: UTF-8 -*- -# -require 'efl/native' -require 'efl/native/elementary' -# -module Efl - # - module ElmEngine - # - FCT_PREFIX = 'elm_engine_' unless const_defined? :FCT_PREFIX - # - def self.method_missing meth, *args, &block - sym = Efl::MethodResolver.resolve self, meth, FCT_PREFIX - self.send sym, *args, &block - end - # - end - # - module Native - # - ffi_lib 'elementary-ver-pre-svn-09.so.0' - # - # FUNCTIONS - fcts = [ - # EAPI const char *elm_engine_get(void); - [ :elm_engine_get, [ ], :string ], - # EAPI void elm_engine_set(const char *engine); - [ :elm_engine_set, [ :string ], :void ], - # EAPI const char *elm_preferred_engine_get(void); - [ :elm_preferred_engine_get, [ ], :string ], - # EAPI void elm_preferred_engine_set(const char *engine); - [ :elm_preferred_engine_set, [ :string ], :void ], - ] - # - attach_fcts fcts - # - end -end -# -# EOF diff --git a/lib/efl/native/elm/elm_factory.rb b/lib/efl/native/elm/elm_factory.rb deleted file mode 100644 index efa4ef6..0000000 --- a/lib/efl/native/elm/elm_factory.rb +++ /dev/null @@ -1,41 +0,0 @@ -#! /usr/bin/env ruby -# -*- coding: UTF-8 -*- -# -require 'efl/native' -require 'efl/native/elementary' -# -module Efl - # - module ElmFactory - # - FCT_PREFIX = 'elm_factory_' unless const_defined? :FCT_PREFIX - # - def self.method_missing meth, *args, &block - sym = Efl::MethodResolver.resolve self, meth, FCT_PREFIX - self.send sym, *args, &block - end - # - end - # - module Native - # - ffi_lib 'elementary-ver-pre-svn-09.so.0' - # - # FUNCTIONS - fcts = [ - # EAPI Evas_Object *elm_factory_add(Evas_Object *parent); - [ :elm_factory_add, [ :evas_object ], :evas_object ], - # EAPI void elm_factory_maxmin_mode_set(Evas_Object *obj, Eina_Bool enabled); - [ :elm_factory_maxmin_mode_set, [ :evas_object, :bool ], :void ], - # EAPI Eina_Bool elm_factory_maxmin_mode_get(const Evas_Object *obj); - [ :elm_factory_maxmin_mode_get, [ :evas_object ], :bool ], - # EAPI void elm_factory_maxmin_reset_set(Evas_Object *obj); - [ :elm_factory_maxmin_reset_set, [ :evas_object ], :void ], - ] - # - attach_fcts fcts - # - end -end -# -# EOF diff --git a/lib/efl/native/elm/elm_password.rb b/lib/efl/native/elm/elm_password.rb deleted file mode 100644 index 0dc8207..0000000 --- a/lib/efl/native/elm/elm_password.rb +++ /dev/null @@ -1,41 +0,0 @@ -#! /usr/bin/env ruby -# -*- coding: UTF-8 -*- -# -require 'efl/native' -require 'efl/native/elementary' -# -module Efl - # - module ElmPassword - # - FCT_PREFIX = 'elm_password_' unless const_defined? :FCT_PREFIX - # - def self.method_missing meth, *args, &block - sym = Efl::MethodResolver.resolve self, meth, FCT_PREFIX - self.send sym, *args, &block - end - # - end - # - module Native - # - ffi_lib 'elementary-ver-pre-svn-09.so.0' - # - # FUNCTIONS - fcts = [ - # EAPI Eina_Bool elm_password_show_last_get(void); - [ :elm_password_show_last_get, [ ], :bool ], - # EAPI void elm_password_show_last_set(Eina_Bool password_show_last); - [ :elm_password_show_last_set, [ :bool ], :void ], - # EAPI double elm_password_show_last_timeout_get(void); - [ :elm_password_show_last_timeout_get, [ ], :double ], - # EAPI void elm_password_show_last_timeout_set(double password_show_last_timeout); - [ :elm_password_show_last_timeout_set, [ :double ], :void ], - ] - # - attach_fcts fcts - # - end -end -# -# EOF diff --git a/tools/extract-api.sh b/tools/extract-api.sh index 3750cac..0ac4f2f 100755 --- a/tools/extract-api.sh +++ b/tools/extract-api.sh @@ -72,9 +72,7 @@ for header in \ "${INCLUDE}/elementary-0/elm_cursor.h" \ "${INCLUDE}/elementary-0/elm_debug.h" \ "${INCLUDE}/elementary-0/elm_diskselector.h" \ - "${INCLUDE}/elementary-0/elm_engine.h" \ "${INCLUDE}/elementary-0/elm_entry.h" \ - "${INCLUDE}/elementary-0/elm_factory.h" \ "${INCLUDE}/elementary-0/elm_finger.h" \ "${INCLUDE}/elementary-0/elm_flip.h" \ "${INCLUDE}/elementary-0/elm_flipselector.h" \ @@ -103,7 +101,6 @@ for header in \ "${INCLUDE}/elementary-0/elm_notify.h" \ "${INCLUDE}/elementary-0/elm_panel.h" \ "${INCLUDE}/elementary-0/elm_panes.h" \ - "${INCLUDE}/elementary-0/elm_password.h" \ "${INCLUDE}/elementary-0/elm_photocam.h" \ "${INCLUDE}/elementary-0/elm_photo.h" \ "${INCLUDE}/elementary-0/elm_plug.h" \ diff --git a/tools/genruby.rb b/tools/genruby.rb index f0f546a..ed0a6ab 100755 --- a/tools/genruby.rb +++ b/tools/genruby.rb @@ -389,8 +389,6 @@ libs << elm_h('elm_conform.h', 'ElmConform') libs << elm_h('elm_cursor.h', 'ElmCursor') libs << elm_h('elm_debug.h', 'ElmDebug') libs << elm_h('elm_diskselector.h', 'ElmDiskSelector', ["#{NATIVE}/elementary","#{NATIVE}/elm/elm_scroller"]) -libs << elm_h('elm_engine.h', 'ElmEngine') -libs << elm_h('elm_factory.h', 'ElmFactory') libs << elm_h('elm_finger.h', 'ElmFinger') libs << elm_h('elm_flip.h', 'ElmFlip') libs << elm_h('elm_flipselector.h', 'ElmFlipSelector') @@ -415,7 +413,6 @@ libs << elm_h('elm_need.h', 'ElmNeed') libs << elm_h('elm_notify.h', 'ElmNotify') libs << elm_h('elm_panel.h', 'ElmPanel') libs << elm_h('elm_panes.h', 'ElmPanes') -libs << elm_h('elm_password.h', 'ElmPassword') libs << elm_h('elm_photocam.h', 'ElmPhotoCam') libs << elm_h('elm_photo.h', 'ElmPhoto') libs << elm_h('elm_plug.h', 'ElmPlug') -- cgit v1.1-2-g2b99