670 dbus_error_init(&error);
672 fBus = dbus_bus_get(DBUS_BUS_SESSION, &error);
675 Error(
"dbus_bus_get failed: "+
string(error.message));
676 dbus_error_free(&error);
681 dbus_connection_setup_with_g_main(
fBus, NULL);
685 DBusObjectPathVTable vtable;
689 const dbus_bool_t check =
690 dbus_connection_register_object_path(
fBus,
"/com/Skype/Client",
694 Error(
"dbus_connection_register_object_path failed.");
T Get(const std::string &var)
int Error(const std::string &str)
static DBusHandlerResult NotifyHandler(DBusConnection *, DBusMessage *dbus_msg, void *user_data)