diff options
author | David Robillard <d@drobilla.net> | 2006-10-02 20:56:28 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2006-10-02 20:56:28 +0000 |
commit | 682a43546becbc86a210003846778ebb0c38718a (patch) | |
tree | 319e4b01347490d43a20e6ccc6b85cef94ee5288 /src/PatchageFlowCanvas.h | |
parent | 5812053fd22499251e2e2cedaa90fdd80c0d0988 (diff) | |
download | patchage-682a43546becbc86a210003846778ebb0c38718a.tar.gz patchage-682a43546becbc86a210003846778ebb0c38718a.tar.bz2 patchage-682a43546becbc86a210003846778ebb0c38718a.zip |
boost::shared_ptr-ification of FlowCanvas.
Extreme performance enhancements in Patchage (eg don't redraw the whole canvas every time).
Patchage work towards being a control centre.
Broken commit (ingen doesn't even compile) for machine transfer, don't even bother trying this revision.
git-svn-id: http://svn.drobilla.net/lad/patchage@147 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/PatchageFlowCanvas.h')
-rw-r--r-- | src/PatchageFlowCanvas.h | 8 |
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); |