2020-09-09 22:49:53 +02:00
|
|
|
// Copyright (c) Microsoft Corporation.
|
|
|
|
// Licensed under the MIT license.
|
|
|
|
|
|
|
|
import "GlobalAppSettings.idl";
|
|
|
|
import "Profile.idl";
|
2020-09-11 02:57:02 +02:00
|
|
|
import "TerminalWarnings.idl";
|
2020-09-09 22:49:53 +02:00
|
|
|
|
|
|
|
namespace TerminalApp
|
|
|
|
{
|
|
|
|
[default_interface] runtimeclass CascadiaSettings {
|
|
|
|
static CascadiaSettings LoadDefaults();
|
|
|
|
static CascadiaSettings LoadAll();
|
|
|
|
static CascadiaSettings LoadUniversal();
|
|
|
|
|
|
|
|
GlobalAppSettings GlobalSettings { get; };
|
|
|
|
|
|
|
|
Windows.Foundation.Collections.IObservableVector<Profile> Profiles { get; };
|
|
|
|
|
2020-09-14 22:38:56 +02:00
|
|
|
KeyMapping KeyMap { get; };
|
2020-09-09 22:49:53 +02:00
|
|
|
|
2020-09-11 02:57:02 +02:00
|
|
|
Windows.Foundation.Collections.IVectorView<SettingsLoadWarnings> Warnings { get; };
|
|
|
|
Windows.Foundation.IReference<SettingsLoadErrors> GetLoadingError { get; };
|
|
|
|
String GetSerializationErrorMessage { get; };
|
|
|
|
|
2020-09-09 22:49:53 +02:00
|
|
|
Profile FindProfile(Guid profileGuid);
|
|
|
|
ColorScheme GetColorSchemeForProfile(Guid profileGuid);
|
2020-09-14 22:38:56 +02:00
|
|
|
|
|
|
|
Guid GetProfileForArgs(NewTerminalArgs newTerminalArgs);
|
2020-09-09 22:49:53 +02:00
|
|
|
}
|
|
|
|
}
|