compiling but strange need to talk
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user