2596890212
This is me trying to merge5ff9a24
and75e2b5f
and LAWD it's impossible. But we don't really care, because we're gonna just toss out the locking from #11083 and instead move ApplicationState to the Monarch (in the future)
43 lines
1.2 KiB
Plaintext
43 lines
1.2 KiB
Plaintext
// Copyright (c) Microsoft Corporation.
|
|
// Licensed under the MIT license.
|
|
import "Command.idl";
|
|
import "GlobalAppSettings.idl";
|
|
|
|
namespace Microsoft.Terminal.Settings.Model
|
|
{
|
|
enum InfoBarMessage
|
|
{
|
|
CloseOnExitInfo = 0,
|
|
KeyboardServiceWarning
|
|
};
|
|
|
|
runtimeclass WindowLayout
|
|
{
|
|
WindowLayout();
|
|
|
|
static String ToJson(WindowLayout layout);
|
|
static WindowLayout FromJson(String json);
|
|
|
|
Windows.Foundation.Collections.IVector<ActionAndArgs> TabLayout;
|
|
Windows.Foundation.IReference<LaunchPosition> InitialPosition;
|
|
Windows.Foundation.IReference<Windows.Foundation.Size> InitialSize;
|
|
};
|
|
|
|
[default_interface] runtimeclass ApplicationState {
|
|
static ApplicationState SharedInstance();
|
|
|
|
void Reload();
|
|
|
|
Boolean IsStatePath(String filename);
|
|
|
|
Windows.Foundation.Collections.IVector<WindowLayout> PersistedWindowLayouts { get; set; };
|
|
|
|
Windows.Foundation.Collections.IVector<String> RecentCommands { get; set; };
|
|
|
|
Windows.Foundation.Collections.IVector<InfoBarMessage> DismissedMessages { get; set; };
|
|
|
|
Windows.Foundation.Collections.IVector<String> AllowedCommandlines { get; set; };
|
|
|
|
}
|
|
}
|