refactored namespaces

This commit is contained in:
Jonas Zeunert
2018-11-21 00:14:13 +01:00
parent 6cd1b21162
commit ab6979ae63
20 changed files with 82 additions and 31 deletions

View File

@@ -0,0 +1,40 @@
/*
* Sound.h
*
* Created on: Aug 2, 2018
* Author: rhetenor
*/
#ifndef _SRC_OUTPUT_SOUND_H_
#define _SRC_OUTPUT_SOUND_H_
#include "../../../include/output/output_items/ISound.h"
#include <memory>
#include <string>
#include "utility/IOutputGPIOInterface.h"
namespace flippR_driver
{
namespace output
{
namespace items
{
class Sound : public ISound, OutputItem
{
public:
Sound(std::shared_ptr<utility::IOutputGPIOInterface> output_gpio_interface, int i2c_address, int data_pin, std::string name);
virtual ~Sound() = default;
virtual void play();
private:
virtual void playTask();
};
}
} /* namespace output */
}
#endif