Olivier Smeesters
/
DtmfKit
A DTMF sequence editor and player for HAM radio equipment command & control.
display_manager.hpp@0:1324e7d9d471, 2011-03-07 (annotated)
- Committer:
- osmeest
- Date:
- Mon Mar 07 22:51:19 2011 +0000
- Revision:
- 0:1324e7d9d471
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
osmeest | 0:1324e7d9d471 | 1 | #ifndef _DISPLAY_INTERFACE_HPP |
osmeest | 0:1324e7d9d471 | 2 | #define _DISPLAY_INTERFACE_HPP |
osmeest | 0:1324e7d9d471 | 3 | |
osmeest | 0:1324e7d9d471 | 4 | #include <string> |
osmeest | 0:1324e7d9d471 | 5 | |
osmeest | 0:1324e7d9d471 | 6 | class DisplayManager { |
osmeest | 0:1324e7d9d471 | 7 | public: |
osmeest | 0:1324e7d9d471 | 8 | virtual void moveTo(std::size_t pos) = 0; |
osmeest | 0:1324e7d9d471 | 9 | virtual void writeStatus(const std::string &text) = 0; |
osmeest | 0:1324e7d9d471 | 10 | virtual void writeText(const std::string &text) = 0; |
osmeest | 0:1324e7d9d471 | 11 | virtual void showCursor() = 0; |
osmeest | 0:1324e7d9d471 | 12 | virtual void hideCursor() = 0; |
osmeest | 0:1324e7d9d471 | 13 | virtual void clear() = 0; |
osmeest | 0:1324e7d9d471 | 14 | |
osmeest | 0:1324e7d9d471 | 15 | virtual ~DisplayManager() {} |
osmeest | 0:1324e7d9d471 | 16 | }; |
osmeest | 0:1324e7d9d471 | 17 | |
osmeest | 0:1324e7d9d471 | 18 | #endif |