* Included config.h in all headers
* Don't define DBUS_API_SUBJECT_TO_CHANGE unless for old D-Bus versions * Use recursive mutex functions if libdbus supports it * Specify the path when adding match rules, otherwise messages wouldn't be forwarded to the right object under some circumstances * Added integration with the glib main loop (configure with --enable-glib) * Added a gtkmm dbus-browser clone to demonstrate glib integration * Fixed a typo in dbusxx-xml2cpp proxy output * Added python usage instructions for the Echo example git-svn-id: http://dev.openwengo.org/svn/openwengo/wengophone-ng/branches/wengophone-dbus-api/libs/dbus@10948 30a43799-04e7-0310-8b2b-ea0d24f86d0e
This commit is contained in:
parent
771ca71556
commit
48a1be9f2a
37 changed files with 427 additions and 23 deletions
|
@ -4,8 +4,7 @@ CXX = $(CXX_FOR_BUILD)
|
|||
|
||||
AM_CPPFLAGS = \
|
||||
$(dbus_CFLAGS) \
|
||||
-I$(top_srcdir)/include \
|
||||
-DDBUS_API_SUBJECT_TO_CHANGE
|
||||
-I$(top_srcdir)/include
|
||||
|
||||
if CROSS_COMPILING
|
||||
libdbus_cxx_la = $(BUILD_LIBDBUS_CXX_DIR)/src/libdbus-c++-1.la
|
||||
|
|
|
@ -25,6 +25,10 @@
|
|||
#ifndef __DBUSXX_TOOLS_INTROSPECT_H
|
||||
#define __DBUSXX_TOOLS_INTROSPECT_H
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include <dbus-c++/dbus.h>
|
||||
#include <string>
|
||||
|
||||
|
|
|
@ -353,7 +353,7 @@ void generate_proxy( Xml::Document& doc, const char* filename )
|
|||
if(arg_name.length())
|
||||
file << tab << tab << "wi << " << arg_name << ";" << endl;
|
||||
else
|
||||
file << tab << tab << "wi << argout" << j << ";" << endl;
|
||||
file << tab << tab << "wi << argin" << j << ";" << endl;
|
||||
}
|
||||
|
||||
file << tab << tab << "call.member(\"" << method.get("name") << "\");" << endl
|
||||
|
|
|
@ -25,6 +25,10 @@
|
|||
#ifndef __DBUSXX_TOOLS_XML2CPP_H
|
||||
#define __DBUSXX_TOOLS_XML2CPP_H
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include <dbus-c++/dbus.h>
|
||||
#include <dbus/dbus.h>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue