* Enabled the symbol visibility feature from gcc 4, reduces binary size and dynamic loading speed
* A lot of fixes to keep compatibility with older (0.6x) versions of libdbus * Moved the xml handling code from the library to the code generator * Rewrote the routine to generate introspection data * Autojunk cleanup git-svn-id: http://dev.openwengo.org/svn/openwengo/wengophone-ng/branches/wengophone-dbus-api/libs/dbus@12019 30a43799-04e7-0310-8b2b-ea0d24f86d0e
This commit is contained in:
parent
a8f5e819bd
commit
7c420f87cd
36 changed files with 287 additions and 172 deletions
|
@ -3,6 +3,10 @@
|
|||
#include <pthread.h>
|
||||
#include <signal.h>
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <dbus-c++/config.h>
|
||||
#endif
|
||||
|
||||
using namespace std;
|
||||
|
||||
static const char* ECHO_SERVER_NAME = "org.freedesktop.DBus.Examples.Echo";
|
||||
|
@ -58,7 +62,11 @@ int main()
|
|||
signal(SIGTERM, niam);
|
||||
signal(SIGINT, niam);
|
||||
|
||||
#ifdef DBUS_HAS_THREADS_INIT_DEFAULT
|
||||
DBus::_init_threading();
|
||||
#else
|
||||
cerr << "Thread support is not enabled! your D-Bus version is too old" << endl;
|
||||
#endif
|
||||
|
||||
DBus::default_dispatcher = &dispatcher;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue