Got a basic working structure in place
This commit is contained in:
20
src/transcoder.rs
Normal file
20
src/transcoder.rs
Normal file
@@ -0,0 +1,20 @@
|
||||
use crate::config::Config;
|
||||
use crate::repository::Repository;
|
||||
|
||||
pub struct Transcoder {
|
||||
config: Config,
|
||||
repository: Repository,
|
||||
}
|
||||
|
||||
impl Transcoder {
|
||||
pub fn new(config: Config, repository: Repository) -> Transcoder {
|
||||
return Transcoder{
|
||||
config: config,
|
||||
repository: repository,
|
||||
}
|
||||
}
|
||||
|
||||
pub fn start(self) {
|
||||
println!("Starting transcoder...");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user