Test an object with one member

This commit is contained in:
Benoit Blanchon
2014-08-25 09:52:42 +02:00
parent e31a2136fc
commit 75c89e7b35
3 changed files with 35 additions and 3 deletions

View File

@ -13,14 +13,16 @@ class IndentedPrintDecorator : public Print
public:
IndentedPrintDecorator(Print& p)
: currentLevel(0), sink(p)
: indent(0), sink(p)
{
}
virtual size_t write(uint8_t);
private:
int currentLevel;
int indent;
Print& sink;
size_t writeln();
};