blob: d34fcf0592daf2e417324bb54a93dd84765bfe54 [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()
14 {
15 }
Lei YU415b9642017-02-09 11:37:26 +080016
Gunnar Millsab4cc6a2018-09-14 14:42:39 -050017 /** @brief Notified on time mode is changed */
18 virtual void onModeChanged(Mode mode) = 0;
Lei YU415b9642017-02-09 11:37:26 +080019};
20
Gunnar Millsab4cc6a2018-09-14 14:42:39 -050021} // namespace time
22} // namespace phosphor