summaryrefslogtreecommitdiffstats
path: root/src/Configuration.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Configuration.hpp')
-rw-r--r--src/Configuration.hpp14
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;