displays
This commit is contained in:
@@ -16,6 +16,7 @@ namespace flippR_driver
|
|||||||
{
|
{
|
||||||
namespace output
|
namespace output
|
||||||
{
|
{
|
||||||
|
|
||||||
template <int DigitCount>
|
template <int DigitCount>
|
||||||
class Display : public IDisplay<DigitCount>
|
class Display : public IDisplay<DigitCount>
|
||||||
{
|
{
|
||||||
@@ -38,9 +39,6 @@ private:
|
|||||||
std::string fit_string(std::string& score_string);
|
std::string fit_string(std::string& score_string);
|
||||||
};
|
};
|
||||||
|
|
||||||
using SevenDigitDisplay = Display<7>;
|
|
||||||
using EightDigitDisply = Display<8>;
|
|
||||||
|
|
||||||
} /* namespace output */
|
} /* namespace output */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -24,8 +24,7 @@ public:
|
|||||||
|
|
||||||
virtual int getID() = 0;
|
virtual int getID() = 0;
|
||||||
|
|
||||||
private:
|
virtual
|
||||||
std::string fit_string(std::string& score_string);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
} /* namespace output */
|
} /* namespace output */
|
||||||
|
|||||||
Reference in New Issue
Block a user