summaryrefslogtreecommitdiffstats
path: root/lib/efl/elm
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-02-28 12:25:50 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-02-28 12:25:50 +0100
commit7d35dcd880d9c29c40b853c88a44cf0cd685d16e (patch)
treee077ef30ced5576f5f25e6387b7bf2bc7f53d403 /lib/efl/elm
parentef60728db6f5c98ea6534f19ad0b0098fe66ca8c (diff)
downloadffi-efl-7d35dcd880d9c29c40b853c88a44cf0cd685d16e.zip
ffi-efl-7d35dcd880d9c29c40b853c88a44cf0cd685d16e.tar.gz
parse elm_mirroring.h, generate elm_mirroring.rb
Diffstat (limited to 'lib/efl/elm')
-rw-r--r--lib/efl/elm/elm_mirroring.rb36
1 files changed, 36 insertions, 0 deletions
diff --git a/lib/efl/elm/elm_mirroring.rb b/lib/efl/elm/elm_mirroring.rb
new file mode 100644
index 0000000..e19c3fc
--- /dev/null
+++ b/lib/efl/elm/elm_mirroring.rb
@@ -0,0 +1,36 @@
+#! /usr/bin/env ruby
+# -*- coding: UTF-8 -*-
+#
+require 'efl/elm/elm_object'
+require 'efl/native/elm/elm_mirroring'
+#
+module Efl
+ #
+ module Elm
+ #
+ class ElmMirroring
+ #
+ def mirrored_get
+ Native::elm_object_mirrored_get @ptr
+ end
+ alias :mirrored :mirrored_get
+ #
+ def mirrored_set mirrored
+ Native::elm_object_mirrored_set @ptr, mirrored
+ end
+ #
+ def mirrored_automatic_get
+ Native::elm_object_mirrored_automatic_get @ptr
+ end
+ alias :mirrored_automatic :mirrored_automatic_get
+ #
+ def mirrored_automatic_set auto
+ Native::elm_object_mirrored_automatic_set @ptr, auto
+ end
+ #
+ end
+ #
+ end
+end
+#
+# EOF