blob: 6439d3ea94ea1068ef35f5d15a45ed92953eb4f7 [file] [log] [blame]
Lei YU415b9642017-02-09 11:37:26 +08001#pragma once
2
3#include "types.hpp"
4
5namespace phosphor
6{
7namespace time
8{
9
10class PropertyChangeListner
11{
Gunnar Millsab4cc6a2018-09-14 14:42:39 -050012 public:
13 virtual ~PropertyChangeListner()
George Liuc6d33972020-06-22 10:35:29 +080014 {}
Lei YU415b9642017-02-09 11:37:26 +080015
Gunnar Millsab4cc6a2018-09-14 14:42:39 -050016 /** @brief Notified on time mode is changed */
17 virtual void onModeChanged(Mode mode) = 0;
Lei YU415b9642017-02-09 11:37:26 +080018};
19
Gunnar Millsab4cc6a2018-09-14 14:42:39 -050020} // namespace time
21} // namespace phosphor