Exemplo n.º 1
0
nsresult
XRemoteClient::SendCommand (const char *aProgram, const char *aUsername,
                            const char *aProfile, const char *aCommand,
                            const char* aDesktopStartupID,
                            char **aResponse, bool *aWindowFound)
{
  PR_LOG(sRemoteLm, PR_LOG_DEBUG, ("XRemoteClient::SendCommand"));

  return SendCommandInternal(aProgram, aUsername, aProfile,
                             aCommand, 0, nullptr,
                             aDesktopStartupID,
                             aResponse, aWindowFound);
}
nsresult
XRemoteClient::SendCommandLine (const char *aProgram, const char *aUsername,
                                const char *aProfile,
                                PRInt32 argc, char **argv,
                                const char* aDesktopStartupID,
                                char **aResponse, PRBool *aWindowFound)
{
  PR_LOG(sRemoteLm, PR_LOG_DEBUG, ("XRemoteClient::SendCommandLine"));

  return SendCommandInternal(aProgram, aUsername, aProfile,
                             nsnull, argc, argv,
                             aDesktopStartupID,
                             aResponse, aWindowFound);
}