![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
A DTMF sequence editor and player for HAM radio equipment command & control.
dtmf_generator.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 _DTMF_GENERATOR_HPP |
osmeest | 0:1324e7d9d471 | 2 | #define _DTMF_GENERATOR_HPP |
osmeest | 0:1324e7d9d471 | 3 | |
osmeest | 0:1324e7d9d471 | 4 | #include <string> |
osmeest | 0:1324e7d9d471 | 5 | |
osmeest | 0:1324e7d9d471 | 6 | class DtmfGenerator { |
osmeest | 0:1324e7d9d471 | 7 | public: |
osmeest | 0:1324e7d9d471 | 8 | virtual void play(char ch) = 0; |
osmeest | 0:1324e7d9d471 | 9 | virtual void stop() = 0; |
osmeest | 0:1324e7d9d471 | 10 | |
osmeest | 0:1324e7d9d471 | 11 | virtual ~DtmfGenerator() {} |
osmeest | 0:1324e7d9d471 | 12 | }; |
osmeest | 0:1324e7d9d471 | 13 | |
osmeest | 0:1324e7d9d471 | 14 | #endif |