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

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