Adjusted included headersfor Vala bindings. Ignore rtsp-url-compat.h

This commit is contained in:
Sebastian Pölsterl 2008-11-30 23:57:26 +01:00 committed by Wim Taymans
parent ce20c2ff8c
commit eb68a892a6
4 changed files with 9 additions and 9 deletions

View file

@ -57,7 +57,7 @@ namespace Gst {
[NoAccessorMethod]
public int port { get; construct; }
}
[CCode (cheader_filename = "gst/gst.h")]
[CCode (cheader_filename = "gst/rtsp-server/rtsp-session.h")]
public class RTSPSession : GLib.Object {
public weak GLib.List medias;
public weak string sessionid;
@ -67,7 +67,7 @@ namespace Gst {
public RTSPSession (string sessionid);
}
[Compact]
[CCode (cheader_filename = "gst/gst.h")]
[CCode (cheader_filename = "gst/rtsp-server/rtsp-session.h")]
public class RTSPSessionMedia {
public weak Gst.Element fdsink;
public weak Gst.RTSPMedia media;
@ -79,7 +79,7 @@ namespace Gst {
public Gst.StateChangeReturn play ();
public Gst.StateChangeReturn stop ();
}
[CCode (cheader_filename = "gst/gst.h")]
[CCode (cheader_filename = "gst/rtsp-server/rtsp-session.h")]
public class RTSPSessionPool : GLib.Object {
public weak GLib.Mutex @lock;
public weak GLib.HashTable sessions;
@ -90,7 +90,7 @@ namespace Gst {
public void remove (Gst.RTSPSession sess);
}
[Compact]
[CCode (cheader_filename = "gst/gst.h")]
[CCode (cheader_filename = "gst/rtsp-server/rtsp-session-pool.h")]
public class RTSPSessionStream {
public weak Gst.RTSPTransport client_trans;
public weak string destination;
@ -108,6 +108,4 @@ namespace Gst {
public weak Gst.Element[] udpsrc;
public weak Gst.RTSPTransport set_transport (string destination, Gst.RTSPTransport ct);
}
[CCode (cheader_filename = "gst/gst.h")]
public const int HAVE_RTSP_URL_BOXED;
}

View file

@ -0,0 +1 @@
rtsp-url-compat.h

View file

@ -59,8 +59,6 @@
<field name="udpsrc" type="GstElement*[]"/>
<field name="udpsink" type="GstElement*[]"/>
</struct>
<boxed name="GstRTSPUrl" type-name="GstRTSPUrl" get-type="gst_rtsp_url_get_type">
</boxed>
<object name="GstRTSPClient" parent="GObject" type-name="GstRTSPClient" get-type="gst_rtsp_client_get_type">
<method name="accept" symbol="gst_rtsp_client_accept">
<return-type type="gboolean"/>
@ -208,6 +206,5 @@
<field name="lock" type="GMutex*"/>
<field name="sessions" type="GHashTable*"/>
</object>
<constant name="HAVE_RTSP_URL_BOXED" type="int" value="1"/>
</namespace>
</api>

View file

@ -3,3 +3,7 @@ GstRTSPMediaStream cheader_filename="gst/rtsp-server/rstp-media.h"
GstRTSPMedia cheader_filename="gst/rtsp-server/rstp-media.h"
GstRTSPClient cheader_filename="gst/rtsp-server/rstp-client.h"
GstRTSPServer cheader_filename="gst/rtsp-server/rstp-server.h"
GstRTSPSession cheader_filename="gst/rtsp-server/rtsp-session.h"
GstRTSPSessionMedia cheader_filename="gst/rtsp-server/rtsp-session.h"
GstRTSPSessionPool cheader_filename="gst/rtsp-server/rtsp-session.h"
GstRTSPSessionStream cheader_filename="gst/rtsp-server/rtsp-session-pool.h"