Commit b0de8594cd70eac7d23ecbd15e9ef1d3f71575f5
Committed by
Moritz Wirger
1 parent
efd1ed5e
Add note that Bridge and Group in EntertainmentMode must stay alive.
Showing
1 changed file
with
3 additions
and
0 deletions
include/hueplusplus/EntertainmentMode.h
| ... | ... | @@ -40,6 +40,9 @@ public: |
| 40 | 40 | //! |
| 41 | 41 | //! \param b Bridge reference |
| 42 | 42 | //! \param g Group to control in entertainment mode reference |
| 43 | + //! | |
| 44 | + //! \note References are held to both \c b and \c g. | |
| 45 | + //! They must stay valid until EntertainmentMode ist destroyed. | |
| 43 | 46 | EntertainmentMode(Bridge& b, Group& g); |
| 44 | 47 | |
| 45 | 48 | //! \brief Destroy the Entertainment Mode object | ... | ... |