summaryrefslogtreecommitdiffstats
path: root/Led.hpp
diff options
context:
space:
mode:
authorNao Pross <naopross@thearcway.org>2018-04-10 16:28:48 +0200
committerNao Pross <naopross@thearcway.org>2018-04-10 16:28:48 +0200
commit5580da62728ffe353f50bddabd27b88aba8ac5f2 (patch)
treec4e34c47af058636b3867195fabc6617bb27cbd0 /Led.hpp
parentFirst commit (diff)
downloadSAMLiquidSmoke-5580da62728ffe353f50bddabd27b88aba8ac5f2.tar.gz
SAMLiquidSmoke-5580da62728ffe353f50bddabd27b88aba8ac5f2.zip
Add Led class implementation
Diffstat (limited to 'Led.hpp')
-rw-r--r--Led.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Led.hpp b/Led.hpp
index d4f4dcd..b082d7d 100644
--- a/Led.hpp
+++ b/Led.hpp
@@ -20,13 +20,13 @@ public:
Led() = delete;
virtual ~Led();
- Color color();
+ Color color() const;
void set(bool status);
- bool status() const;
+ bool state() const;
private:
- bool _status;
+ bool _state;
Color _color;
};