summaryrefslogtreecommitdiffstats
path: root/src/PatchageFlowCanvas.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/PatchageFlowCanvas.h')
-rw-r--r--src/PatchageFlowCanvas.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/PatchageFlowCanvas.h b/src/PatchageFlowCanvas.h
index 2636920..a99d658 100644
--- a/src/PatchageFlowCanvas.h
+++ b/src/PatchageFlowCanvas.h
@@ -33,11 +33,11 @@ class PatchageFlowCanvas : public FlowCanvas
public:
PatchageFlowCanvas(Patchage* m_app, int width, int height);
- PatchageModule* find_module(const string& name, ModuleType type);
- PatchagePort* find_port(const snd_seq_addr_t* alsa_addr, bool is_input);
+ boost::shared_ptr<PatchageModule> find_module(const string& name, ModuleType type);
+ boost::shared_ptr<PatchagePort> find_port(const snd_seq_addr_t* alsa_addr);
- void connect(const Port* port1, const Port* port2);
- void disconnect(const Port* port1, const Port* port2);
+ void connect(boost::shared_ptr<Port> port1, boost::shared_ptr<Port> port2);
+ void disconnect(boost::shared_ptr<Port> port1, boost::shared_ptr<Port> port2);
void status_message(const string& msg);