diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2013-07-02 18:32:11 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2013-07-02 18:32:11 +0200 |
commit | 5ec5bc2080bbc41e025fb98e6571a2c281b775cb (patch) | |
tree | a73cf2c57d306e6ce092996f70b29b8fbc0a006b /kbiff/led.h | |
download | kbiff-5ec5bc2080bbc41e025fb98e6571a2c281b775cb.tar.gz kbiff-5ec5bc2080bbc41e025fb98e6571a2c281b775cb.zip |
Initial import
Diffstat (limited to 'kbiff/led.h')
-rw-r--r-- | kbiff/led.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/kbiff/led.h b/kbiff/led.h new file mode 100644 index 0000000..169b7ea --- /dev/null +++ b/kbiff/led.h @@ -0,0 +1,40 @@ +/*************************************************************************** + led.h - description + ------------------- + begin : wo okt 8 2003 + copyright : (C) 2003 by Roeland Merks +*/ + +/*************************************************************************** + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + ***************************************************************************/ + +#ifndef LED_H +#define LED_H + +#include <fstream> + +/** + *@author Roeland Merks + */ + +class Led +{ +public: + Led(); + Led(const char *ledname); + ~Led(); + void On(); + void Off(); + +private: + std::ofstream *led; +}; + +#endif + |