30 lines
1.2 KiB
Plaintext
30 lines
1.2 KiB
Plaintext
// Copyright (c) Microsoft Corporation.
|
|
// Licensed under the MIT license.
|
|
|
|
import "ITerminalConnection.idl";
|
|
|
|
namespace Microsoft.Terminal.TerminalConnection
|
|
{
|
|
delegate void NewConnectionHandler(ConptyConnection connection);
|
|
|
|
[default_interface] runtimeclass ConptyConnection : ITerminalConnection
|
|
{
|
|
ConptyConnection();
|
|
Guid Guid { get; };
|
|
String Commandline { get; };
|
|
void ClearBuffer();
|
|
|
|
static event NewConnectionHandler NewConnection;
|
|
static void StartInboundListener();
|
|
static void StopInboundListener();
|
|
|
|
static Windows.Foundation.Collections.ValueSet CreateSettings(String cmdline,
|
|
String startingDirectory,
|
|
String startingTitle,
|
|
IMapView<String, String> environment,
|
|
UInt32 rows,
|
|
UInt32 columns,
|
|
Guid guid);
|
|
};
|
|
}
|