Commit 1388003d8a725c667d01bd56d6177072a5e86e80
Committed by
Moritz Wirger
1 parent
5f7e4699
Add new function in HueLight
- add function for getting the id of a light
Showing
2 changed files
with
10 additions
and
0 deletions
hueplusplus/HueLight.cpp
hueplusplus/include/HueLight.h
| ... | ... | @@ -135,6 +135,11 @@ public: |
| 135 | 135 | //! \return String containig the name of the light |
| 136 | 136 | std::string getName() const; |
| 137 | 137 | |
| 138 | + //! \brief Const function that returns the id of this light | |
| 139 | + //! | |
| 140 | + //! \return integer representing the light id | |
| 141 | + int getId() const; | |
| 142 | + | |
| 138 | 143 | //! \brief Function that sets the name of the light |
| 139 | 144 | //! |
| 140 | 145 | //! \return Bool that is true on success | ... | ... |