Refactores item factories
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
|
||||
#include "output/DriverBoardPinController.h"
|
||||
#include "ItemFactory.h"
|
||||
#include "output/items/Lamp.h"
|
||||
|
||||
namespace flippR_driver
|
||||
{
|
||||
@@ -20,7 +21,7 @@ class LampFactory : ItemFactory
|
||||
{
|
||||
public:
|
||||
explicit LampFactory(nlohmann::json & object, std::shared_ptr<DriverBoardPinController> pin_controller);
|
||||
std::map<std::string, std::shared_ptr<items::Item>> getItemMap() override;
|
||||
std::map<std::string, std::shared_ptr<items::Lamp>> getItemMap();
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user