summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-05-04 08:02:35 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-05-04 08:02:35 +0200
commit4cfe801e63e81543337ab5592fb7a381d5815d07 (patch)
treeaa560591c9dfce28206e68da276220d060bd3000
parent1421b3044eb78895a523343d83ddb31e770cacaf (diff)
downloadffi-efl-4cfe801e63e81543337ab5592fb7a381d5815d07.zip
ffi-efl-4cfe801e63e81543337ab5592fb7a381d5815d07.tar.gz
remove elm_fonts
-rw-r--r--lib/efl/native/elm/elm_fonts.rb50
-rwxr-xr-xtools/genruby.rb1
2 files changed, 0 insertions, 51 deletions
diff --git a/lib/efl/native/elm/elm_fonts.rb b/lib/efl/native/elm/elm_fonts.rb
deleted file mode 100644
index 8bdc612..0000000
--- a/lib/efl/native/elm/elm_fonts.rb
+++ /dev/null
@@ -1,50 +0,0 @@
-#! /usr/bin/env ruby
-# -*- coding: UTF-8 -*-
-#
-require 'efl/native'
-require 'efl/native/eina_hash'
-require 'efl/native/elementary'
-#
-module Efl
- #
- module ElmFonts
- #
- FCT_PREFIX = 'elm_fonts_' 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'
- #
- # TYPEDEFS
- # typedef struct _Elm_Font_Properties Elm_Font_Properties;
- typedef :pointer, :elm_font_properties
- #
- # FUNCTIONS
- fcts = [
- # EAPI Elm_Font_Properties *elm_font_properties_get(const char *font);
- [ :elm_font_properties_get, [ :string ], :elm_font_properties ],
- # EAPI void elm_font_properties_free(Elm_Font_Properties *efp);
- [ :elm_font_properties_free, [ :elm_font_properties ], :void ],
- # EAPI char *elm_font_fontconfig_name_get(const char *name, const char *style);
- [ :elm_font_fontconfig_name_get, [ :string, :string ], :string ],
- # EAPI void elm_font_fontconfig_name_free(char *name);
- [ :elm_font_fontconfig_name_free, [ :string ], :void ],
- # EAPI Eina_Hash *elm_font_available_hash_add(Eina_List *list);
- [ :elm_font_available_hash_add, [ :eina_list ], :eina_hash ],
- # EAPI void elm_font_available_hash_del(Eina_Hash *hash);
- [ :elm_font_available_hash_del, [ :eina_hash ], :void ],
- ]
- #
- attach_fcts fcts
- #
- end
-end
-#
-# EOF
diff --git a/tools/genruby.rb b/tools/genruby.rb
index 9532d47..365780a 100755
--- a/tools/genruby.rb
+++ b/tools/genruby.rb
@@ -396,7 +396,6 @@ libs << elm_h('elm_finger.h', 'ElmFinger')
libs << elm_h('elm_flip.h', 'ElmFlip')
libs << elm_h('elm_flipselector.h', 'ElmFlipSelector')
libs << elm_h('elm_focus.h', 'ElmFocus')
-libs << elm_h('elm_fonts.h', 'ElmFonts', ["#{NATIVE}/eina_hash","#{NATIVE}/elementary"])
libs << elm_h('elm_frame.h', 'ElmFrame')
libs << elm_h('elm_gengrid.h', 'ElmGenGrid', ["#{NATIVE}/elementary","#{NATIVE}/elm/elm_gen","#{NATIVE}/elm/elm_scroller"])
libs << elm_h('elm_gen.h', 'ElmGen')