This PR adds a bit more information to each item in the Tray Icon's window selection submenu. Currently it only shows the window ID and window name if given one. Now each item will instead show`{Window ID} : {Active Tab Title} [{Window Name}]` ![image](https://user-images.githubusercontent.com/57155886/130883675-7a76e674-2429-4b26-b869-2455a9e4b4f6.png)
27 lines
1.1 KiB
Plaintext
27 lines
1.1 KiB
Plaintext
import "Peasant.idl";
|
|
import "Monarch.idl";
|
|
|
|
|
|
namespace Microsoft.Terminal.Remoting
|
|
{
|
|
[default_interface] runtimeclass WindowManager
|
|
{
|
|
WindowManager();
|
|
void ProposeCommandline(CommandlineArgs args);
|
|
Boolean ShouldCreateWindow { get; };
|
|
IPeasant CurrentWindow();
|
|
Boolean IsMonarch { get; };
|
|
void SummonWindow(SummonWindowSelectionArgs args);
|
|
void SummonAllWindows();
|
|
void RequestShowTrayIcon();
|
|
void RequestHideTrayIcon();
|
|
void UpdateActiveTabTitle(String title);
|
|
Boolean DoesQuakeWindowExist();
|
|
Windows.Foundation.Collections.IVectorView<PeasantInfo> GetPeasantInfos();
|
|
event Windows.Foundation.TypedEventHandler<Object, FindTargetWindowArgs> FindTargetWindowRequested;
|
|
event Windows.Foundation.TypedEventHandler<Object, Object> BecameMonarch;
|
|
event Windows.Foundation.TypedEventHandler<Object, Object> ShowTrayIconRequested;
|
|
event Windows.Foundation.TypedEventHandler<Object, Object> HideTrayIconRequested;
|
|
};
|
|
}
|