summaryrefslogtreecommitdiffstats
path: root/src/progs/demolition
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/demolition
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/demolition')
-rw-r--r--src/progs/demolition/DemolitionClientInterface.cpp14
-rw-r--r--src/progs/demolition/DemolitionClientInterface.h33
2 files changed, 25 insertions, 22 deletions
diff --git a/src/progs/demolition/DemolitionClientInterface.cpp b/src/progs/demolition/DemolitionClientInterface.cpp
index 1c3d7aa1..a0704028 100644
--- a/src/progs/demolition/DemolitionClientInterface.cpp
+++ b/src/progs/demolition/DemolitionClientInterface.cpp
@@ -30,7 +30,7 @@ DemolitionClientInterface::~DemolitionClientInterface()
void
-DemolitionClientInterface::error(const string& msg)
+DemolitionClientInterface::error(string msg)
{
}
@@ -50,19 +50,19 @@ DemolitionClientInterface::new_port_model(PortModel* port_model)
void
-DemolitionClientInterface::object_destroyed(const string& path)
+DemolitionClientInterface::object_destroyed(string path)
{
m_model->remove_object(path);
}
void
-DemolitionClientInterface::patch_enabled(const string& path)
+DemolitionClientInterface::patch_enabled(string path)
{
}
void
-DemolitionClientInterface::patch_disabled(const string& path)
+DemolitionClientInterface::patch_disabled(string path)
{
}
@@ -75,7 +75,7 @@ DemolitionClientInterface::new_node_model(NodeModel* nm)
void
-DemolitionClientInterface::object_renamed(const string& old_path, const string& new_path)
+DemolitionClientInterface::object_renamed(string old_path, string new_path)
{
m_model->object_renamed(old_path, new_path);
}
@@ -89,14 +89,14 @@ DemolitionClientInterface::connection_model(ConnectionModel* cm)
void
-DemolitionClientInterface::disconnection(const string& src_port_path, const string& dst_port_path)
+DemolitionClientInterface::disconnection(string src_port_path, string dst_port_path)
{
m_model->remove_connection(src_port_path, dst_port_path);
}
void
-DemolitionClientInterface::control_change(const string& port_path, float value)
+DemolitionClientInterface::control_change(string port_path, float value)
{
}
diff --git a/src/progs/demolition/DemolitionClientInterface.h b/src/progs/demolition/DemolitionClientInterface.h
index 303de621..83539afc 100644
--- a/src/progs/demolition/DemolitionClientInterface.h
+++ b/src/progs/demolition/DemolitionClientInterface.h
@@ -42,32 +42,35 @@ public:
void bundle_begin() {}
void bundle_end() {}
+
+ void transfer_begin() {}
+ void transfer_end() {}
void num_plugins(uint32_t num) {}
- void response(int32_t id, bool success, const string& msg) {}
+ void response(int32_t id, bool success, string msg) {}
// OSC thread functions
- void error(const string& msg);
+ void error(string msg);
- void new_plugin(const string& type,
- const string& uri,
- const string& name) {}
+ void new_plugin(string type,
+ string uri,
+ string name) {}
void new_patch_model(PatchModel* const pm);
void new_port_model(PortModel* const port_model);
- void object_destroyed(const string& path);
- void patch_enabled(const string& path);
- void patch_disabled(const string& path);
- void patch_cleared(const string& path) { throw; }
+ void object_destroyed(string path);
+ void patch_enabled(string path);
+ void patch_disabled(string path);
+ void patch_cleared(string path) { throw; }
void new_node_model(NodeModel* const nm);
- void object_renamed(const string& old_path, const string& new_path);
+ void object_renamed(string old_path, string new_path);
void connection_model(ConnectionModel* const cm);
- void disconnection(const string& src_port_path, const string& dst_port_path);
- void metadata_update(const string& path, const string& key, const string& value) {}
- void control_change(const string& port_path, float value);
+ void disconnection(string src_port_path, string dst_port_path);
+ void metadata_update(string path, string key, string value) {}
+ void control_change(string port_path, float value);
void new_plugin_model(PluginModel* const pi);
- void program_add(const string& path, uint32_t bank, uint32_t program, const string& name) {};
- void program_remove(const string& path, uint32_t bank, uint32_t program) {};
+ void program_add(string path, uint32_t bank, uint32_t program, string name) {};
+ void program_remove(string path, uint32_t bank, uint32_t program) {};
private:
DemolitionModel* m_model;