diff options
author | David Robillard <d@drobilla.net> | 2007-10-08 01:38:38 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-10-08 01:38:38 +0000 |
commit | 9d9efa215c52a6b75eef7e9a8b088b11dfd76a07 (patch) | |
tree | 7983e607cf87ddd4b1e099eedfb218880805717d /src/libs/gui | |
parent | a421a44310ee472fbee15f150d32b826a8371dbf (diff) | |
download | ingen-9d9efa215c52a6b75eef7e9a8b088b11dfd76a07.tar.gz ingen-9d9efa215c52a6b75eef7e9a8b088b11dfd76a07.tar.bz2 ingen-9d9efa215c52a6b75eef7e9a8b088b11dfd76a07.zip |
Shared abstract Connection interface.
Only Patch to go, now....
git-svn-id: http://svn.drobilla.net/lad/ingen@843 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/gui')
-rw-r--r-- | src/libs/gui/Connection.hpp | 6 | ||||
-rw-r--r-- | src/libs/gui/PatchCanvas.cpp | 2 |
2 files changed, 4 insertions, 4 deletions
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 <cassert> #include <string> @@ -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<ConnectionModel> cm) const SharedPtr<FlowCanvas::Port> dst = get_port_view(cm->dst_port()); if (src && dst) - add_connection(boost::shared_ptr<Connection>(new Connection(shared_from_this(), + add_connection(boost::shared_ptr<GUI::Connection>(new GUI::Connection(shared_from_this(), cm, src, dst, src->color() + 0x22222200))); else cerr << "[PatchCanvas] ERROR: Unable to find ports to connect " |