Added interface Printable.

This commit is contained in:
Benoît Blanchon
2014-07-01 13:44:36 +02:00
parent c3359d3eb9
commit 4d5a7114c1
8 changed files with 42 additions and 22 deletions

View File

@ -0,0 +1,16 @@
/*
* Arduino JSON library
* Benoit Blanchon 2014 - MIT License
*/
#pragma once
class Print;
class Printable
{
public:
virtual size_t writeTo(Print& p) const = 0;
};