mbed.org implementation of the abstract SmartREST library for the Cumulocity Platform SmartREST protocol.
Dependents: MbedSmartRestMain MbedSmartRestMain
Diff: AbstractDataSink.h
- Revision:
- 5:2b74510900da
- Parent:
- 0:099f76422485
- Child:
- 11:e1bee9a77652
diff -r 059b8b90e0d9 -r 2b74510900da AbstractDataSink.h --- a/AbstractDataSink.h Wed Jul 09 15:37:19 2014 +0200 +++ b/AbstractDataSink.h Thu Jul 10 16:20:31 2014 +0200 @@ -58,7 +58,7 @@ * @param c the character to write * @return the number of characters written, in this case 1 or 0 */ - virtual size_t write(char c) = 0; + virtual size_t write(char) = 0; /** * Writes a buffer. @@ -66,21 +66,21 @@ * @param length the length of the buffer in bytes * @return the number of characters written */ - virtual size_t write(void *buf, size_t length) = 0; + virtual size_t write(void*, size_t) = 0; /** * Writes a character string. * @param str the string to write * @return the number of characters written */ - virtual size_t write(const char *str) = 0; + virtual size_t write(const char*) = 0; /** * Writes a number with base 10. * @param number the number to write * @return the number of digits written */ - virtual size_t write(unsigned long number) = 0; + virtual size_t write(unsigned long) = 0; }; #endif