From e2982b5f760a862e091992dc0424b2f78c6b724b Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 28 Nov 2020 16:45:38 +0100 Subject: Rename ModuleType to SignalDirection --- src/PatchageModule.hpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/PatchageModule.hpp') diff --git a/src/PatchageModule.hpp b/src/PatchageModule.hpp index 6953124..d55e381 100644 --- a/src/PatchageModule.hpp +++ b/src/PatchageModule.hpp @@ -40,7 +40,7 @@ class PatchageModule : public Ganv::Module public: PatchageModule(Patchage* app, const std::string& name, - ModuleType type, + SignalDirection type, ClientID id, double x = 0, double y = 0); @@ -66,18 +66,18 @@ public: void show_dialog() {} void store_location(double x, double y); - ModuleType type() const { return _type; } + SignalDirection type() const { return _type; } ClientID id() const { return _id; } const std::string& name() const { return _name; } protected: bool on_event(GdkEvent* ev) override; - Patchage* _app; - Gtk::Menu* _menu; - std::string _name; - ModuleType _type; - ClientID _id; + Patchage* _app; + Gtk::Menu* _menu; + std::string _name; + SignalDirection _type; + ClientID _id; }; #endif // PATCHAGE_PATCHAGEMODULE_HPP -- cgit v1.2.1