summaryrefslogtreecommitdiffstats
path: root/lib/efl/native/elm/elm_conform.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-03-07 00:48:20 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-03-07 00:48:20 +0100
commit82bfaab0b6487697b12c8544b6c70e72b4e4f7cf (patch)
treefb30f4ffe2c7b3f1c8a5c4a4b4ed02373649554d /lib/efl/native/elm/elm_conform.rb
parent8c2f3d46390d2f44d2fcd58cd4f39ad621e6b3db (diff)
parent7d430af815626bb783f0eb435d7df549733958d2 (diff)
downloadffi-efl-82bfaab0b6487697b12c8544b6c70e72b4e4f7cf.zip
ffi-efl-82bfaab0b6487697b12c8544b6c70e72b4e4f7cf.tar.gz
Merge branch 'master' of asynk.ch:ffi-efl
Diffstat (limited to 'lib/efl/native/elm/elm_conform.rb')
-rw-r--r--lib/efl/native/elm/elm_conform.rb37
1 files changed, 37 insertions, 0 deletions
diff --git a/lib/efl/native/elm/elm_conform.rb b/lib/efl/native/elm/elm_conform.rb
new file mode 100644
index 0000000..abf4ecb
--- /dev/null
+++ b/lib/efl/native/elm/elm_conform.rb
@@ -0,0 +1,37 @@
+#! /usr/bin/env ruby
+# -*- coding: UTF-8 -*-
+#
+require 'efl/native'
+require 'efl/native/elementary'
+#
+module Efl
+ #
+ module ElmConform
+ #
+ FCT_PREFIX = 'elm_conform_' 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_conformant_add(Evas_Object *parent);
+ [ :elm_conformant_add, [ :evas_object ], :evas_object ],
+ # EAPI Evas_Object *elm_conformant_content_area_get(const Evas_Object *obj);
+ [ :elm_conformant_content_area_get, [ :evas_object ], :evas_object ],
+ ]
+ #
+ attach_fcts fcts
+ #
+ end
+end
+#
+# EOF