some refactoring

This commit is contained in:
Jonas Zeunert
2018-11-20 22:52:10 +01:00
parent 2842ac20bb
commit 22f7c43cf0
18 changed files with 32 additions and 18 deletions

View File

@@ -0,0 +1,31 @@
/*
* IOutputDisplay.h
*
* Created on: Nov 20, 2018
* Author: johannes
*/
#ifndef SRC_OUTPUT_IOUTPUTDISPLAY_H_
#define SRC_OUTPUT_IOUTPUTDISPLAY_H_
namespace flippR_driver
{
namespace output
{
class IDisplay
{
public:
IDisplay();
virtual ~IDisplay();
virtual void write_score(int score) = 0;
virtual void write_content(std::array<char, DigitCount> content) = 0;
};
}
}
#endif /* SRC_OUTPUT_IOUTPUTDISPLAY_H_ */