[vala] gstreamer: Add some more (uncommented) enum methods for later use
- From: Sebastian Dröge <sdroege src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gstreamer: Add some more (uncommented) enum methods for later use
- Date: Thu, 8 Apr 2010 08:33:07 +0000 (UTC)
commit 7e8c1f0063776f714597c5e30dbe06464ac4f68d
Author: Sebastian Dröge <sebastian droege collabora co uk>
Date: Sat Apr 3 15:19:24 2010 +0200
gstreamer: Add some more (uncommented) enum methods for later use
.../gstreamer-0.10/gstreamer-0.10-custom.vala | 19 +++++++++++++++++++
1 files changed, 19 insertions(+), 0 deletions(-)
---
diff --git a/vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala b/vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala
index 4a853fb..36af4bb 100644
--- a/vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala
+++ b/vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala
@@ -226,6 +226,25 @@ namespace Gst {
public Structure.id_empty (GLib.Quark quark);
}
+#if 0
+ // FIXME: vapigen can't extend enums, see EventType
+ public enum State {
+ ;
+ [CCode (cname = "GST_STATE_GET_NEXT")]
+ public State get_next (State pending);
+ }
+
+ public enum StateChange {
+ ;
+ [CCode (cname = "GST_STATE_TRANSITION")]
+ public static StateChange transition (State cur, State next);
+ [CCode (cname = "GST_STATE_TRANSITION_CURRENT")]
+ public static State transition_current ();
+ [CCode (cname = "GST_STATE_TRANSITION_NEXT")]
+ public static State transition_next ();
+ }
+#endif
+
[Compact]
public class DebugCategory {
[CCode (cname="GST_DEBUG_CATEGORY_INIT")]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]