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 9 #ifndef LLDB_HOST_PROCESSLAUNCHER_H 10 #define LLDB_HOST_PROCESSLAUNCHER_H 11 12 namespace lldb_private { 13 14 class ProcessLaunchInfo; 15 class Status; 16 class HostProcess; 17 18 class ProcessLauncher { 19 public: ~ProcessLauncher()20 virtual ~ProcessLauncher() {} 21 virtual HostProcess LaunchProcess(const ProcessLaunchInfo &launch_info, 22 Status &error) = 0; 23 }; 24 } 25 26 #endif 27