Changed displays from id to name

This commit is contained in:
Johannes Wendel
2020-01-09 22:33:23 +01:00
parent ebf5a158b5
commit 1333445bf5
12 changed files with 28 additions and 35 deletions

View File

@@ -19,7 +19,7 @@ namespace output
class DisplayFactory : ItemFactory
{
public:
explicit DisplayFactory(nlohmann::json & object, std::shared_ptr<DisplayBoardPinController> pin_controller);
DisplayFactory(nlohmann::json & object, std::shared_ptr<DisplayBoardPinController> pin_controller);
std::map<std::string, std::shared_ptr<items::Display>> getItemMap();