Integrates SoundFactory

This commit is contained in:
Johannes Wendel
2019-12-29 15:55:43 +01:00
parent 989f532c6d
commit cbb03fa924
14 changed files with 41 additions and 50 deletions

View File

@@ -8,6 +8,7 @@
#ifndef FLIPPR_DRIVER_LAMPFACTORY_H
#define FLIPPR_DRIVER_LAMPFACTORY_H
#include <output/DriverBoardPinController.h>
#include "Factory.h"
namespace flippR_driver
@@ -18,7 +19,7 @@ namespace output
class LampFactory : Factory
{
public:
explicit LampFactory(nlohmann::json & object);
explicit LampFactory(nlohmann::json & object, std::shared_ptr<DriverBoardPinController> pin_controller);
std::map<std::string, std::shared_ptr<items::Item>> getItemMap() override;
};