summaryrefslogtreecommitdiffstats
path: root/src/PatchageModule.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/PatchageModule.hpp')
-rw-r--r--src/PatchageModule.hpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/PatchageModule.hpp b/src/PatchageModule.hpp
index 2a58182..d9ba9dd 100644
--- a/src/PatchageModule.hpp
+++ b/src/PatchageModule.hpp
@@ -21,6 +21,7 @@
#include <string>
#include "flowcanvas/Module.hpp"
+#include "flowcanvas/Port.hpp"
#include "StateManager.hpp"
@@ -32,9 +33,6 @@ public:
PatchageModule(Patchage* app, const std::string& name, ModuleType type, double x=0, double y=0);
~PatchageModule();
- void add_port(FlowCanvas::Port* port);
- void remove_port(FlowCanvas::Port* port);
-
void split();
void join();
@@ -49,6 +47,9 @@ public:
ModuleType type() const { return _type; }
protected:
+ void add_port(FlowCanvas::Port* port);
+ void remove_port(FlowCanvas::Port* port);
+
Patchage* _app;
ModuleType _type;
};