// Copyright (c) Microsoft Corporation
// Licensed under the MIT license.

namespace Microsoft.Terminal.Settings.Model
{
    // SettingsLoadWarnings are scenarios where the settings contained
    // information we knew was invalid, but we could recover from.
    enum SettingsLoadWarnings
    {
        MissingDefaultProfile = 0,
        DuplicateProfile = 1,
        UnknownColorScheme = 2,
        InvalidBackgroundImage = 3,
        InvalidIcon = 4,
        AtLeastOneKeybindingWarning = 5,
        TooManyKeysForChord = 6,
        MissingRequiredParameter = 7,
        LegacyGlobalsProperty = 8,
        FailedToParseCommandJson = 9,
        FailedToWriteToSettings = 10,
        InvalidColorSchemeInCmd = 11,
        InvalidSplitSize = 12,
        FailedToParseStartupActions = 13,
        FailedToParseSubCommands = 14,
        WARNINGS_SIZE // IMPORTANT: This MUST be the last value in this enum. It's an unused placeholder.
    };

    // SettingsLoadWarnings are scenarios where the settings had invalid state
    // that we could not recover from.
    enum SettingsLoadErrors
    {
        NoProfiles = 0,
        AllProfilesHidden = 1,
        ERRORS_SIZE // IMPORTANT: This MUST be the last value in this enum. It's an unused placeholder.
    };
}
