Moved IndentedPrint into the namespace ArduinoJson::Generator

This commit is contained in:
Benoit Blanchon
2014-08-26 10:16:13 +02:00
parent f127ef6019
commit aa2cd0db00
2 changed files with 28 additions and 20 deletions

View File

@ -1,5 +1,7 @@
#include "IndentedPrint.h"
using namespace ArduinoJson::Generator;
void IndentedPrint::indent()
{
if (level<127)

View File

@ -7,6 +7,10 @@
#include "Print.h"
namespace ArduinoJson
{
namespace Generator
{
class IndentedPrint : public Print
{
public:
@ -30,4 +34,6 @@ private:
size_t writeTabs();
};
}
}