summaryrefslogtreecommitdiffstats
path: root/src/progs/ingenuity/DSSIController.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-09-09 14:24:56 +0000
committerDavid Robillard <d@drobilla.net>2006-09-09 14:24:56 +0000
commitfca95e5d454d37bd74b98f5bce35cfcbaee86c3f (patch)
tree97fcf6e8afaf4356d46a24236e9aa2451ab55698 /src/progs/ingenuity/DSSIController.cpp
parentb853b3dde1f7028dd275f78433a6ad9b5b9f61c7 (diff)
downloadingen-fca95e5d454d37bd74b98f5bce35cfcbaee86c3f.tar.gz
ingen-fca95e5d454d37bd74b98f5bce35cfcbaee86c3f.tar.bz2
ingen-fca95e5d454d37bd74b98f5bce35cfcbaee86c3f.zip
Drove 'er home! Working monolothic Ingenuity (ie. in-process engine).
Countless bugfixes. git-svn-id: http://svn.drobilla.net/lad/ingen@123 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/progs/ingenuity/DSSIController.cpp')
-rw-r--r--src/progs/ingenuity/DSSIController.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/progs/ingenuity/DSSIController.cpp b/src/progs/ingenuity/DSSIController.cpp
index 7419f8c1..6bc75c70 100644
--- a/src/progs/ingenuity/DSSIController.cpp
+++ b/src/progs/ingenuity/DSSIController.cpp
@@ -20,9 +20,10 @@
#include <dirent.h>
#include <unistd.h>
#include <sys/stat.h>
+#include "App.h"
#include "NodeModel.h"
#include "DSSIModule.h"
-#include "Controller.h"
+#include "ModelEngineInterface.h"
namespace Ingenuity {
@@ -115,7 +116,7 @@ DSSIController::update_program_menu()
void
DSSIController::send_program_change(int bank, int program)
{
- Controller::instance().set_program(node_model()->path(), bank, program);
+ App::instance().engine()->set_program(node_model()->path(), bank, program);
}
@@ -142,12 +143,14 @@ DSSIController::create_module(OmFlowCanvas* canvas)
bool
DSSIController::attempt_to_show_gui()
{
+ cerr << "FIXME: DSSI GUI" << endl;
+#if 0
// Shamelessley "inspired by" jack-dssi-host
// Copyright 2004 Chris Cannam, Steve Harris and Sean Bolton.
const bool verbose = false;
- string engine_url = Controller::instance().engine_url();
+ string engine_url = App::instance().engine()->engine_url();
// Hack off last character if it's a /
if (engine_url[engine_url.length()-1] == '/')
engine_url = engine_url.substr(0, engine_url.length()-1);
@@ -263,6 +266,7 @@ DSSIController::attempt_to_show_gui()
free(subpath);
free(dllBase);
+#endif
return false;
}