aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
new file mode 100644
index 0000000..cdc2322
--- /dev/null
+++ b/src/main.rs
@@ -0,0 +1,17 @@
+mod itfile;
+mod midifile;
+mod convert;
+mod utils;
+
+fn main() -> Result<(), itfile::Error> {
+ match itfile::load("/home/chrisoft/Music/mods/rr_exp.it")
+ {
+ Ok(f) =>
+ {
+ let mut conv = convert::Converter::new(&f);
+ conv.convert();
+ Ok(())
+ }
+ Err(e) => Err(e)
+ }
+}