ProcessLauncher.h 735 B

1234567891011121314151617181920212223242526
  1. //===-- ProcessLauncher.h ---------------------------------------*- C++ -*-===//
  2. //
  3. // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
  4. // See https://llvm.org/LICENSE.txt for license information.
  5. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  6. //
  7. //===----------------------------------------------------------------------===//
  8. #ifndef LLDB_HOST_PROCESSLAUNCHER_H
  9. #define LLDB_HOST_PROCESSLAUNCHER_H
  10. namespace lldb_private {
  11. class ProcessLaunchInfo;
  12. class Status;
  13. class HostProcess;
  14. class ProcessLauncher {
  15. public:
  16. virtual ~ProcessLauncher() {}
  17. virtual HostProcess LaunchProcess(const ProcessLaunchInfo &launch_info,
  18. Status &error) = 0;
  19. };
  20. }
  21. #endif