aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
blob: 0b76033ea8b6413c9d0deee2b31c3ac734e6698a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
mod itfile;
mod midifile;
mod portmod;
mod convert;
mod utils;

fn main() -> Result<(), itfile::Error> {
  match itfile::load("/home/chrisoft/Music/mods/p/rr_e.it")
  {
    Ok(f) =>
    {
      let mut conv = convert::Converter::new(&f);
      conv.convert();
      Ok(())
    }
    Err(e) => Err(e)
  }
}