summaryrefslogtreecommitdiffstats
path: root/property_change_listener.hpp
blob: de23f477a0c03d0fc63a28bb5444ec1c3a3efade (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#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;
};

}
}
OpenPOWER on IntegriCloud