Add time Manager to handle property changes callback
1. Implement time::Manager who registers property change signal for time
mode and owner;
2. Add PropertyChangeListner interface to handle the callback;
3. Make EpochBase to implement the interface.
Change-Id: I185580ae37353e1ed82a47e4905fb22e269ac09d
Signed-off-by: Lei YU <mine260309@gmail.com>
diff --git a/test/TestBmcEpoch.cpp b/test/TestBmcEpoch.cpp
index da65b3e..2fd55a5 100644
--- a/test/TestBmcEpoch.cpp
+++ b/test/TestBmcEpoch.cpp
@@ -3,6 +3,7 @@
#include "bmc_epoch.hpp"
#include "config.h"
+#include "types.hpp"
namespace phosphor
{
@@ -13,9 +14,6 @@
class TestBmcEpoch : public testing::Test
{
public:
- using Mode = EpochBase::Mode;
- using Owner = EpochBase::Owner;
-
sdbusplus::bus::bus bus;
BmcEpoch bmcEpoch;