blob: e5e82936b5fbda482315b9771d8310cb76be4ca5 [file] [log] [blame]
#pragma once
#include <com/ibm/Logging/Policy/server.hpp>
#include <xyz/openbmc_project/Object/Delete/server.hpp>
#include <xyz/openbmc_project/Collection/DeleteAll/server.hpp>
namespace ibm
{
namespace logging
{
template <typename... T>
using ServerObject = typename sdbusplus::server::object::object<T...>;
using DeleteInterface = sdbusplus::xyz::openbmc_project::Object::server::Delete;
using DeleteObject = ServerObject<DeleteInterface>;
using DeleteAllInterface =
sdbusplus::xyz::openbmc_project::Collection::server::DeleteAll;
using DeleteAllObject = ServerObject<DeleteAllInterface>;
using PolicyInterface = sdbusplus::com::ibm::Logging::server::Policy;
using PolicyObject = ServerObject<PolicyInterface>;
enum class InterfaceType
{
POLICY,
DELETE
};
}
}