blob: b889cbb970d55e0d3bd9de08b1dc150822956c1b [file] [log] [blame]
Matt Spinlere0017eb2018-03-27 11:17:38 -05001#pragma once
2
Matt Spinler4a6ea6a2018-03-27 14:25:12 -05003#include <com/ibm/Logging/Policy/server.hpp>
Matt Spinler433bead2018-04-23 11:08:03 -05004#include <xyz/openbmc_project/Object/Delete/server.hpp>
Matt Spinler4a6ea6a2018-03-27 14:25:12 -05005
Matt Spinlere0017eb2018-03-27 11:17:38 -05006namespace ibm
7{
8namespace logging
9{
10
Matt Spinler4a6ea6a2018-03-27 14:25:12 -050011template <typename... T>
12using ServerObject = typename sdbusplus::server::object::object<T...>;
13
Matt Spinler433bead2018-04-23 11:08:03 -050014using DeleteInterface = sdbusplus::xyz::openbmc_project::Object::server::Delete;
15using DeleteObject = ServerObject<DeleteInterface>;
16
Matt Spinler4a6ea6a2018-03-27 14:25:12 -050017using PolicyInterface = sdbusplus::com::ibm::Logging::server::Policy;
18using PolicyObject = ServerObject<PolicyInterface>;
19
Matt Spinlere0017eb2018-03-27 11:17:38 -050020enum class InterfaceType
21{
Matt Spinler433bead2018-04-23 11:08:03 -050022 POLICY,
23 DELETE
Matt Spinlere0017eb2018-03-27 11:17:38 -050024};
Matt Spinlere0017eb2018-03-27 11:17:38 -050025}
26}