diff options
Diffstat (limited to 'Led.hpp')
-rw-r--r-- | Led.hpp | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/Led.hpp b/Led.hpp deleted file mode 100644 index b082d7d..0000000 --- a/Led.hpp +++ /dev/null @@ -1,34 +0,0 @@ -/* - * File: Led.hpp - * Author: _prossn - * - * Created on 10. aprile 2018, 16:07 - */ - -#ifndef LED_HPP -#define LED_HPP - -#include <string> - -class Led { -public: - enum class Color { - RED, GREEN, BLUE - }; - - Led(Color color); - Led() = delete; - virtual ~Led(); - - Color color() const; - - void set(bool status); - bool state() const; - -private: - bool _state; - Color _color; -}; - -#endif /* LED_HPP */ - |