summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/efl/native/elm/elm_fonts.rb50
1 files changed, 0 insertions, 50 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