Refactores Factory

This commit is contained in:
Johannes Wendel
2020-01-06 09:05:13 +01:00
parent f00e10ea33
commit 06663751d7
17 changed files with 86 additions and 307 deletions

View File

@@ -8,7 +8,7 @@
#ifndef FLIPPR_DRIVER_SOUNDFACTORY_H
#define FLIPPR_DRIVER_SOUNDFACTORY_H
#include "Factory.h"
#include "ItemFactory.h"
#include "output/SoundBoardPinController.h"
@@ -17,7 +17,7 @@ namespace flippR_driver
namespace output
{
class SoundFactory : Factory
class SoundFactory : ItemFactory
{
public:
explicit SoundFactory(nlohmann::json & object, std::shared_ptr<SoundBoardPinController> pin_controller);