blob: 16f7f43aae2b3b2f41638173a46b9f317f3ed0f1 [file] [log] [blame]
#include <sdbusplus/bus.hpp>
#include <sdbusplus/message.hpp>
#include <${"/".join(interface.name.split('.') + [ 'server.hpp' ])}>
<%
namespaces = interface.name.split('.')
classname = namespaces.pop()
%>
namespace sdbusplus
{
namespace server
{
% for s in namespaces:
namespace ${s}
{
% endfor
% for m in interface.methods:
${ m.cpp_prototype(loader, interface=interface, ptype='callback-cpp') }
% endfor
% for s in namespaces:
} // namespace ${s}
% endfor
} // namespace server
} // namespace sdbusplus