mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-12-11 04:36:32 +00:00
21 lines
371 B
Rust
21 lines
371 B
Rust
|
use gst::glib;
|
||
|
use gstrswebrtc::signaller::Signallable;
|
||
|
|
||
|
mod imp;
|
||
|
|
||
|
glib::wrapper! {
|
||
|
pub struct MyCustomSignaller(ObjectSubclass<imp::Signaller>) @implements Signallable;
|
||
|
}
|
||
|
|
||
|
impl MyCustomSignaller {
|
||
|
pub fn new() -> Self {
|
||
|
glib::Object::new()
|
||
|
}
|
||
|
}
|
||
|
|
||
|
impl Default for MyCustomSignaller {
|
||
|
fn default() -> Self {
|
||
|
MyCustomSignaller::new()
|
||
|
}
|
||
|
}
|