1#include <${events.headerFile("event")}>
2#include <nlohmann/json.hpp>
3
4%if events.errors:
5
6namespace sdbusplus::error::${events.cppNamespacedClass()}
7{
8% for e in events.errors:
9
10${events.render(loader, "event.cpp.mako", events=events, event=e)}\
11% endfor
12
13} // namespace sdbusplus::error::${events.cppNamespacedClass()}
14%endif
15%if events.errors:
16
17namespace sdbusplus::event::${events.cppNamespacedClass()}
18{
19% for e in events.events:
20
21${events.render(loader, "event.cpp.mako", events=events, event=e)}\
22% endfor
23
24} // namespace sdbusplus::event::${events.cppNamespacedClass()}
25%endif
26