Commit 123906585e88f89a419103d61aa40e1a956b75b9
Fix merge conflict
Showing
1 changed file
with
8 additions
and
0 deletions
hueplusplus/include/Hue.h
| ... | ... | @@ -117,6 +117,14 @@ public: |
| 117 | 117 | //! \return A vector containing pointers pointing to every HueLight |
| 118 | 118 | std::vector<std::reference_wrapper<const HueLight>> getAllLights(); |
| 119 | 119 | |
| 120 | + //! Function that returns all light types that are associated with this bridge | |
| 121 | + //! \return A map mapping light id's to light types for every light | |
| 122 | + const std::map<uint8_t, ColorType>& getAllLightTypes(); | |
| 123 | + | |
| 124 | + //! Function that returns all lights that are associated with this bridge | |
| 125 | + //! \return A vector containing pointers pointing to every HueLight | |
| 126 | + std::vector<std::unique_ptr<HueLight>> getAllLights(); | |
| 127 | + | |
| 120 | 128 | private: |
| 121 | 129 | //! Function that refreshes the local \ref state of the Hue bridge |
| 122 | 130 | void refreshState(); | ... | ... |