summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2010-12-27 01:14:27 +0100
committerJon Bergli Heier <snakebite@jvnv.net>2010-12-27 01:14:27 +0100
commit9e411c8fe5f3a7b507bca0c4e132454d7d57650c (patch)
tree197f94ed3af663ef0397c065479071c9d3a439d6 /main.cpp
Initial commit.
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;
+}