GroupStatePersistence.h 355 B

12345678910111213141516171819
  1. #include <GroupState.h>
  2. #ifndef _GROUP_STATE_PERSISTENCE_H
  3. #define _GROUP_STATE_PERSISTENCE_H
  4. class GroupStatePersistence {
  5. public:
  6. void get(const BulbId& id, GroupState& state);
  7. void set(const BulbId& id, const GroupState& state);
  8. void clear(const BulbId& id);
  9. private:
  10. static char* buildFilename(const BulbId& id, char* buffer);
  11. };
  12. #endif