~ubuntu-branches/ubuntu/wily/sflphone/wily

« back to all changes in this revision

Viewing changes to sflphone-common/src/dbus/README

  • Committer: Package Import Robot
  • Author(s): Francois Marier
  • Date: 2011-11-25 13:24:12 UTC
  • mfrom: (4.1.10 sid)
  • Revision ID: package-import@ubuntu.com-20111125132412-dc4qvhyosk74cd42
Tags: 1.0.1-4
Don't assume that arch:all packages will get built (closes: #649726)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
To build a new dbus interface:
2
 
 
3
 
1. Define the API with a xml file.
4
 
2. Generate the glue.h header by running "dbusxx-xml2cpp file.xml --adaptor=file.h"
5
 
3. Inheritate from that glue.h class in your code.
6
 
 
7
 
Examples:
8
 
dbusxx-xml2cpp callmanager-introspec.xml --adaptor=callmanager-glue.h
9
 
dbusxx-xml2cpp configurationmanager-introspec.xml --adaptor=configurationmanager-glue.h
10
 
dbusxx-xml2cpp contactmanager-introspec.xml --adaptor=contactmanager-glue.h