Esempio n. 1
0
// Carries out the command, possibly by sending it to the server.
// If the client is controlled via the API, the setClientOuput method
// is invoked to update the client with the command output for access
// via the API.
void DebuggerCommand::onClient(DebuggerClient &client) {
  TRACE(2, "DebuggerCommand::onClient\n");
  onClientImpl(client);
  if (client.isApiMode() && !m_incomplete) {
    setClientOutput(client);
  }
}
Esempio n. 2
0
bool DebuggerCommand::onClient(DebuggerClient *client) {
  TRACE(2, "DebuggerCommand::onClient\n");
  bool ret = onClientImpl(client);
  if (client->isApiMode() && !m_incomplete) {
    setClientOutput(client);
  }
  return ret;
}