2020-06-26 22:38:02 +02:00
|
|
|
// Copyright (c) Microsoft Corporation.
|
|
|
|
// Licensed under the MIT license.
|
|
|
|
|
2020-08-21 00:44:37 +02:00
|
|
|
import "Command.idl";
|
2020-06-26 22:38:02 +02:00
|
|
|
|
|
|
|
namespace TerminalApp
|
|
|
|
{
|
2020-08-11 16:03:12 +02:00
|
|
|
[default_interface] runtimeclass CommandPalette : Windows.UI.Xaml.Controls.UserControl, Windows.UI.Xaml.Data.INotifyPropertyChanged
|
2020-06-26 22:38:02 +02:00
|
|
|
{
|
|
|
|
CommandPalette();
|
|
|
|
|
2020-08-11 16:03:12 +02:00
|
|
|
String NoMatchesText { get; };
|
|
|
|
String SearchBoxText { get; };
|
|
|
|
String ControlName { get; };
|
2020-08-18 21:32:17 +02:00
|
|
|
String ParentCommandName { get; };
|
2020-08-11 16:03:12 +02:00
|
|
|
|
2020-06-26 22:38:02 +02:00
|
|
|
Windows.Foundation.Collections.IObservableVector<Command> FilteredActions { get; };
|
|
|
|
|
2020-08-11 16:03:12 +02:00
|
|
|
void SetCommands(Windows.Foundation.Collections.IVector<Command> actions);
|
|
|
|
void EnableCommandPaletteMode();
|
2020-06-26 22:38:02 +02:00
|
|
|
|
|
|
|
void SetDispatch(ShortcutActionDispatch dispatch);
|
2020-08-11 16:03:12 +02:00
|
|
|
|
|
|
|
void EnableTabSwitcherMode(Windows.System.VirtualKey anchorKey, UInt32 startIdx);
|
|
|
|
void OnTabsChanged(IInspectable s, Windows.Foundation.Collections.IVectorChangedEventArgs e);
|
2020-06-26 22:38:02 +02:00
|
|
|
}
|
|
|
|
}
|