diff options
author | David Robillard <d@drobilla.net> | 2020-11-28 16:45:38 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-11-28 17:39:10 +0100 |
commit | e2982b5f760a862e091992dc0424b2f78c6b724b (patch) | |
tree | a18732fb244aab23317d311622f80902ae38a2da /src/Configuration.hpp | |
parent | 8889e2c2d03a414c9e917a598ebfb213c5a28503 (diff) | |
download | patchage-e2982b5f760a862e091992dc0424b2f78c6b724b.tar.gz patchage-e2982b5f760a862e091992dc0424b2f78c6b724b.tar.bz2 patchage-e2982b5f760a862e091992dc0424b2f78c6b724b.zip |
Rename ModuleType to SignalDirection
Diffstat (limited to 'src/Configuration.hpp')
-rw-r--r-- | src/Configuration.hpp | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/Configuration.hpp b/src/Configuration.hpp index 6d6b54a..71c6d84 100644 --- a/src/Configuration.hpp +++ b/src/Configuration.hpp @@ -23,11 +23,11 @@ #include <map> #include <string> -enum class ModuleType +enum class SignalDirection { input, output, - input_output, + duplex, }; enum class PortType @@ -62,11 +62,13 @@ public: void load(); void save(); - bool - get_module_location(const std::string& name, ModuleType type, Coord& loc); + bool get_module_location(const std::string& name, + SignalDirection type, + Coord& loc); - void - set_module_location(const std::string& name, ModuleType type, Coord loc); + void set_module_location(const std::string& name, + SignalDirection type, + Coord loc); void set_module_split(const std::string& name, bool split); bool get_module_split(const std::string& name, bool default_val) const; |