Update vala binding API version.

This commit is contained in:
Daiki Ueno
2011-04-28 12:31:24 +09:00
parent 0add617834
commit 66cea3a0b5
11 changed files with 716 additions and 268 deletions

View File

@ -26,13 +26,15 @@ dist_vapi_DATA = \
MAINTAINERCLEANFILES = $(dist_vapi_DATA) MAINTAINERCLEANFILES = $(dist_vapi_DATA)
eek-$(EEK_API_VERSION).vapi: eek-$(EEK_API_VERSION).vapi:
$(VAPIGEN_V)$(VAPIGEN) --library eek-$(EEK_API_VERSION) \ $(VAPIGEN_V)$(VAPIGEN) \
--library eek-$(EEK_API_VERSION) \
--pkg gio-2.0 \
eek-$(EEK_API_VERSION)/eek-$(EEK_API_VERSION).gi eek-$(EEK_API_VERSION)/eek-$(EEK_API_VERSION).gi
eek-clutter-$(EEK_API_VERSION).vapi: eek-$(EEK_API_VERSION).vapi eek-clutter-$(EEK_API_VERSION).vapi: eek-$(EEK_API_VERSION).vapi
$(VAPIGEN_V)$(VAPIGEN) --vapidir=$(builddir) \ $(VAPIGEN_V)$(VAPIGEN) --vapidir=$(builddir) \
--library eek-clutter-$(EEK_API_VERSION) \ --library eek-clutter-$(EEK_API_VERSION) \
--pkg eek-$(EEK_API_VERSION) --pkg clutter-1.0 \ --pkg eek-$(EEK_API_VERSION) --pkg clutter-1.0 --pkg gio-2.0 --pkg atk \
eek-clutter-$(EEK_API_VERSION)/eek-clutter-$(EEK_API_VERSION).gi eek-clutter-$(EEK_API_VERSION)/eek-clutter-$(EEK_API_VERSION).gi
eek-gtk-$(EEK_API_VERSION).vapi: eek-$(EEK_API_VERSION).vapi eek-gtk-$(EEK_API_VERSION).vapi: eek-$(EEK_API_VERSION).vapi
@ -44,13 +46,13 @@ eek-gtk-$(EEK_API_VERSION).vapi: eek-$(EEK_API_VERSION).vapi
eek-xkb-$(EEK_API_VERSION).vapi: eek-$(EEK_API_VERSION).vapi eek-xkb-$(EEK_API_VERSION).vapi: eek-$(EEK_API_VERSION).vapi
$(VAPIGEN_V)$(VAPIGEN) --vapidir=$(builddir) \ $(VAPIGEN_V)$(VAPIGEN) --vapidir=$(builddir) \
--library eek-xkb-$(EEK_API_VERSION) \ --library eek-xkb-$(EEK_API_VERSION) \
--pkg eek-$(EEK_API_VERSION) \ --pkg eek-$(EEK_API_VERSION) --pkg gio-2.0 \
eek-xkb-$(EEK_API_VERSION)/eek-xkb-$(EEK_API_VERSION).gi eek-xkb-$(EEK_API_VERSION)/eek-xkb-$(EEK_API_VERSION).gi
eek-xkl-$(EEK_API_VERSION).vapi: eek-xkb-$(EEK_API_VERSION).vapi eek-xkl-$(EEK_API_VERSION).vapi: eek-xkb-$(EEK_API_VERSION).vapi
$(VAPIGEN_V)$(VAPIGEN) --vapidir=$(builddir) \ $(VAPIGEN_V)$(VAPIGEN) --vapidir=$(builddir) \
--library eek-xkl-$(EEK_API_VERSION) \ --library eek-xkl-$(EEK_API_VERSION) \
--pkg eek-$(EEK_API_VERSION) --pkg eek-xkb-$(EEK_API_VERSION) \ --pkg eek-$(EEK_API_VERSION) --pkg eek-xkb-$(EEK_API_VERSION) --pkg gio-2.0 \
eek-xkl-$(EEK_API_VERSION)/eek-xkl-$(EEK_API_VERSION).gi eek-xkl-$(EEK_API_VERSION)/eek-xkl-$(EEK_API_VERSION).gi
# set up the verbosity rules to avoid some build noise # set up the verbosity rules to avoid some build noise

View File

@ -1,9 +1,16 @@
include/eek-0.1/eek/eek-layout.h include/eek-0.90/eek/eek-container.h
include/eek-0.1/eek/eek-element.h include/eek-0.90/eek/eek-element.h
include/eek-0.1/eek/eek-container.h include/eek-0.90/eek/eek-enumtypes.h
include/eek-0.1/eek/eek-keyboard.h include/eek-0.90/eek/eek-keyboard.h
include/eek-0.1/eek/eek-section.h include/eek-0.90/eek/eek-key.h
include/eek-0.1/eek/eek-key.h include/eek-0.90/eek/eek-keysym.h
include/eek-0.1/eek/eek-types.h include/eek-0.90/eek/eek-layout.h
include/eek-0.1/eek/eek-keysym.h include/eek-0.90/eek/eek-section.h
include/eek-0.90/eek/eek-serializable.h
include/eek-0.90/eek/eek-symbol.h
include/eek-0.90/eek/eek-symbol-matrix.h
include/eek-0.90/eek/eek-theme.h
include/eek-0.90/eek/eek-types.h
include/eek-0.90/eek/eek-xml.h
include/eek-0.90/eek/eek-xml-layout.h
lib/libeek.so lib/libeek.so

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,2 @@
include/eek-0.1/eek/eek-clutter-keyboard.h include/eek-0.90/eek/eek-clutter-keyboard.h
include/eek-0.1/eek/eek-clutter-section.h
include/eek-0.1/eek/eek-clutter-key.h
include/eek-0.1/eek/eek-clutter-drawing-context.h
lib/libeek-clutter.so lib/libeek-clutter.so

View File

@ -1,85 +1,28 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<api version="1.0"> <api version="1.0">
<namespace name="EekClutter"> <namespace name="EekClutter">
<object name="EekClutterDrawingContext" parent="GInitiallyUnowned" type-name="EekClutterDrawingContext" get-type="eek_clutter_drawing_context_get_type"> <object name="EekClutterKeyboard" parent="ClutterGroup" type-name="EekClutterKeyboard" get-type="eek_clutter_keyboard_get_type">
<method name="get_category_font" symbol="eek_clutter_drawing_context_get_category_font"> <implements>
<return-type type="PangoFontDescription*"/> <interface name="ClutterScriptable"/>
<parameters> <interface name="ClutterAnimatable"/>
<parameter name="context" type="EekClutterDrawingContext*"/> <interface name="AtkImplementor"/>
<parameter name="category" type="EekKeysymCategory"/> <interface name="ClutterContainer"/>
</parameters> </implements>
</method> <constructor name="new" symbol="eek_clutter_keyboard_new">
<method name="get_outline_texture" symbol="eek_clutter_drawing_context_get_outline_texture">
<return-type type="ClutterActor*"/> <return-type type="ClutterActor*"/>
<parameters> <parameters>
<parameter name="context" type="EekClutterDrawingContext*"/> <parameter name="keyboard" type="EekKeyboard*"/>
<parameter name="outline" type="EekOutline*"/>
</parameters>
</method>
<constructor name="new" symbol="eek_clutter_drawing_context_new">
<return-type type="EekClutterDrawingContext*"/>
</constructor>
<method name="set_category_font" symbol="eek_clutter_drawing_context_set_category_font">
<return-type type="void"/>
<parameters>
<parameter name="context" type="EekClutterDrawingContext*"/>
<parameter name="category" type="EekKeysymCategory"/>
<parameter name="fonts" type="PangoFontDescription*"/>
</parameters>
</method>
<method name="set_outline_texture" symbol="eek_clutter_drawing_context_set_outline_texture">
<return-type type="void"/>
<parameters>
<parameter name="context" type="EekClutterDrawingContext*"/>
<parameter name="outline" type="EekOutline*"/>
<parameter name="texture" type="ClutterActor*"/>
</parameters>
</method>
</object>
<object name="EekClutterKey" parent="EekKey" type-name="EekClutterKey" get-type="eek_clutter_key_get_type">
<method name="get_actor" symbol="eek_clutter_key_get_actor">
<return-type type="ClutterActor*"/>
<parameters>
<parameter name="key" type="EekClutterKey*"/>
</parameters>
</method>
<constructor name="new" symbol="eek_clutter_key_new">
<return-type type="EekKey*"/>
<parameters>
<parameter name="context" type="EekClutterDrawingContext*"/>
<parameter name="column" type="gint"/>
<parameter name="row" type="gint"/>
</parameters> </parameters>
</constructor> </constructor>
</object> <method name="set_theme" symbol="eek_clutter_keyboard_set_theme">
<object name="EekClutterKeyboard" parent="EekKeyboard" type-name="EekClutterKeyboard" get-type="eek_clutter_keyboard_get_type"> <return-type type="void"/>
<method name="get_actor" symbol="eek_clutter_keyboard_get_actor">
<return-type type="ClutterActor*"/>
<parameters> <parameters>
<parameter name="keyboard" type="EekClutterKeyboard*"/> <parameter name="keyboard" type="EekClutterKeyboard*"/>
<parameter name="theme" type="EekTheme*"/>
</parameters> </parameters>
</method> </method>
<constructor name="new" symbol="eek_clutter_keyboard_new"> <property name="keyboard" type="EekKeyboard*" readable="0" writable="1" construct="0" construct-only="1"/>
<return-type type="EekKeyboard*"/>
</constructor>
</object> </object>
<object name="EekClutterSection" parent="EekSection" type-name="EekClutterSection" get-type="eek_clutter_section_get_type">
<method name="get_actor" symbol="eek_clutter_section_get_actor">
<return-type type="ClutterActor*"/>
<parameters>
<parameter name="section" type="EekClutterSection*"/>
</parameters>
</method>
<constructor name="new" symbol="eek_clutter_section_new">
<return-type type="EekSection*"/>
<parameters>
<parameter name="context" type="EekClutterDrawingContext*"/>
</parameters>
</constructor>
</object>
<constant name="EEK_CLUTTER_DRAWING_CONTEXT_H" type="int" value="1"/>
<constant name="EEK_CLUTTER_KEYBOARD_H" type="int" value="1"/> <constant name="EEK_CLUTTER_KEYBOARD_H" type="int" value="1"/>
<constant name="EEK_CLUTTER_KEY_H" type="int" value="1"/>
<constant name="EEK_CLUTTER_SECTION_H" type="int" value="1"/>
</namespace> </namespace>
</api> </api>

View File

@ -1,3 +1,2 @@
include/eek-0.1/eek/eek-gtk-keyboard.h include/eek-0.90/eek/eek-gtk-keyboard.h
include/eek-0.1/eek/eek-gtk.h
lib/libeek-gtk.so lib/libeek-gtk.so

View File

@ -1,18 +1,26 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<api version="1.0"> <api version="1.0">
<namespace name="EekGtk"> <namespace name="EekGtk">
<object name="EekGtkKeyboard" parent="EekKeyboard" type-name="EekGtkKeyboard" get-type="eek_gtk_keyboard_get_type"> <object name="EekGtkKeyboard" parent="GtkDrawingArea" type-name="EekGtkKeyboard" get-type="eek_gtk_keyboard_get_type">
<method name="get_widget" symbol="eek_gtk_keyboard_get_widget"> <implements>
<interface name="AtkImplementor"/>
<interface name="GtkBuildable"/>
</implements>
<constructor name="new" symbol="eek_gtk_keyboard_new">
<return-type type="GtkWidget*"/> <return-type type="GtkWidget*"/>
<parameters>
<parameter name="keyboard" type="EekKeyboard*"/>
</parameters>
</constructor>
<method name="set_theme" symbol="eek_gtk_keyboard_set_theme">
<return-type type="void"/>
<parameters> <parameters>
<parameter name="keyboard" type="EekGtkKeyboard*"/> <parameter name="keyboard" type="EekGtkKeyboard*"/>
<parameter name="theme" type="EekTheme*"/>
</parameters> </parameters>
</method> </method>
<constructor name="new" symbol="eek_gtk_keyboard_new"> <property name="keyboard" type="EekKeyboard*" readable="0" writable="1" construct="0" construct-only="1"/>
<return-type type="EekKeyboard*"/>
</constructor>
</object> </object>
<constant name="EEK_GTK_H" type="int" value="1"/>
<constant name="EEK_GTK_KEYBOARD_H" type="int" value="1"/> <constant name="EEK_GTK_KEYBOARD_H" type="int" value="1"/>
</namespace> </namespace>
</api> </api>

View File

@ -1,2 +1,2 @@
include/eek-0.1/eek/eek-xkb-layout.h include/eek-0.90/eek/eek-xkb-layout.h
lib/libeek-xkb.so lib/libeek-xkb.so

View File

@ -1,10 +1,7 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<api version="1.0"> <api version="1.0">
<namespace name="EekXkb"> <namespace name="EekXkb">
<object name="EekXkbLayout" parent="GInitiallyUnowned" type-name="EekXkbLayout" get-type="eek_xkb_layout_get_type"> <object name="EekXkbLayout" parent="EekLayout" type-name="EekXkbLayout" get-type="eek_xkb_layout_get_type">
<implements>
<interface name="EekLayout"/>
</implements>
<method name="get_geometry" symbol="eek_xkb_layout_get_geometry"> <method name="get_geometry" symbol="eek_xkb_layout_get_geometry">
<return-type type="gchar*"/> <return-type type="gchar*"/>
<parameters> <parameters>
@ -49,6 +46,19 @@
</parameters> </parameters>
</method> </method>
--> -->
<method name="set_names_full" symbol="eek_xkb_layout_set_names_full">
<return-type type="gboolean"/>
<parameters>
<parameter name="layout" type="EekXkbLayout*"/>
</parameters>
</method>
<method name="set_names_full_valist" symbol="eek_xkb_layout_set_names_full_valist">
<return-type type="gboolean"/>
<parameters>
<parameter name="layout" type="EekXkbLayout*"/>
<parameter name="var_args" type="va_list"/>
</parameters>
</method>
<method name="set_symbols" symbol="eek_xkb_layout_set_symbols"> <method name="set_symbols" symbol="eek_xkb_layout_set_symbols">
<return-type type="gboolean"/> <return-type type="gboolean"/>
<parameters> <parameters>

View File

@ -1,3 +1,2 @@
include/eek-0.1/eek/eek-xkl-layout.h include/eek-0.90/eek/eek-xkl-layout.h
lib/libeek-xkl.so lib/libeek-xkl.so

View File

@ -2,9 +2,6 @@
<api version="1.0"> <api version="1.0">
<namespace name="EekXkl"> <namespace name="EekXkl">
<object name="EekXklLayout" parent="EekXkbLayout" type-name="EekXklLayout" get-type="eek_xkl_layout_get_type"> <object name="EekXklLayout" parent="EekXkbLayout" type-name="EekXklLayout" get-type="eek_xkl_layout_get_type">
<implements>
<interface name="EekLayout"/>
</implements>
<method name="disable_option" symbol="eek_xkl_layout_disable_option"> <method name="disable_option" symbol="eek_xkl_layout_disable_option">
<return-type type="gboolean"/> <return-type type="gboolean"/>
<parameters> <parameters>
@ -53,6 +50,25 @@
<constructor name="new" symbol="eek_xkl_layout_new"> <constructor name="new" symbol="eek_xkl_layout_new">
<return-type type="EekLayout*"/> <return-type type="EekLayout*"/>
</constructor> </constructor>
<!--
<method name="set_config" symbol="eek_xkl_layout_set_config">
<return-type type="gboolean"/>
<parameters>
<parameter name="layout" type="EekXklLayout*"/>
<parameter name="config" type="XklConfigRec*"/>
</parameters>
</method>
-->
<method name="set_config_full" symbol="eek_xkl_layout_set_config_full">
<return-type type="gboolean"/>
<parameters>
<parameter name="layout" type="EekXklLayout*"/>
<parameter name="model" type="gchar*"/>
<parameter name="layouts" type="gchar**"/>
<parameter name="variants" type="gchar**"/>
<parameter name="options" type="gchar**"/>
</parameters>
</method>
<method name="set_layouts" symbol="eek_xkl_layout_set_layouts"> <method name="set_layouts" symbol="eek_xkl_layout_set_layouts">
<return-type type="gboolean"/> <return-type type="gboolean"/>
<parameters> <parameters>