FACT++  1.0
bool SkypeClient::SendDBusMessageNB ( const string &  cmd)
inlineprivate

Definition at line 298 of file skypeclient.cc.

299  {
300  DBusMessage *send = GetDBusMessage(cmd);
301  if (!send)
302  return false;
303 
304  // Send the message and ignore the reply
305  Info("TX: "+cmd);
306  const bool rc = dbus_connection_send(fBus, send, NULL);
307 
308  // Show no interest in the previously created messages.
309  // DBus will delete a message if reference count drops to zero.
310  dbus_message_unref(send);
311 
312  return rc;
313  }
DBusMessage * GetDBusMessage(const string &cmd)
Definition: skypeclient.cc:252
DBusConnection * fBus
Definition: skypeclient.cc:26
int Info(const std::string &str)
Definition: MessageImp.h:47