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