From 9d9efa215c52a6b75eef7e9a8b088b11dfd76a07 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 8 Oct 2007 01:38:38 +0000 Subject: Shared abstract Connection interface. Only Patch to go, now.... git-svn-id: http://svn.drobilla.net/lad/ingen@843 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/gui/Connection.hpp | 6 +++--- src/libs/gui/PatchCanvas.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/libs/gui') diff --git a/src/libs/gui/Connection.hpp b/src/libs/gui/Connection.hpp index f6072068..55378891 100644 --- a/src/libs/gui/Connection.hpp +++ b/src/libs/gui/Connection.hpp @@ -15,8 +15,8 @@ * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef CONNECTION_H -#define CONNECTION_H +#ifndef GUI_CONNECTION_H +#define GUI_CONNECTION_H #include #include @@ -57,4 +57,4 @@ private: } // namespace GUI } // namespace Ingen -#endif // CONNECTION_H +#endif // GUI_CONNECTION_H diff --git a/src/libs/gui/PatchCanvas.cpp b/src/libs/gui/PatchCanvas.cpp index e2e176cb..bbff476f 100644 --- a/src/libs/gui/PatchCanvas.cpp +++ b/src/libs/gui/PatchCanvas.cpp @@ -310,7 +310,7 @@ PatchCanvas::connection(SharedPtr cm) const SharedPtr dst = get_port_view(cm->dst_port()); if (src && dst) - add_connection(boost::shared_ptr(new Connection(shared_from_this(), + add_connection(boost::shared_ptr(new GUI::Connection(shared_from_this(), cm, src, dst, src->color() + 0x22222200))); else cerr << "[PatchCanvas] ERROR: Unable to find ports to connect " -- cgit v1.2.1