forgot stuff at last commit
This commit is contained in:
parent
14ff30abdf
commit
7db1248454
48 changed files with 18 additions and 81 deletions
|
@ -64,11 +64,7 @@ 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;
|
||||
|
||||
|
|
|
@ -6,12 +6,15 @@
|
|||
|
||||
#include <xml.h>
|
||||
#include <iostream>
|
||||
#include <vector>
|
||||
|
||||
using namespace std;
|
||||
|
||||
static const char* DBUS_SERVER_NAME = "org.freedesktop.DBus";
|
||||
static const char* DBUS_SERVER_PATH = "/org/freedesktop/DBus";
|
||||
|
||||
typedef vector <string> Names;
|
||||
|
||||
DBusBrowser::DBusBrowser( ::DBus::Connection& conn )
|
||||
: ::DBus::ObjectProxy(conn, DBUS_SERVER_PATH, DBUS_SERVER_NAME)
|
||||
{
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
#include "dbus_ecore-glue.h"
|
||||
|
||||
class DBusBrowser
|
||||
: public org::freedesktop::DBus,
|
||||
: public org::freedesktop::DBus_proxy,
|
||||
public DBus::IntrospectableProxy,
|
||||
public DBus::ObjectProxy
|
||||
{
|
||||
|
|
|
@ -1,14 +1,13 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include "dbus-browser.h"
|
||||
|
||||
#include <xml.h>
|
||||
#include <iostream>
|
||||
#include <vector>
|
||||
|
||||
using namespace std;
|
||||
|
||||
typedef vector <string> Names;
|
||||
|
||||
static const char *DBUS_SERVER_NAME = "org.freedesktop.DBus";
|
||||
static const char *DBUS_SERVER_PATH = "/org/freedesktop/DBus";
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ public:
|
|||
};
|
||||
|
||||
class DBusBrowser
|
||||
: public org::freedesktop::DBus,
|
||||
: public org::freedesktop::DBus_proxy,
|
||||
public DBus::IntrospectableProxy,
|
||||
public DBus::ObjectProxy,
|
||||
public Gtk::Window
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue