gdbus-codegen: Add a mode to generate GDBusInterfaceInfo structures
@pwithnall
Submitted by Philip Withnall Link to original bug (#795304)
Description
Since the code generated by gdbus-codegen is typically only useful for trivial D-Bus services, I generally write my services by hand. This requires defining the GDBusInterfaceInfo structures in a header file, which is a pain. It’s a lot easier to write XML.
It would be nice if gdbus-codegen had a mode to turn XML into GDBusInterfaceInfo structures (only). Something like:
gdbus-codegen --interface-info --output my-interface.h --c-namespace Namespace my-interface.xml
Version: 2.56.x