From 00f2ad0069fe4e51e40e6a3b3d41f125b67f89cf Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 7 Jun 2011 02:44:16 +0000 Subject: Remove use of smart pointers in FlowCanvas entirely. Since FlowCanvas's containers own their children, there is no real benefit to using smart pointers for objects, though there is overhead. There are no longer any add or remove methods for containers, simply create (new) and destroy (delete) objects and things should work as expected. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3366 a436a847-0d15-0410-975c-d299462d15a1 --- src/JackDbusDriver.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/JackDbusDriver.hpp') diff --git a/src/JackDbusDriver.hpp b/src/JackDbusDriver.hpp index 9e790ee..ca4fb91 100644 --- a/src/JackDbusDriver.hpp +++ b/src/JackDbusDriver.hpp @@ -48,13 +48,13 @@ public: void destroy_all(); bool connect( - boost::shared_ptr src, - boost::shared_ptr dst); + PatchagePort* src, + PatchagePort* dst); bool disconnect( - boost::shared_ptr src, - boost::shared_ptr dst); - + PatchagePort* src, + PatchagePort* dst); + size_t get_xruns(); void reset_xruns(); @@ -67,7 +67,7 @@ public: void process_events(Patchage* app) {} - boost::shared_ptr create_port_view( + PatchagePort* create_port_view( Patchage* patchage, const PortID& ref); -- cgit v1.2.1