Remove redundant from backend
This commit is contained in:
parent
37d80b98cf
commit
27245444a7
|
@ -1,5 +1,3 @@
|
||||||
#![allow(dead_code)]
|
|
||||||
|
|
||||||
use BuildStreamError;
|
use BuildStreamError;
|
||||||
use DefaultFormatError;
|
use DefaultFormatError;
|
||||||
use DevicesError;
|
use DevicesError;
|
||||||
|
@ -19,8 +17,6 @@ pub struct Devices;
|
||||||
#[derive(Clone, Debug, PartialEq, Eq)]
|
#[derive(Clone, Debug, PartialEq, Eq)]
|
||||||
pub struct Device;
|
pub struct Device;
|
||||||
|
|
||||||
pub struct EventLoop;
|
|
||||||
|
|
||||||
pub struct Host;
|
pub struct Host;
|
||||||
|
|
||||||
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
|
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
|
||||||
|
@ -30,6 +26,7 @@ pub struct SupportedInputFormats;
|
||||||
pub struct SupportedOutputFormats;
|
pub struct SupportedOutputFormats;
|
||||||
|
|
||||||
impl Host {
|
impl Host {
|
||||||
|
#[allow(dead_code)]
|
||||||
pub fn new() -> Result<Self, crate::HostUnavailable> {
|
pub fn new() -> Result<Self, crate::HostUnavailable> {
|
||||||
Ok(Host)
|
Ok(Host)
|
||||||
}
|
}
|
||||||
|
@ -41,12 +38,6 @@ impl Devices {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl EventLoop {
|
|
||||||
pub fn new() -> EventLoop {
|
|
||||||
EventLoop
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
impl DeviceTrait for Device {
|
impl DeviceTrait for Device {
|
||||||
type SupportedInputFormats = SupportedInputFormats;
|
type SupportedInputFormats = SupportedInputFormats;
|
||||||
type SupportedOutputFormats = SupportedOutputFormats;
|
type SupportedOutputFormats = SupportedOutputFormats;
|
||||||
|
|
Loading…
Reference in New Issue