2020-10-06 18:56:59 +02:00
|
|
|
// Copyright (c) Microsoft Corporation.
|
|
|
|
// Licensed under the MIT license.
|
|
|
|
|
|
|
|
import "KeyMapping.idl";
|
|
|
|
import "Profile.idl";
|
|
|
|
import "ColorScheme.idl";
|
|
|
|
import "TerminalWarnings.idl";
|
|
|
|
|
|
|
|
namespace Microsoft.Terminal.Settings.Model
|
|
|
|
{
|
|
|
|
[default_interface] runtimeclass Command : Windows.UI.Xaml.Data.INotifyPropertyChanged
|
|
|
|
{
|
|
|
|
Command();
|
|
|
|
|
|
|
|
String Name;
|
|
|
|
ActionAndArgs Action;
|
|
|
|
String KeyChordText;
|
|
|
|
|
2021-02-24 00:37:23 +01:00
|
|
|
String IconPath;
|
2020-10-06 18:56:59 +02:00
|
|
|
|
|
|
|
Boolean HasNestedCommands { get; };
|
|
|
|
Windows.Foundation.Collections.IMapView<String, Command> NestedCommands { get; };
|
|
|
|
|
|
|
|
static void ExpandCommands(Windows.Foundation.Collections.IMap<String, Command> commands,
|
|
|
|
Windows.Foundation.Collections.IVectorView<Profile> profiles,
|
|
|
|
Windows.Foundation.Collections.IVectorView<ColorScheme> schemes,
|
|
|
|
Windows.Foundation.Collections.IVector<SettingsLoadWarnings> warnings);
|
|
|
|
}
|
|
|
|
}
|