blob: e6fdcde84d16d32cb5e77dceb0d632d7951071fe [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:
Pavithra Barithayaf93c4052023-04-26 23:28:13 -050013 virtual ~PropertyChangeListner() = default;
Lei YU415b9642017-02-09 11:37:26 +080014
Gunnar Millsab4cc6a2018-09-14 14:42:39 -050015 /** @brief Notified on time mode is changed */
16 virtual void onModeChanged(Mode mode) = 0;
Lei YU415b9642017-02-09 11:37:26 +080017};
18
Gunnar Millsab4cc6a2018-09-14 14:42:39 -050019} // namespace time
20} // namespace phosphor