summaryrefslogtreecommitdiffstats
path: root/ingen/client/PortModel.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'ingen/client/PortModel.hpp')
-rw-r--r--ingen/client/PortModel.hpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/ingen/client/PortModel.hpp b/ingen/client/PortModel.hpp
index 2307e5fe..d9fce5e4 100644
--- a/ingen/client/PortModel.hpp
+++ b/ingen/client/PortModel.hpp
@@ -100,8 +100,15 @@ private:
void add_child(SharedPtr<ObjectModel> c) { throw; }
bool remove_child(SharedPtr<ObjectModel> c) { throw; }
- void connected_to(SharedPtr<PortModel> p) { ++_connections; _signal_connection.emit(p); }
- void disconnected_from(SharedPtr<PortModel> p) { --_connections; _signal_disconnection.emit(p); }
+ void connected_to(SharedPtr<PortModel> p) {
+ ++_connections;
+ _signal_connection.emit(p);
+ }
+
+ void disconnected_from(SharedPtr<PortModel> p) {
+ --_connections;
+ _signal_disconnection.emit(p);
+ }
void set(SharedPtr<ObjectModel> model);