summaryrefslogtreecommitdiffstats
path: root/src/server/DuplexPort.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/DuplexPort.hpp')
-rw-r--r--src/server/DuplexPort.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/server/DuplexPort.hpp b/src/server/DuplexPort.hpp
index e12841dd..af32d1e8 100644
--- a/src/server/DuplexPort.hpp
+++ b/src/server/DuplexPort.hpp
@@ -26,6 +26,7 @@ namespace Ingen {
namespace Server {
class BlockImpl;
+class GraphImpl;
/** A duplex Port (both an input and output port on a Graph)
*
@@ -53,6 +54,8 @@ public:
virtual ~DuplexPort();
+ GraphImpl* parent_graph() const { return (GraphImpl*)_parent; }
+
DuplexPort* duplicate(Engine& engine,
const Raul::Symbol& symbol,
GraphImpl* parent);