refactored utility namespace
This commit is contained in:
@@ -9,15 +9,16 @@
|
||||
|
||||
namespace FlippR_Driver
|
||||
{
|
||||
namespace output {
|
||||
namespace output
|
||||
{
|
||||
|
||||
Sound::Sound() {
|
||||
// TODO Auto-generated constructor stub
|
||||
Sound::Sound(std::shared_ptr<IOutputGPIOInterface> output_gpio_interface, int address, std::string name)
|
||||
: output_gpio_interface(output_gpio_interface), address(address), name(name)
|
||||
{}
|
||||
|
||||
}
|
||||
|
||||
Sound::~Sound() {
|
||||
// TODO Auto-generated destructor stub
|
||||
void Sound::play()
|
||||
{
|
||||
this->output_gpio_interface->activate(this);
|
||||
}
|
||||
|
||||
} /* namespace output */
|
||||
|
||||
Reference in New Issue
Block a user