21 #ifndef __EDELIB_EDBUSCONNECTION_H__
22 #define __EDELIB_EDBUSCONNECTION_H__
24 #include "EdbusMessage.h"
25 #include "EdbusError.h"
39 #define EDBUS_INTROSPECTION_DTD \
40 "<!DOCTYPE node PUBLIC \"-//freedesktop//DTD D-BUS Object Introspection 1.0//EN\" \n" \
41 "\"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd\">\n\n"
157 void setup_filter(
void);
183 void disconnect(
void);
191 bool connected(
void);
244 const char* unique_name(
void);
270 void add_signal_match(
const char* path,
const char* interface,
const char* name);
281 void add_method_match(
const char* path,
const char* interface,
const char* name);
294 void register_object(
const char* path);
299 void unregister_object(
const char* path);
307 void setup_listener(
void);
313 void setup_listener_with_fltk(
void);
330 int wait(
int timeout_ms);
D-Bus connection and data sender.
Definition: EdbusConnection.h:154
Force replacement.
Definition: EdbusConnection.h:61
EdbusNameMode
What to do when known name is acquired.
Definition: EdbusConnection.h:58
System bus.
Definition: EdbusConnection.h:49
Existing name can be replaced.
Definition: EdbusConnection.h:60
Session bus.
Definition: EdbusConnection.h:50
Data transporter for D-Bus.
Definition: EdbusMessage.h:104
#define E_DISABLE_CLASS_COPY(klass)
Definition: edelib-global.h:161
Do not replace existing name.
Definition: EdbusConnection.h:59
int(* EdbusCallback)(const EdbusMessage *, void *)
Definition: EdbusConnection.h:68
EdbusConnectionType
Represents connection either to system or session bus.
Definition: EdbusConnection.h:48
A class representing D-Bus error.
Definition: EdbusError.h:70