renamed impl to detail
This commit is contained in:
46
FlippR-Driver/src/output/items/detail/EightDigitDisplay.h
Normal file
46
FlippR-Driver/src/output/items/detail/EightDigitDisplay.h
Normal file
@@ -0,0 +1,46 @@
|
||||
//
|
||||
// Created by rhetenor on 20.11.18.
|
||||
//
|
||||
|
||||
#ifndef FLIPPR_DRIVER_OUTPUT_ITEMS_IMPL_EIGHTDIGITDISPLAY_H
|
||||
#define FLIPPR_DRIVER_OUTPUT_ITEMS_IMPL_EIGHTDIGITDISPLAY_H
|
||||
|
||||
#include "output/items/detail/Display.h"
|
||||
|
||||
#include "output/items/EightDigitDisplay.h"
|
||||
|
||||
namespace flippR_driver
|
||||
{
|
||||
namespace output
|
||||
{
|
||||
namespace items
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
|
||||
class EightDigitDisplay : public Display<8>, public items::EightDigitDisplay
|
||||
{
|
||||
public:
|
||||
EightDigitDisplay(uint8_t address, uint8_t id) :
|
||||
Display<8>(address, id) {}
|
||||
|
||||
void write_score(uint score) override
|
||||
{
|
||||
Display<8>::write_score(score);
|
||||
}
|
||||
|
||||
void write_content(std::array<char, 8> content) override
|
||||
{
|
||||
Display<8>::write_content(content);
|
||||
}
|
||||
|
||||
|
||||
~EightDigitDisplay() override = default;
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif //FLIPPR_DRIVER_EIGHTDIGITDISPLAY_H
|
||||
Reference in New Issue
Block a user