Matt Spinler | e0017eb | 2018-03-27 11:17:38 -0500 | [diff] [blame] | 1 | #pragma once |
| 2 | |
Matt Spinler | 4a6ea6a | 2018-03-27 14:25:12 -0500 | [diff] [blame] | 3 | #include <com/ibm/Logging/Policy/server.hpp> |
Matt Spinler | 433bead | 2018-04-23 11:08:03 -0500 | [diff] [blame] | 4 | #include <xyz/openbmc_project/Object/Delete/server.hpp> |
Matt Spinler | 4a6ea6a | 2018-03-27 14:25:12 -0500 | [diff] [blame] | 5 | |
Matt Spinler | e0017eb | 2018-03-27 11:17:38 -0500 | [diff] [blame] | 6 | namespace ibm |
| 7 | { |
| 8 | namespace logging |
| 9 | { |
| 10 | |
Matt Spinler | 4a6ea6a | 2018-03-27 14:25:12 -0500 | [diff] [blame] | 11 | template <typename... T> |
| 12 | using ServerObject = typename sdbusplus::server::object::object<T...>; |
| 13 | |
Matt Spinler | 433bead | 2018-04-23 11:08:03 -0500 | [diff] [blame] | 14 | using DeleteInterface = sdbusplus::xyz::openbmc_project::Object::server::Delete; |
| 15 | using DeleteObject = ServerObject<DeleteInterface>; |
| 16 | |
Matt Spinler | 4a6ea6a | 2018-03-27 14:25:12 -0500 | [diff] [blame] | 17 | using PolicyInterface = sdbusplus::com::ibm::Logging::server::Policy; |
| 18 | using PolicyObject = ServerObject<PolicyInterface>; |
| 19 | |
Matt Spinler | e0017eb | 2018-03-27 11:17:38 -0500 | [diff] [blame] | 20 | enum class InterfaceType |
| 21 | { |
Matt Spinler | 433bead | 2018-04-23 11:08:03 -0500 | [diff] [blame] | 22 | POLICY, |
| 23 | DELETE |
Matt Spinler | e0017eb | 2018-03-27 11:17:38 -0500 | [diff] [blame] | 24 | }; |
Matt Spinler | e0017eb | 2018-03-27 11:17:38 -0500 | [diff] [blame] | 25 | } |
| 26 | } |