diff options
| author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-02-28 11:48:25 +0100 | 
|---|---|---|
| committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-02-28 11:48:25 +0100 | 
| commit | 0269c54ebb2ac1f75799c935d8ba6173a426d0c5 (patch) | |
| tree | b22fc12e5251b22ec08ee4d77681993b4833f541 /lib/efl/native | |
| parent | e0929df4e94fb8d4b3216f52694b558b3f04739f (diff) | |
| download | ffi-efl-0269c54ebb2ac1f75799c935d8ba6173a426d0c5.zip ffi-efl-0269c54ebb2ac1f75799c935d8ba6173a426d0c5.tar.gz | |
parse elm_separator.h, generate elm_separator.rb
Diffstat (limited to 'lib/efl/native')
| -rw-r--r-- | lib/efl/native/elm/elm_separator.rb | 39 | 
1 files changed, 39 insertions, 0 deletions
| diff --git a/lib/efl/native/elm/elm_separator.rb b/lib/efl/native/elm/elm_separator.rb new file mode 100644 index 0000000..f6e1b24 --- /dev/null +++ b/lib/efl/native/elm/elm_separator.rb @@ -0,0 +1,39 @@ +#! /usr/bin/env ruby +# -*- coding: UTF-8 -*- +# +require 'efl/native' +require 'efl/native/elementary' +# +module Efl +    # +    module ElmSeparator +        # +        FCT_PREFIX = 'elm_separator_' 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_separator_add(Evas_Object *parent); +        [ :elm_separator_add, [ :evas_object ], :evas_object ], +        # EAPI void elm_separator_horizontal_set(Evas_Object *obj, Eina_Bool horizontal); +        [ :elm_separator_horizontal_set, [ :evas_object, :bool ], :void ], +        # EAPI Eina_Bool elm_separator_horizontal_get(const Evas_Object *obj); +        [ :elm_separator_horizontal_get, [ :evas_object ], :bool ], +        ] +        # +        attach_fcts fcts +        # +    end +end +# +# EOF | 
