1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
|
#! /usr/bin/env ruby
# -*- coding: UTF-8 -*-
#
require 'efl/native'
require 'efl/native/elementary'
#
module Efl
#
module ElmSlideshow
#
FCT_PREFIX = 'elm_slideshow_' 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'
#
# TYPEDEFS
# typedef struct _Elm_Slideshow_Item_Class Elm_Slideshow_Item_Class;
typedef :pointer, :elm_slideshow_item_class
# typedef struct _Elm_Slideshow_Item_Class_Func Elm_Slideshow_Item_Class_Func;
typedef :pointer, :elm_slideshow_item_class_func
#
# CALLBACKS
# typedef Evas_Object *(*SlideshowItemGetFunc) (void *data, Evas_Object *obj);
callback :slideshowitemgetfunc_cb, [ :pointer, :evas_object ], :evas_object
# typedef void (*SlideshowItemDelFunc) (void *data, Evas_Object *obj);
callback :slideshowitemdelfunc_cb, [ :pointer, :evas_object ], :void
#
# FUNCTIONS
fcts = [
# EAPI Evas_Object *elm_slideshow_add(Evas_Object *parent);
[ :elm_slideshow_add, [ :evas_object ], :evas_object ],
# EAPI Elm_Object_Item *elm_slideshow_item_add(Evas_Object *obj, const Elm_Slideshow_Item_Class *itc, const void *data);
[ :elm_slideshow_item_add, [ :evas_object, :elm_slideshow_item_class, :pointer ], :elm_object_item ],
# EAPI Elm_Object_Item *elm_slideshow_item_sorted_insert(Evas_Object *obj, const Elm_Slideshow_Item_Class *itc, const void *data, Eina_Compare_Cb func);
[ :elm_slideshow_item_sorted_insert, [ :evas_object, :elm_slideshow_item_class, :pointer, :eina_compare_cb ], :elm_object_item ],
# EAPI void elm_slideshow_item_show(Elm_Object_Item *it);
[ :elm_slideshow_item_show, [ :elm_object_item ], :void ],
# EAPI void elm_slideshow_next(Evas_Object *obj);
[ :elm_slideshow_next, [ :evas_object ], :void ],
# EAPI void elm_slideshow_previous(Evas_Object *obj);
[ :elm_slideshow_previous, [ :evas_object ], :void ],
# EAPI const Eina_List *elm_slideshow_transitions_get(const Evas_Object *obj);
[ :elm_slideshow_transitions_get, [ :evas_object ], :eina_list ],
# EAPI void elm_slideshow_transition_set(Evas_Object *obj, const char *transition);
[ :elm_slideshow_transition_set, [ :evas_object, :string ], :void ],
# EAPI const char *elm_slideshow_transition_get(const Evas_Object *obj);
[ :elm_slideshow_transition_get, [ :evas_object ], :string ],
# EAPI void elm_slideshow_timeout_set(Evas_Object *obj, double timeout);
[ :elm_slideshow_timeout_set, [ :evas_object, :double ], :void ],
# EAPI double elm_slideshow_timeout_get(const Evas_Object *obj);
[ :elm_slideshow_timeout_get, [ :evas_object ], :double ],
# EAPI void elm_slideshow_loop_set(Evas_Object *obj, Eina_Bool loop);
[ :elm_slideshow_loop_set, [ :evas_object, :bool ], :void ],
# EAPI Eina_Bool elm_slideshow_loop_get(const Evas_Object *obj);
[ :elm_slideshow_loop_get, [ :evas_object ], :bool ],
# EAPI void elm_slideshow_clear(Evas_Object *obj);
[ :elm_slideshow_clear, [ :evas_object ], :void ],
# EAPI const Eina_List *elm_slideshow_items_get(const Evas_Object *obj);
[ :elm_slideshow_items_get, [ :evas_object ], :eina_list ],
# EAPI Elm_Object_Item *elm_slideshow_item_current_get(const Evas_Object *obj);
[ :elm_slideshow_item_current_get, [ :evas_object ], :elm_object_item ],
# EAPI Evas_Object *elm_slideshow_item_object_get(const Elm_Object_Item *it);
[ :elm_slideshow_item_object_get, [ :elm_object_item ], :evas_object ],
# EAPI Elm_Object_Item *elm_slideshow_item_nth_get(const Evas_Object *obj, unsigned int nth);
[ :elm_slideshow_item_nth_get, [ :evas_object, :uint ], :elm_object_item ],
# EAPI void elm_slideshow_layout_set(Evas_Object *obj, const char *layout);
[ :elm_slideshow_layout_set, [ :evas_object, :string ], :void ],
# EAPI const char *elm_slideshow_layout_get(const Evas_Object *obj);
[ :elm_slideshow_layout_get, [ :evas_object ], :string ],
# EAPI const Eina_List *elm_slideshow_layouts_get(const Evas_Object *obj);
[ :elm_slideshow_layouts_get, [ :evas_object ], :eina_list ],
# EAPI void elm_slideshow_cache_before_set(Evas_Object *obj, int count);
[ :elm_slideshow_cache_before_set, [ :evas_object, :int ], :void ],
# EAPI int elm_slideshow_cache_before_get(const Evas_Object *obj);
[ :elm_slideshow_cache_before_get, [ :evas_object ], :int ],
# EAPI void elm_slideshow_cache_after_set(Evas_Object *obj, int count);
[ :elm_slideshow_cache_after_set, [ :evas_object, :int ], :void ],
# EAPI int elm_slideshow_cache_after_get(const Evas_Object *obj);
[ :elm_slideshow_cache_after_get, [ :evas_object ], :int ],
# EAPI unsigned int elm_slideshow_count_get(const Evas_Object *obj);
[ :elm_slideshow_count_get, [ :evas_object ], :uint ],
]
#
attach_fcts fcts
#
end
end
#
# EOF
|