forked from bblanchon/ArduinoJson
Renamed all .h files into .hpp (so that Sublime Text selects C++ syntax)
This commit is contained in:
26
include/ArduinoJson/Arduino/Printable.hpp
Normal file
26
include/ArduinoJson/Arduino/Printable.hpp
Normal file
@ -0,0 +1,26 @@
|
||||
/*
|
||||
* Arduino JSON library
|
||||
* Benoit Blanchon 2014 - MIT License
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef ARDUINO
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
class Print;
|
||||
|
||||
class Printable
|
||||
{
|
||||
public:
|
||||
|
||||
virtual size_t printTo(Print& p) const = 0;
|
||||
};
|
||||
|
||||
#else
|
||||
|
||||
#include <Printable.h>
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user