1 #pragma once
2 
3 #include "types.hpp"
4 
5 namespace phosphor
6 {
7 namespace time
8 {
9 
10 class PropertyChangeListner
11 {
12   public:
13     PropertyChangeListner() = default;
14     virtual ~PropertyChangeListner() = default;
15 
16     PropertyChangeListner(const PropertyChangeListner&) = delete;
17     PropertyChangeListner(PropertyChangeListner&&) = delete;
18     PropertyChangeListner& operator=(const PropertyChangeListner&) = delete;
19     PropertyChangeListner& operator=(PropertyChangeListner&&) = delete;
20 
21     /** @brief Notified on time mode is changed */
22     virtual void onModeChanged(Mode mode) = 0;
23 };
24 
25 } // namespace time
26 } // namespace phosphor
27