summaryrefslogtreecommitdiffstats
path: root/src/libs/gui/PatchPortModule.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/gui/PatchPortModule.hpp')
-rw-r--r--src/libs/gui/PatchPortModule.hpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/libs/gui/PatchPortModule.hpp b/src/libs/gui/PatchPortModule.hpp
index 7a420a44..8f3a3fc6 100644
--- a/src/libs/gui/PatchPortModule.hpp
+++ b/src/libs/gui/PatchPortModule.hpp
@@ -38,6 +38,7 @@ namespace GUI {
class PatchCanvas;
class Port;
+class PortMenu;
/** A "module" to represent a patch's port on it's own canvas.
@@ -62,9 +63,11 @@ protected:
PatchPortModule(boost::shared_ptr<PatchCanvas> canvas, SharedPtr<PortModel> port);
void metadata_update(const string& key, const Raul::Atom& value);
+ void create_menu();
- SharedPtr<PortModel> _port;
- boost::shared_ptr<Port> _patch_port; ///< Port on this 'anonymous' module
+ SharedPtr<PortModel> _port;
+ PortMenu* _menu;
+ SharedPtr<Port> _patch_port; ///< Port on this 'anonymous' module
};