summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp
new file mode 100644
index 0000000..55c1de0
--- /dev/null
+++ b/main.cpp
@@ -0,0 +1,12 @@
+#include <iostream>
+#include "music.h"
+
+int main(int argc, char **argv) {
+ try {
+ music::init(argv[1]);
+ } catch(std::exception& e) {
+ std::cerr << e.what() << std::endl;
+ }
+
+ return 0;
+}