Skip to main content

gstreamer/subclass/
mod.rs

1// Take a look at the license at the top of the repository in the LICENSE file.
2
3#![allow(clippy::cast_ptr_alignment)]
4
5#[macro_use]
6mod error;
7
8#[macro_use]
9mod plugin;
10
11mod allocator;
12mod bin;
13mod buffer_pool;
14mod child_proxy;
15mod element;
16mod ghost_pad;
17mod object;
18mod pad;
19mod pipeline;
20mod proxy_pad;
21mod task_pool;
22mod tracer;
23
24mod device;
25mod device_provider;
26
27mod clock;
28mod system_clock;
29
30mod preset;
31mod tag_setter;
32mod toc_setter;
33mod uri_handler;
34
35pub use self::{
36    device_provider::DeviceProviderMetadata,
37    element::{CatchPanic, ElementMetadata},
38    error::{FlowError, post_panic_error_message},
39    plugin::{MAJOR_VERSION, MINOR_VERSION},
40    task_pool::TaskPoolFunction,
41};
42
43pub mod prelude {
44    #[doc(hidden)]
45    pub use glib::subclass::prelude::*;
46
47    pub use super::{
48        allocator::{AllocatorImpl, AllocatorImplExt},
49        bin::{BinImpl, BinImplExt},
50        buffer_pool::{BufferPoolImpl, BufferPoolImplExt},
51        child_proxy::{ChildProxyImpl, ChildProxyImplExt},
52        clock::{ClockImpl, ClockImplExt},
53        device::{DeviceImpl, DeviceImplExt},
54        device_provider::{DeviceProviderImpl, DeviceProviderImplExt},
55        element::{ElementImpl, ElementImplExt},
56        ghost_pad::GhostPadImpl,
57        object::GstObjectImpl,
58        pad::{PadImpl, PadImplExt},
59        pipeline::PipelineImpl,
60        preset::PresetImpl,
61        proxy_pad::ProxyPadImpl,
62        system_clock::SystemClockImpl,
63        tag_setter::TagSetterImpl,
64        task_pool::TaskPoolImpl,
65        toc_setter::TocSetterImpl,
66        tracer::{TracerHook, TracerImpl, TracerImplExt},
67        uri_handler::{URIHandlerImpl, URIHandlerImplExt},
68    };
69}