renamed impl to detail
This commit is contained in:
33
FlippR-Driver/src/output/items/detail/Item.cpp
Normal file
33
FlippR-Driver/src/output/items/detail/Item.cpp
Normal file
@@ -0,0 +1,33 @@
|
||||
//
|
||||
// Created by rhetenor on 21.11.18.
|
||||
//
|
||||
|
||||
#include "Item.h"
|
||||
|
||||
namespace flippR_driver
|
||||
{
|
||||
namespace output
|
||||
{
|
||||
namespace items
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
|
||||
Item::Item(uint8_t address, std::string name) :
|
||||
address(address), name(std::move(name))
|
||||
{}
|
||||
|
||||
uint8_t Item::get_address() const
|
||||
{
|
||||
return this->address;
|
||||
}
|
||||
|
||||
std::string Item::get_name() const
|
||||
{
|
||||
return this->name;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user