lib/unigraphic/TextDisplay.h

changeset 28
424d792fea4f
parent 5
f1c85c2500f2
child 55
694e5030b0e9
--- a/lib/unigraphic/TextDisplay.h	Thu Oct 15 01:12:31 2020 +0200
+++ b/lib/unigraphic/TextDisplay.h	Fri Oct 16 22:08:47 2020 +0200
@@ -9,14 +9,16 @@
  * Everything else (locate, printf, putc, cls) will come for free
  *
  * The model is the display will wrap at the right and bottom, so you can
- * keep writing and will always get valid characters. The location is 
+ * keep writing and will always get valid characters. The location is
  * maintained internally to the class to make this easy
  */
 
 #ifndef MBED_TEXTDISPLAY_H
 #define MBED_TEXTDISPLAY_H
 
-#include "mbed.h"
+#include <mbed.h>
+#include <Stream.h>
+
 
 /** A common base class for Text displays
 */
@@ -50,7 +52,7 @@
     * @note this method must be supported in the derived class.
     */
     virtual int columns() = 0;
-    
+
     // functions that come for free, but can be overwritten
     // ----------------------------------------------------
     /** redirect output from a stream (stoud, sterr) to  display
@@ -87,7 +89,7 @@
 
     // putc (from Stream)
     // printf (from Stream)
-    
+
 protected:
 
     virtual int _putc(int value);

mercurial