~ubuntu-branches/ubuntu/trusty/sflphone/trusty

« back to all changes in this revision

Viewing changes to daemon/src/client/dbus/README

  • Committer: Package Import Robot
  • Author(s): Mark Purcell
  • Date: 2014-01-28 18:23:36 UTC
  • mfrom: (4.3.4 sid)
  • Revision ID: package-import@ubuntu.com-20140128182336-jrsv0k9u6cawc068
Tags: 1.3.0-1
* New upstream release 
  - Fixes "New Upstream Release" (Closes: #735846)
  - Fixes "Ringtone does not stop" (Closes: #727164)
  - Fixes "[sflphone-kde] crash on startup" (Closes: #718178)
  - Fixes "sflphone GUI crashes when call is hung up" (Closes: #736583)
* Build-Depends: ensure GnuTLS 2.6
  - libucommon-dev (>= 6.0.7-1.1), libccrtp-dev (>= 2.0.6-3)
  - Fixes "FTBFS Build-Depends libgnutls{26,28}-dev" (Closes: #722040)
* Fix "boost 1.49 is going away" unversioned Build-Depends: (Closes: #736746)
* Add Build-Depends: libsndfile-dev, nepomuk-core-dev

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
 
11
 
 
12
dbusxx-xml2cpp instance-introspec.xml --adaptor=instance-glue.h
 
13
 
 
14
Warning : depending on the dbusxx-xml2cpp version used, it can generate buggy code
 
15
 
 
16
code generated
 
17
 
 
18
::DBus::IntrospectedInterface *const introspect() const
 
19
 
 
20
instead of
 
21
 
 
22
::DBus::IntrospectedInterface *introspect() const
 
23
 
 
24
This issue is dealt with in make-swig.sh