Added namespace

This commit is contained in:
Benoît Blanchon committed 2014-07-03 13:55:38 +02:00
1 parent 538b15b400
commit bae5c36f41
12 files changed
+248 -212

No files matched your search

+15 -10
View File
@@ -9,16 +9,21 @@
#include "Print.h"
#include "Printable.h"
class JsonObjectBase : public Printable
namespace ArduinoJson
{
public:
size_t printTo(char* buffer, size_t bufferSize)
namespace Generator
{
StringBuilder sb(buffer, bufferSize);
return printTo(sb);
class JsonObjectBase : public Printable
{
public:
size_t printTo(char* buffer, size_t bufferSize)
{
StringBuilder sb(buffer, bufferSize);
return printTo(sb);
}
virtual size_t printTo(Print& p) const = 0;
};
}
virtual size_t printTo(Print& p) const = 0;
};
}