204 dbus_error_init(&error);
210 dbus_connection_send_with_reply_and_block(
fBus, send,
230 Error(
"dbus_connection_send_with_reply_and_block: "+
string(error.message));
231 dbus_error_free(&error);
237 dbus_message_get_args(reply, 0, DBUS_TYPE_STRING, &ack, DBUS_TYPE_INVALID);
240 Info(
"RX: "+
string(ack));
242 const string rc = ack;
246 dbus_message_unref(send);
247 dbus_message_unref(reply);
DBusMessage * GetDBusMessage(const string &cmd)
int Error(const std::string &str)
int Info(const std::string &str)