2022-02-07 02:18:42 +00:00
|
|
|
import 'veilid.dart';
|
|
|
|
|
|
|
|
import 'dart:js';
|
|
|
|
import 'dart:async';
|
|
|
|
import 'dart:typed_data';
|
|
|
|
|
|
|
|
//////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
Veilid getVeilid() => VeilidJS();
|
|
|
|
|
2022-02-14 02:09:43 +00:00
|
|
|
class VeilidJS implements Veilid {
|
2022-03-04 01:45:39 +00:00
|
|
|
@override
|
2022-02-14 02:09:43 +00:00
|
|
|
Stream<VeilidUpdate> startupVeilidCore(VeilidConfig config) {
|
2022-02-07 02:18:42 +00:00
|
|
|
throw UnimplementedError();
|
|
|
|
}
|
|
|
|
|
2022-03-04 01:45:39 +00:00
|
|
|
@override
|
2022-02-07 02:18:42 +00:00
|
|
|
Future<VeilidState> getVeilidState() {
|
|
|
|
throw UnimplementedError();
|
|
|
|
}
|
|
|
|
|
2022-03-04 01:45:39 +00:00
|
|
|
@override
|
2022-02-14 02:09:43 +00:00
|
|
|
Future<void> changeApiLogLevel(VeilidConfigLogLevel logLevel) {
|
2022-02-07 02:18:42 +00:00
|
|
|
throw UnimplementedError();
|
|
|
|
}
|
2022-02-09 14:47:36 +00:00
|
|
|
|
2022-03-04 01:45:39 +00:00
|
|
|
@override
|
2022-02-07 02:18:42 +00:00
|
|
|
Future<void> shutdownVeilidCore() {
|
|
|
|
throw UnimplementedError();
|
|
|
|
}
|
|
|
|
|
2022-03-04 01:45:39 +00:00
|
|
|
@override
|
|
|
|
Future<String> debug(String command) {
|
|
|
|
throw UnimplementedError();
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
2022-02-14 02:09:43 +00:00
|
|
|
String veilidVersionString() {
|
2022-02-07 02:18:42 +00:00
|
|
|
throw UnimplementedError();
|
|
|
|
}
|
|
|
|
|
2022-03-04 01:45:39 +00:00
|
|
|
@override
|
2022-02-14 02:09:43 +00:00
|
|
|
VeilidVersion veilidVersion() {
|
2022-02-07 02:18:42 +00:00
|
|
|
throw UnimplementedError();
|
|
|
|
}
|
|
|
|
}
|