17 lines
500 B
Dart
17 lines
500 B
Dart
import '../../about/internal/application/DeploymentRecord.dart';
|
|
import '../../about/internal/application/ServerProfile.dart';
|
|
|
|
abstract class ConnectHome {
|
|
/// The dashboard's data, freshly read from storage.
|
|
void onDashboardLoaded(
|
|
List<ServerProfile> servers,
|
|
List<DeploymentRecord> history,
|
|
);
|
|
|
|
/// A server was saved; [server] is the stored version.
|
|
void onServerSaved(ServerProfile server);
|
|
|
|
/// The theme preference changed to [mode].
|
|
void onThemeChanged(String mode);
|
|
}
|