Added namespace ArduinoJson::Internals for private types

This commit is contained in:
Benoît Blanchon
2014-07-07 14:05:41 +02:00
parent 99521cc718
commit 6c1ab912ff
11 changed files with 34 additions and 26 deletions

View File

@ -7,18 +7,23 @@
#include "Print.h"
class EscapedString
namespace ArduinoJson
{
public:
void set(const char* s)
namespace Internals
{
rawString = s;
class EscapedString
{
public:
void set(const char* s)
{
rawString = s;
}
size_t printTo(Print&) const;
private:
const char* rawString;
};
}
size_t printTo(Print&) const;
private:
const char* rawString;
};
}