summaryrefslogtreecommitdiff
path: root/synth/main.cpp
diff options
context:
space:
mode:
authorFlorian Jung <flo@thinkpad.(none)>2011-01-10 17:57:36 +0100
committerFlorian Jung <flo@thinkpad.(none)>2011-01-10 18:01:25 +0100
commitb34cab5dd6d4ac16a6a58589397a3d82df38b826 (patch)
treec76bde00d0ee62d3701aacbedde55ea0f3d287bc /synth/main.cpp
parent4b87549a645fd62107ddc5295a5027b2a5851096 (diff)
Implemented a yet very basic in-synth-interface
The interface understands "quit" and "exit", and accepts but ignores "reload" and "load". It catches CTRL+C.
Diffstat (limited to 'synth/main.cpp')
-rw-r--r--synth/main.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/synth/main.cpp b/synth/main.cpp
index 1c8dd4c..8bcfe39 100644
--- a/synth/main.cpp
+++ b/synth/main.cpp
@@ -13,6 +13,7 @@
#include "defines.h"
#include "globals.h"
#include "note_loader.h"
+#include "in_synth_cli.h"
using namespace std;
@@ -158,9 +159,7 @@ int main(int argc, char** argv)
start_jack(connect_audio, connect_midi);
- char tmp[10];
- gets(tmp);
- cout << "end."<< endl;
+ do_in_synth_cli();
cleanup();
}