summaryrefslogtreecommitdiffstats
path: root/src/engine
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine')
-rw-r--r--src/engine/ClientBroadcaster.cpp16
-rw-r--r--src/engine/ClientBroadcaster.hpp2
-rw-r--r--src/engine/HTTPClientSender.cpp16
-rw-r--r--src/engine/HTTPClientSender.hpp9
-rw-r--r--src/engine/OSCClientSender.cpp18
-rw-r--r--src/engine/OSCClientSender.hpp9
-rw-r--r--src/engine/QueuedEngineInterface.cpp9
-rw-r--r--src/engine/QueuedEngineInterface.hpp4
8 files changed, 0 insertions, 83 deletions
diff --git a/src/engine/ClientBroadcaster.cpp b/src/engine/ClientBroadcaster.cpp
index fcc23409..6fca9b17 100644
--- a/src/engine/ClientBroadcaster.cpp
+++ b/src/engine/ClientBroadcaster.cpp
@@ -208,22 +208,6 @@ ClientBroadcaster::send_activity(const Path& path)
}
-void
-ClientBroadcaster::send_program_add(const Path& node_path, int bank, int program, const string& name)
-{
- for (Clients::const_iterator i = _clients.begin(); i != _clients.end(); ++i)
- (*i).second->program_add(node_path, bank, program, name);
-}
-
-
-void
-ClientBroadcaster::send_program_remove(const Path& node_path, int bank, int program)
-{
- for (Clients::const_iterator i = _clients.begin(); i != _clients.end(); ++i)
- (*i).second->program_remove(node_path, bank, program);
-}
-
-
/** Send an object.
*
* @param recursive If true send all children of object
diff --git a/src/engine/ClientBroadcaster.hpp b/src/engine/ClientBroadcaster.hpp
index 346476c7..18d7647f 100644
--- a/src/engine/ClientBroadcaster.hpp
+++ b/src/engine/ClientBroadcaster.hpp
@@ -73,8 +73,6 @@ public:
void send_property_change(const Raul::URI& node_path, const Raul::URI& key, const Raul::Atom& value);
void send_port_value(const Raul::Path& port_path, const Raul::Atom& value);
void send_activity(const Raul::Path& path);
- void send_program_add(const Raul::Path& node_path, int bank, int program, const std::string& name);
- void send_program_remove(const Raul::Path& node_path, int bank, int program);
void send_plugins_to(Shared::ClientInterface*, const NodeFactory::Plugins& plugin_list);
diff --git a/src/engine/HTTPClientSender.cpp b/src/engine/HTTPClientSender.cpp
index 6e4f0480..5804ce43 100644
--- a/src/engine/HTTPClientSender.cpp
+++ b/src/engine/HTTPClientSender.cpp
@@ -212,20 +212,4 @@ HTTPClientSender::rename(const Raul::Path& old_path, const Raul::Path& new_path)
}
-void
-HTTPClientSender::program_add(const Raul::Path& node_path, uint32_t bank, uint32_t program, const std::string& name)
-{
- /*send("/ingen/program_add", "siis",
- node_path.c_str(), bank, program, name.c_str(), LO_ARGS_END);*/
-}
-
-
-void
-HTTPClientSender::program_remove(const Raul::Path& node_path, uint32_t bank, uint32_t program)
-{
- /*send("/ingen/program_remove", "sii",
- node_path.c_str(), bank, program, LO_ARGS_END);*/
-}
-
-
} // namespace Ingen
diff --git a/src/engine/HTTPClientSender.hpp b/src/engine/HTTPClientSender.hpp
index b73272d3..2cfe6098 100644
--- a/src/engine/HTTPClientSender.hpp
+++ b/src/engine/HTTPClientSender.hpp
@@ -119,15 +119,6 @@ public:
virtual void activity(const Raul::Path& path);
- virtual void program_add(const Raul::Path& node_path,
- uint32_t bank,
- uint32_t program,
- const std::string& program_name);
-
- virtual void program_remove(const Raul::Path& node_path,
- uint32_t bank,
- uint32_t program);
-
private:
Engine& _engine;
std::string _url;
diff --git a/src/engine/OSCClientSender.cpp b/src/engine/OSCClientSender.cpp
index 63a22c54..5f351b87 100644
--- a/src/engine/OSCClientSender.cpp
+++ b/src/engine/OSCClientSender.cpp
@@ -360,22 +360,4 @@ OSCClientSender::rename(const Path& old_path, const Path& new_path)
}
-/** Sends information about a program associated with a node.
- */
-void
-OSCClientSender::program_add(const Path& node_path, uint32_t bank, uint32_t program, const std::string& name)
-{
- send("/ingen/program_add", "siis",
- node_path.c_str(), bank, program, name.c_str(), LO_ARGS_END);
-}
-
-
-void
-OSCClientSender::program_remove(const Path& node_path, uint32_t bank, uint32_t program)
-{
- send("/ingen/program_remove", "sii",
- node_path.c_str(), bank, program, LO_ARGS_END);
-}
-
-
} // namespace Ingen
diff --git a/src/engine/OSCClientSender.hpp b/src/engine/OSCClientSender.hpp
index d3a20f0f..404bdee7 100644
--- a/src/engine/OSCClientSender.hpp
+++ b/src/engine/OSCClientSender.hpp
@@ -118,15 +118,6 @@ public:
virtual void activity(const Raul::Path& path);
- virtual void program_add(const Raul::Path& node_path,
- uint32_t bank,
- uint32_t program,
- const std::string& program_name);
-
- virtual void program_remove(const Raul::Path& node_path,
- uint32_t bank,
- uint32_t program);
-
private:
Raul::URI _url;
};
diff --git a/src/engine/QueuedEngineInterface.cpp b/src/engine/QueuedEngineInterface.cpp
index db5f719a..e19261f7 100644
--- a/src/engine/QueuedEngineInterface.cpp
+++ b/src/engine/QueuedEngineInterface.cpp
@@ -247,15 +247,6 @@ QueuedEngineInterface::set_voice_value(const Path& port_path,
void
-QueuedEngineInterface::set_program(const Path& node_path,
- uint32_t bank,
- uint32_t program)
-{
- std::cerr << "FIXME: set program" << std::endl;
-}
-
-
-void
QueuedEngineInterface::midi_learn(const Path& node_path)
{
push_queued(new MidiLearnEvent(_engine, _responder, now(), node_path));
diff --git a/src/engine/QueuedEngineInterface.hpp b/src/engine/QueuedEngineInterface.hpp
index e217d879..1263c225 100644
--- a/src/engine/QueuedEngineInterface.hpp
+++ b/src/engine/QueuedEngineInterface.hpp
@@ -116,10 +116,6 @@ public:
virtual void disconnect_all(const Raul::Path& parent_patch_path,
const Raul::Path& path);
- virtual void set_program(const Raul::Path& node_path,
- uint32_t bank,
- uint32_t program);
-
virtual void midi_learn(const Raul::Path& node_path);
// Requests //