mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-25 13:01:07 +00:00
Rename ObjectClassStruct to ObjectClass
This commit is contained in:
parent
cd23c993ae
commit
f322395918
4 changed files with 5 additions and 5 deletions
|
@ -115,7 +115,7 @@ unsafe impl BaseSinkClass<RsBaseSink> for gst_base_ffi::GstBaseSinkClass {}
|
|||
unsafe impl BaseSinkClass<RsBaseSink> for RsBaseSinkClass {}
|
||||
unsafe impl ElementClass<RsBaseSink> for gst_base_ffi::GstBaseSinkClass {}
|
||||
unsafe impl ElementClass<RsBaseSink> for RsBaseSinkClass {}
|
||||
unsafe impl ObjectClassStruct for gst_base_ffi::GstBaseSinkClass {}
|
||||
unsafe impl ObjectClass for gst_base_ffi::GstBaseSinkClass {}
|
||||
|
||||
// FIXME: Boilerplate
|
||||
impl BaseSinkImpl for Box<BaseSinkImpl> {
|
||||
|
|
|
@ -151,7 +151,7 @@ unsafe impl BaseSrcClass<RsBaseSrc> for gst_base_ffi::GstBaseSrcClass {}
|
|||
unsafe impl BaseSrcClass<RsBaseSrc> for RsBaseSrcClass {}
|
||||
unsafe impl ElementClass<RsBaseSrc> for gst_base_ffi::GstBaseSrcClass {}
|
||||
unsafe impl ElementClass<RsBaseSrc> for RsBaseSrcClass {}
|
||||
unsafe impl ObjectClassStruct for gst_base_ffi::GstBaseSrcClass {}
|
||||
unsafe impl ObjectClass for gst_base_ffi::GstBaseSrcClass {}
|
||||
|
||||
// FIXME: Boilerplate
|
||||
impl BaseSrcImpl for Box<BaseSrcImpl> {
|
||||
|
|
|
@ -118,7 +118,7 @@ pub type RsElementClass = ClassStruct<RsElement>;
|
|||
// FIXME: Boilerplate
|
||||
unsafe impl ElementClass<RsElement> for RsElementClass {}
|
||||
unsafe impl ElementClass<RsElement> for gst_ffi::GstElementClass {}
|
||||
unsafe impl ObjectClassStruct for gst_ffi::GstElementClass {}
|
||||
unsafe impl ObjectClass for gst_ffi::GstElementClass {}
|
||||
|
||||
// FIXME: Boilerplate
|
||||
impl ObjectImpl for Box<ElementImpl> {
|
||||
|
|
|
@ -106,7 +106,7 @@ impl<T: ObjectType> ClassStruct<T> {
|
|||
}
|
||||
}
|
||||
|
||||
pub unsafe trait ObjectClassStruct {
|
||||
pub unsafe trait ObjectClass {
|
||||
fn install_properties(&mut self, properties: &[Property]) {
|
||||
if properties.is_empty() {
|
||||
return;
|
||||
|
@ -233,7 +233,7 @@ pub unsafe trait ObjectClassStruct {
|
|||
}
|
||||
}
|
||||
|
||||
unsafe impl<T: ObjectType> ObjectClassStruct for ClassStruct<T> {}
|
||||
unsafe impl<T: ObjectType> ObjectClass for ClassStruct<T> {}
|
||||
|
||||
#[derive(Clone, Copy, PartialEq, Eq, Debug)]
|
||||
pub enum PropertyMutability {
|
||||
|
|
Loading…
Reference in a new issue