summaryrefslogtreecommitdiffstats
path: root/property_change_listener.hpp
blob: a19a228a30f01f1a3e0e294ef69665b492cd593b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#pragma once

#include "types.hpp"

namespace phosphor
{
namespace time
{

class PropertyChangeListner
{
  public:
    virtual ~PropertyChangeListner()
    {
    }

    /** @brief Notified on time mode is changed */
    virtual void onModeChanged(Mode mode) = 0;

    /** @brief Notified on time owner is changed */
    virtual void onOwnerChanged(Owner owner) = 0;
};

} // namespace time
} // namespace phosphor
OpenPOWER on IntegriCloud