Own fork of MbedSmartRest

Dependents:   MbedSmartRestMain MbedSmartRestMain

Fork of MbedSmartRest by Cumulocity Official

Revision:
11:e1bee9a77652
Parent:
5:2b74510900da
--- a/AbstractDataSink.h	Thu Oct 23 14:41:58 2014 +0200
+++ b/AbstractDataSink.h	Sat Nov 15 11:21:01 2014 +0100
@@ -50,37 +50,37 @@
  */
 class AbstractDataSink
 {
-public:
-    virtual ~AbstractDataSink() { };
+	public:
+		virtual ~AbstractDataSink() { };
 
-    /**
-     * Writes a single character.
-     * @param c the character to write
-     * @return the number of characters written, in this case 1 or 0
-     */
-    virtual size_t write(char) = 0;
+		/**
+		 * Writes a single character.
+		 * @param c the character to write
+		 * @return the number of characters written, in this case 1 or 0
+		 */
+		virtual size_t write(char) = 0;
 
-    /**
-     * Writes a buffer.
-     * @param buf the buffer to write
-     * @param length the length of the buffer in bytes
-     * @return the number of characters written
-     */
-    virtual size_t write(void*, size_t) = 0;
+		/**
+		 * Writes a buffer.
+		 * @param buf the buffer to write
+		 * @param length the length of the buffer in bytes
+		 * @return the number of characters written
+		 */
+		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*) = 0;
+		/**
+		 * Writes a character string.
+		 * @param str the string to write
+		 * @return the number of characters written
+		 */
+		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) = 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) = 0;
 };
 
 #endif