blob: 44fc4790a692dd0b33cff73e29a3c990347803c7 [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;
};
}
}