blob: de23f477a0c03d0fc63a28bb5444ec1c3a3efade [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{
12 public:
13 virtual ~PropertyChangeListner() {}
14
15 /** @brief Notified on time mode is changed */
16 virtual void onModeChanged(Mode mode) = 0;
17
18 /** @brief Notified on time owner is changed */
19 virtual void onOwnerChanged(Owner owner) = 0;
20};
21
22}
23}