Lei YU | 415b964 | 2017-02-09 11:37:26 +0800 | [diff] [blame] | 1 | #pragma once |
2 | |||||
3 | #include "types.hpp" | ||||
4 | |||||
5 | namespace phosphor | ||||
6 | { | ||||
7 | namespace time | ||||
8 | { | ||||
9 | |||||
10 | class PropertyChangeListner | ||||
11 | { | ||||
Gunnar Mills | ab4cc6a | 2018-09-14 14:42:39 -0500 | [diff] [blame] | 12 | public: |
13 | virtual ~PropertyChangeListner() | ||||
George Liu | c6d3397 | 2020-06-22 10:35:29 +0800 | [diff] [blame] | 14 | {} |
Lei YU | 415b964 | 2017-02-09 11:37:26 +0800 | [diff] [blame] | 15 | |
Gunnar Mills | ab4cc6a | 2018-09-14 14:42:39 -0500 | [diff] [blame] | 16 | /** @brief Notified on time mode is changed */ |
17 | virtual void onModeChanged(Mode mode) = 0; | ||||
Lei YU | 415b964 | 2017-02-09 11:37:26 +0800 | [diff] [blame] | 18 | }; |
19 | |||||
Gunnar Mills | ab4cc6a | 2018-09-14 14:42:39 -0500 | [diff] [blame] | 20 | } // namespace time |
21 | } // namespace phosphor |