[vala/0.8] Add clutter-gst-1.0 bindings
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.8] Add clutter-gst-1.0 bindings
- Date: Wed, 21 Apr 2010 13:14:20 +0000 (UTC)
commit ec3e50fb1f67c5ff283d4c9020c6f21b36fdf519
Author: Ali Sabil <ali sabil gmail com>
Date: Sat Apr 17 16:14:12 2010 +0200
Add clutter-gst-1.0 bindings
Fixes bug 608336.
vapi/Makefile.am | 2 ++
vapi/clutter-gst-1.0.deps | 3 +++
vapi/clutter-gst-1.0.vapi | 32 ++++++++++++++++++++++++++++++++
3 files changed, 37 insertions(+), 0 deletions(-)
---
diff --git a/vapi/Makefile.am b/vapi/Makefile.am
index 2b6def8..b1e6dde 100644
--- a/vapi/Makefile.am
+++ b/vapi/Makefile.am
@@ -17,6 +17,8 @@ dist_vapi_DATA = \
ccss-1.vapi \
clutter-1.0.deps \
clutter-1.0.vapi \
+ clutter-gst-1.0.deps \
+ clutter-gst-1.0.vapi \
clutter-gtk-0.10.deps \
clutter-gtk-0.10.vapi \
clutter-json-1.0.vapi \
diff --git a/vapi/clutter-gst-1.0.deps b/vapi/clutter-gst-1.0.deps
new file mode 100644
index 0000000..266e1b2
--- /dev/null
+++ b/vapi/clutter-gst-1.0.deps
@@ -0,0 +1,3 @@
+clutter-1.0
+gstreamer-0.10
+gstreamer-base-0.10
diff --git a/vapi/clutter-gst-1.0.vapi b/vapi/clutter-gst-1.0.vapi
new file mode 100644
index 0000000..00df0e4
--- /dev/null
+++ b/vapi/clutter-gst-1.0.vapi
@@ -0,0 +1,32 @@
+[CCode (cprefix = "ClutterGst", lower_case_cprefix = "clutter_gst_", cheader_filename = "clutter-gst/clutter-gst.h")]
+namespace ClutterGst {
+ [CCode (lower_case_cprefix = "")]
+ namespace Version {
+ [CCode (cname = "CLUTTER_GST_MAJOR_VERSION")]
+ public const int MAJOR;
+ [CCode (cname = "CLUTTER_GST_MINOR_VERSION")]
+ public const int MINOR;
+ [CCode (cname = "CLUTTER_GST_MICRO_VERSION")]
+ public const int MICRO;
+ [CCode (cname = "CLUTTER_GST_VERSION_HEX")]
+ public const int HEX;
+ [CCode (cname = "CLUTTER_GST_VERSION_S")]
+ public const string STRING;
+ [CCode (cname = "CLUTTER_GST_CHECK_VERSION")]
+ public bool check(int major, int minor, int micro);
+ }
+ public class VideoSink : Gst.BaseSink {
+ public VideoSink (Clutter.Texture texture);
+ [NoAccessorMethod]
+ public Clutter.Texture texture { get; set; }
+ [NoAccessorMethod]
+ public int update_priority { get; set; }
+ }
+ public class VideoTexture : Clutter.Texture, Clutter.Media {
+ [CCode (type = "ClutterActor*")]
+ public VideoTexture ();
+ public unowned Gst.Element get_pipeline ();
+ }
+ public static Clutter.InitError init ([CCode (array_length_pos = 0.9)] ref unowned string[] argv);
+ public static Clutter.InitError init_with_args ([CCode (array_length_pos = 0.9)] ref unowned string[] argv, string parameter_string, [CCode (array_length = false)] GLib.OptionEntry[] entries, string translation_domain) throws GLib.OptionError;
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]