Constructor

IdeTerminalLaunchernew

Declaration

IdeTerminalLauncher*
ide_terminal_launcher_new (
  IdeContext* context,
  IdeRunCommand* run_command
)

Description

Create an IdeTerminalLauncher that spawns run_command.

Parameters

context

Type: IdeContext

An IdeContext.

The data is owned by the caller of the function.
run_command

Type: IdeRunCommand

An IdeRunCommand to spawn.

The data is owned by the caller of the function.

Return value

Type: IdeTerminalLauncher

A newly created IdeTerminalLauncher.

The caller of the function takes ownership of the data, and is responsible for freeing it.