// 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 environment, UInt32 rows, UInt32 columns, Guid guid); }; }