microsoft/vscode-react-native
Publicmirrored fromhttps://github.com/microsoft/vscode-react-nativeAvailable
src/extension/debuggingConfiguration/configurationProviders/baseConfigProvider.ts
20lines · modecode
| 1 | // Copyright (c) Microsoft Corporation. All rights reserved. |
| 2 | // Licensed under the MIT license. See LICENSE file in the project root for details. |
| 3 | |
| 4 | import { MultiStepInput, InputStep } from "../multiStepInput"; |
| 5 | import { DebugConfigurationState } from "../debugConfigTypesAndConstants"; |
| 6 | import { ConfigurationProviderHelper } from "../../../common/configurationProviderHelper"; |
| 7 | |
| 8 | export abstract class BaseConfigProvider { |
| 9 | protected configurationProviderHelper: ConfigurationProviderHelper; |
| 10 | protected maxStepCount: number; |
| 11 | |
| 12 | constructor() { |
| 13 | this.configurationProviderHelper = new ConfigurationProviderHelper(); |
| 14 | } |
| 15 | |
| 16 | public abstract buildConfiguration( |
| 17 | input: MultiStepInput<DebugConfigurationState>, |
| 18 | state: DebugConfigurationState, |
| 19 | ): Promise<InputStep<DebugConfigurationState> | void>; |
| 20 | } |
| 21 | |