89d82ff546
First step towards #8415: * Introduce `PaletteItem` and derive from it to provide native support for tabs and command lines (`ActionPaletteItem` / `TabPaletteItem`, `CommandLinePaltteItem`) * Remove business logic behind PaletteItem from palette (aka dispatch commands and preview tabs externally)
22 lines
521 B
Plaintext
22 lines
521 B
Plaintext
// Copyright (c) Microsoft Corporation.
|
|
// Licensed under the MIT license.
|
|
|
|
import "PaletteItem.idl";
|
|
import "HighlightedTextControl.idl";
|
|
|
|
namespace TerminalApp
|
|
{
|
|
[default_interface] runtimeclass FilteredCommand : Windows.UI.Xaml.Data.INotifyPropertyChanged
|
|
{
|
|
FilteredCommand();
|
|
FilteredCommand(PaletteItem item);
|
|
|
|
PaletteItem Item { get; };
|
|
String Filter;
|
|
HighlightedText HighlightedName { get; };
|
|
Int32 Weight;
|
|
|
|
void UpdateFilter(String filter);
|
|
}
|
|
}
|