summaryrefslogtreecommitdiffstats
path: root/src/gui/NodeModule.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/NodeModule.hpp')
-rw-r--r--src/gui/NodeModule.hpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/gui/NodeModule.hpp b/src/gui/NodeModule.hpp
index b9425a86..85ae8027 100644
--- a/src/gui/NodeModule.hpp
+++ b/src/gui/NodeModule.hpp
@@ -54,11 +54,10 @@ public:
bool human_names);
virtual ~NodeModule();
-
- boost::shared_ptr<Port> port(const std::string& port_name) {
- return boost::dynamic_pointer_cast<Ingen::GUI::Port>(
- Module::get_port(port_name));
- }
+
+ boost::shared_ptr<Port> port(boost::shared_ptr<PortModel> model);
+
+ void remove_port(SharedPtr<PortModel> port);
virtual void store_location();
void show_human_names(bool b);
@@ -81,7 +80,6 @@ protected:
void set_property(const std::string& predicate, const Raul::Atom& value);
void add_port(SharedPtr<PortModel> port, bool resize=true);
- void remove_port(SharedPtr<PortModel> port);
void value_changed(uint32_t index, const Atom& value);
void initialise_gui_values();