1 #pragma once
2 
3 #include <sdbusplus/bus.hpp>
4 #include <sdbusplus/server.hpp>
5 
6 #include "xyz/openbmc_project/State/Boot/Raw/server.hpp"
7 
8 /* The LPC snoop on port 80h is mapped to this dbus path. */
9 #define SNOOP_OBJECTPATH "/xyz/openbmc_project/state/boot/raw"
10 /* The LPC snoop on port 80h is mapped to this dbus service. */
11 #define SNOOP_BUSNAME "xyz.openbmc_project.State.Boot.Raw"
12 
13 template <typename... T>
14 using ServerObject = typename sdbusplus::server::object::object<T...>;
15 using PostInterface = sdbusplus::xyz::openbmc_project::State::Boot::server::Raw;
16 using PostObject = ServerObject<PostInterface>;
17 
18 class PostReporter : public PostObject
19 {
20   public:
21     PostReporter(sdbusplus::bus::bus& bus, const char* objPath, bool defer) :
22         PostObject(bus, objPath, defer)
23     {
24     }
25 };
26