summaryrefslogtreecommitdiffstats
path: root/ingen/client
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-05-11 03:56:54 +0000
committerDavid Robillard <d@drobilla.net>2012-05-11 03:56:54 +0000
commit3dd4b42f3054f819c865e9415c4b86ba78d43aec (patch)
tree656d152cdffdd9196013fe9f35d46f4cf73c6927 /ingen/client
parent7be6d5d05756a7dea20c494d56f364b4dc064c88 (diff)
downloadingen-3dd4b42f3054f819c865e9415c4b86ba78d43aec.tar.gz
ingen-3dd4b42f3054f819c865e9415c4b86ba78d43aec.tar.bz2
ingen-3dd4b42f3054f819c865e9415c4b86ba78d43aec.zip
"Connection" => "Edge"
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4345 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'ingen/client')
-rw-r--r--ingen/client/EdgeModel.hpp4
-rw-r--r--ingen/client/PatchModel.hpp18
2 files changed, 11 insertions, 11 deletions
diff --git a/ingen/client/EdgeModel.hpp b/ingen/client/EdgeModel.hpp
index 9b409e92..83faa25f 100644
--- a/ingen/client/EdgeModel.hpp
+++ b/ingen/client/EdgeModel.hpp
@@ -22,7 +22,7 @@
#include "raul/Path.hpp"
#include "raul/SharedPtr.hpp"
-#include "ingen/Connection.hpp"
+#include "ingen/Edge.hpp"
#include "ingen/client/PortModel.hpp"
namespace Ingen {
@@ -34,7 +34,7 @@ class ClientStore;
*
* \ingroup IngenClient
*/
-class EdgeModel : public Connection
+class EdgeModel : public Edge
{
public:
SharedPtr<PortModel> tail() const { return _tail; }
diff --git a/ingen/client/PatchModel.hpp b/ingen/client/PatchModel.hpp
index 1ea822bb..af5ecb2f 100644
--- a/ingen/client/PatchModel.hpp
+++ b/ingen/client/PatchModel.hpp
@@ -40,10 +40,10 @@ class PatchModel : public NodeModel, public Ingen::Patch
public:
/* WARNING: Copy constructor creates a shallow copy WRT connections */
- const Connections& connections() const { return *_connections.get(); }
+ const Edges& edges() const { return *_edges.get(); }
- SharedPtr<EdgeModel> get_connection(const Ingen::Port* tail,
- const Ingen::Port* head);
+ SharedPtr<EdgeModel> get_edge(const Ingen::Port* tail,
+ const Ingen::Port* head);
bool enabled() const;
bool polyphonic() const;
@@ -52,15 +52,15 @@ public:
// Signals
INGEN_SIGNAL(new_node, void, SharedPtr<NodeModel>);
INGEN_SIGNAL(removed_node, void, SharedPtr<NodeModel>);
- INGEN_SIGNAL(new_connection, void, SharedPtr<EdgeModel>);
- INGEN_SIGNAL(removed_connection, void, SharedPtr<EdgeModel>);
+ INGEN_SIGNAL(new_edge, void, SharedPtr<EdgeModel>);
+ INGEN_SIGNAL(removed_edge, void, SharedPtr<EdgeModel>);
private:
friend class ClientStore;
PatchModel(Shared::URIs& uris, const Raul::Path& patch_path)
: NodeModel(uris, "http://drobilla.net/ns/ingen#Patch", patch_path)
- , _connections(new Connections())
+ , _edges(new Edges())
{
}
@@ -68,11 +68,11 @@ private:
void add_child(SharedPtr<ObjectModel> c);
bool remove_child(SharedPtr<ObjectModel> c);
- void add_connection(SharedPtr<EdgeModel> cm);
- void remove_connection(const Ingen::Port* tail,
+ void add_edge(SharedPtr<EdgeModel> cm);
+ void remove_edge(const Ingen::Port* tail,
const Ingen::Port* head);
- SharedPtr<Connections> _connections;
+ SharedPtr<Edges> _edges;
};
} // namespace Client