Own fork of MbedSmartRest

Dependents:   MbedSmartRestMain MbedSmartRestMain

Fork of MbedSmartRest by Cumulocity Official

Revision:
11:e1bee9a77652
Parent:
0:099f76422485
--- a/AbstractDataSource.h	Thu Oct 23 14:41:58 2014 +0200
+++ b/AbstractDataSource.h	Sat Nov 15 11:21:01 2014 +0100
@@ -74,28 +74,28 @@
  */
 class AbstractDataSource
 {
-public:
-    virtual ~AbstractDataSource() { };
+	public:
+		virtual ~AbstractDataSource() { };
 
-    /**
-     * Reads one character. When successful, the returned value
-     * represents the character. Otherwise, status() will return a
-     * non-zero value. This function is blocking.
-     * @return the caracter read or zero. If the return value is
-     * non-zero, status() is zero. Otherwise, check status() for a
-     * non-zero value.
-     */
-    virtual char read() = 0;
+		/**
+		 * Reads one character. When successful, the returned value
+		 * represents the character. Otherwise, status() will return a
+		 * non-zero value. This function is blocking.
+		 * @return the caracter read or zero. If the return value is
+		 * non-zero, status() is zero. Otherwise, check status() for a
+		 * non-zero value.
+		 */
+		virtual char read() = 0;
 
-    /**
-     * Returns the current read state. If a non-zero value is returned,
-     * there is an error. Otherwise, everything is ok.
-     * DS_STATUS_TIMEOUT means that there has been a read timeout.
-     * DS_STATUS_CLOSED means that the connection has been closed
-     * by either this or the foreign host.
-     * @return the status value
-     */
-    virtual uint8_t status() = 0;
+		/**
+		 * Returns the current read state. If a non-zero value is returned,
+		 * there is an error. Otherwise, everything is ok.
+		 * DS_STATUS_TIMEOUT means that there has been a read timeout.
+		 * DS_STATUS_CLOSED means that the connection has been closed
+		 * by either this or the foreign host.
+		 * @return the status value
+		 */
+		virtual uint8_t status() = 0;
 };
 
 #endif