summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Sabil <ali.sabil@gmail.com>2010-04-17 16:14:12 +0200
committerJürg Billeter <j@bitron.ch>2010-04-21 14:37:56 +0200
commitec3e50fb1f67c5ff283d4c9020c6f21b36fdf519 (patch)
tree149b6f9d07414399dfc7e0cdd40adc1a8d982ca4
parent358c2db6ac22189f50b12d90b35ad0a2913f8729 (diff)
downloadvala-ec3e50fb1f67c5ff283d4c9020c6f21b36fdf519.tar.gz
Add clutter-gst-1.0 bindings
Fixes bug 608336.
-rw-r--r--vapi/Makefile.am2
-rw-r--r--vapi/clutter-gst-1.0.deps3
-rw-r--r--vapi/clutter-gst-1.0.vapi32
3 files changed, 37 insertions, 0 deletions
diff --git a/vapi/Makefile.am b/vapi/Makefile.am
index 2b6def8e8..b1e6ddefa 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 000000000..266e1b268
--- /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 000000000..00df0e485
--- /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;
+}