17 lines
640 B
Dart
17 lines
640 B
Dart
import '../../about/external/data/EnvCheck.dart';
|
|
|
|
abstract class ConnectConfiguration {
|
|
/// The environment scan finished: the detected package manager and the
|
|
/// version string found for each tool (empty when absent).
|
|
void onEnvironmentProbed(String packageManager, Map<String, String> versions);
|
|
|
|
/// The scan failed.
|
|
void onProbeFailed(String message);
|
|
|
|
/// The exact command that would install [tool], for the user to confirm.
|
|
void onInstallCommandReady(EnvTool tool, String command);
|
|
|
|
/// [tool] finished installing; [version] is its freshly re-probed version.
|
|
void onToolInstalled(EnvTool tool, String version);
|
|
}
|