compiling but strange need to talk

This commit is contained in:
Jonas Zeunert
2018-12-11 12:11:43 +01:00
parent b0d649018e
commit 3103fb77c7
7 changed files with 70 additions and 10 deletions

View File

@@ -9,6 +9,8 @@
#define _SRC_OUTPUT_SOUND_H_
#include "output/items/ISound.h"
#include "output/items/ISoundItem.h"
#include "Item.h"
#include <memory>
@@ -24,7 +26,7 @@ namespace output
namespace items
{
class Sound : public ISound, public Item
class Sound : public ISound, public Item, public ISoundItem
{
public:
u_int id;
@@ -33,6 +35,9 @@ public:
Sound(std::shared_ptr<IOutputGPIOInterface> output_gpio_interface, uint8_t address, std::string name, std::chrono::milliseconds deactivation_time, u_int id);
~Sound() override = default;
std::string get_name() override;
uint8_t get_address() override;
void play() override;
private: