blob: 2c382f6e6b3d3abdb1630fc8d1fe7b57472c0546 [file] [log] [blame]
#pragma once
#include <chrono>
namespace phosphor
{
namespace time
{
class BmcTimeChangeListener
{
public:
virtual ~BmcTimeChangeListener() = default;
/** @brief Notified on bmc time is changed
*
* @param[in] bmcTime - The epoch time in microseconds
*/
virtual void onBmcTimeChanged(const std::chrono::microseconds& bmcTime) = 0;
};
} // namespace time
} // namespace phosphor