regs: Add manager object
Create a manager object that extends the manager interface overriding
the configure and monitor methods. This provides the framework for
receiving dbus method calls at the appropriate times during a system
poweron or poweroff.
Tested:
Used `busctl` to call the configure method
Used `busctl` to call the monitor method
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Change-Id: I09db5a800a09205ba182824e62bacb19b10856bd
diff --git a/phosphor-regulators/src/meson.build b/phosphor-regulators/src/meson.build
index 98449fb..1bf0fb5 100644
--- a/phosphor-regulators/src/meson.build
+++ b/phosphor-regulators/src/meson.build
@@ -35,8 +35,10 @@
phosphor_regulators = executable(
'phosphor-regulators',
+ 'interfaces/manager_interface.cpp',
'journal.cpp',
'main.cpp',
+ 'manager.cpp',
dependencies: [
libi2c_dep,
phosphor_logging,