To build a new dbus interface: | |
1. Define the API with a xml file. | |
2. Generate the glue.h header by running "dbusxx-xml2cpp file.xml --adaptor=file.h" | |
3. Inheritate from that glue.h class in your code. | |
Examples: | |
dbusxx-xml2cpp callmanager-introspec.xml --adaptor=callmanager-glue.h | |
dbusxx-xml2cpp configurationmanager-introspec.xml --adaptor=configurationmanager-glue.h | |
dbusxx-xml2cpp contactmanager-introspec.xml --adaptor=contactmanager-glue.h |