diff options
author | David Robillard <d@drobilla.net> | 2008-11-16 16:50:59 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-11-16 16:50:59 +0000 |
commit | 422694ebc886882fc8c2f0555a725d052dfc935c (patch) | |
tree | 39474e6c6dea95328eeed3963d5dcf0f958397d1 /src/engine/OSCClientSender.cpp | |
parent | f1b0b3495340399bebb93b20ed9a264a3db4e5da (diff) | |
download | ingen-422694ebc886882fc8c2f0555a725d052dfc935c.tar.gz ingen-422694ebc886882fc8c2f0555a725d052dfc935c.tar.bz2 ingen-422694ebc886882fc8c2f0555a725d052dfc935c.zip |
More HTTP.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1726 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/OSCClientSender.cpp')
-rw-r--r-- | src/engine/OSCClientSender.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/engine/OSCClientSender.cpp b/src/engine/OSCClientSender.cpp index fb87ba23..b5900f11 100644 --- a/src/engine/OSCClientSender.cpp +++ b/src/engine/OSCClientSender.cpp @@ -313,7 +313,7 @@ OSCClientSender::new_plugin(const std::string& uri, } -void +bool OSCClientSender::new_object(const Shared::GraphObject* object) { using namespace Shared; @@ -321,20 +321,22 @@ OSCClientSender::new_object(const Shared::GraphObject* object) const Patch* patch = dynamic_cast<const Patch*>(object); if (patch) { new_patch(patch->path(), patch->internal_polyphony()); - return; + return true; } const Node* node = dynamic_cast<const Node*>(object); if (node) { new_node(node->path(), node->plugin()->uri()); - return; + return true; } const Port* port = dynamic_cast<const Port*>(object); if (port) { new_port(port->path(), port->type().uri(), port->index(), !port->is_input()); - return; + return true; } + + return false; } |