mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-04 07:26:33 +00:00
35 lines
922 B
Text
35 lines
922 B
Text
public delegate void NewDecodedPadHandler (object o, NewDecodedPadArgs args);
|
|
|
|
public class NewDecodedPadArgs : GLib.SignalArgs {
|
|
public Gst.Pad Pad {
|
|
get {
|
|
return (Gst.Pad) Args[0];
|
|
}
|
|
}
|
|
|
|
public bool Last {
|
|
get {
|
|
return (bool) Args[1];
|
|
}
|
|
}
|
|
}
|
|
|
|
private Delegate new_decoded_pad_delegate;
|
|
|
|
protected virtual void OnNewDecodedPad (object o, GLib.SignalArgs args) {
|
|
BindingHelper.InvokeProxySignalDelegate (new_decoded_pad_delegate,
|
|
typeof (NewDecodedPadArgs), o, args);
|
|
}
|
|
|
|
public event NewDecodedPadHandler NewDecodedPad {
|
|
add {
|
|
new_decoded_pad_delegate = BindingHelper.AddProxySignalDelegate (this,
|
|
"new-decoded-pad", OnNewDecodedPad, new_decoded_pad_delegate, value);
|
|
}
|
|
|
|
remove {
|
|
new_decoded_pad_delegate = BindingHelper.RemoveProxySignalDelegate (this,
|
|
"new-decoded-pad", OnNewDecodedPad, new_decoded_pad_delegate, value);
|
|
}
|
|
}
|
|
|