mirror of
https://mirror.ghproxy.com/https://github.com/StarCitizenToolBox/app.git
synced 2024-12-23 06:33:43 +08:00
bump: flutter_rust_bridge 2.0.0-dev.37
This commit is contained in:
parent
56d4988cfc
commit
20227fbd4b
@ -1,5 +1,5 @@
|
|||||||
// This file is automatically generated, so please do not edit it.
|
// This file is automatically generated, so please do not edit it.
|
||||||
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.36.
|
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.37.
|
||||||
|
|
||||||
// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import
|
// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import
|
||||||
|
|
||||||
@ -7,9 +7,9 @@ import '../frb_generated.dart';
|
|||||||
import 'package:flutter_rust_bridge/flutter_rust_bridge_for_generated.dart';
|
import 'package:flutter_rust_bridge/flutter_rust_bridge_for_generated.dart';
|
||||||
|
|
||||||
Future<RsiLauncherAsarData> getRsiLauncherAsarData(
|
Future<RsiLauncherAsarData> getRsiLauncherAsarData(
|
||||||
{required String asarPath, dynamic hint}) =>
|
{required String asarPath}) =>
|
||||||
RustLib.instance.api
|
RustLib.instance.api
|
||||||
.crateApiAsarApiGetRsiLauncherAsarData(asarPath: asarPath, hint: hint);
|
.crateApiAsarApiGetRsiLauncherAsarData(asarPath: asarPath);
|
||||||
|
|
||||||
class RsiLauncherAsarData {
|
class RsiLauncherAsarData {
|
||||||
final String asarPath;
|
final String asarPath;
|
||||||
@ -22,9 +22,9 @@ class RsiLauncherAsarData {
|
|||||||
required this.mainJsContent,
|
required this.mainJsContent,
|
||||||
});
|
});
|
||||||
|
|
||||||
Future<void> writeMainJs({required List<int> content, dynamic hint}) =>
|
Future<void> writeMainJs({required List<int> content}) =>
|
||||||
RustLib.instance.api.crateApiAsarApiRsiLauncherAsarDataWriteMainJs(
|
RustLib.instance.api.crateApiAsarApiRsiLauncherAsarDataWriteMainJs(
|
||||||
that: this, content: content, hint: hint);
|
that: this, content: content);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
int get hashCode =>
|
int get hashCode =>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// This file is automatically generated, so please do not edit it.
|
// This file is automatically generated, so please do not edit it.
|
||||||
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.36.
|
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.37.
|
||||||
|
|
||||||
// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import
|
// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import
|
||||||
|
|
||||||
@ -7,31 +7,29 @@ import '../frb_generated.dart';
|
|||||||
import '../http_package.dart';
|
import '../http_package.dart';
|
||||||
import 'package:flutter_rust_bridge/flutter_rust_bridge_for_generated.dart';
|
import 'package:flutter_rust_bridge/flutter_rust_bridge_for_generated.dart';
|
||||||
|
|
||||||
Future<void> setDefaultHeader(
|
// The functions `_my_method_to_hyper_method` are not `pub`, thus are ignored.
|
||||||
{required Map<String, String> headers, dynamic hint}) =>
|
|
||||||
RustLib.instance.api
|
Future<void> setDefaultHeader({required Map<String, String> headers}) =>
|
||||||
.crateApiHttpApiSetDefaultHeader(headers: headers, hint: hint);
|
RustLib.instance.api.crateApiHttpApiSetDefaultHeader(headers: headers);
|
||||||
|
|
||||||
Future<RustHttpResponse> fetch(
|
Future<RustHttpResponse> fetch(
|
||||||
{required MyMethod method,
|
{required MyMethod method,
|
||||||
required String url,
|
required String url,
|
||||||
Map<String, String>? headers,
|
Map<String, String>? headers,
|
||||||
Uint8List? inputData,
|
Uint8List? inputData,
|
||||||
String? withIpAddress,
|
String? withIpAddress}) =>
|
||||||
dynamic hint}) =>
|
|
||||||
RustLib.instance.api.crateApiHttpApiFetch(
|
RustLib.instance.api.crateApiHttpApiFetch(
|
||||||
method: method,
|
method: method,
|
||||||
url: url,
|
url: url,
|
||||||
headers: headers,
|
headers: headers,
|
||||||
inputData: inputData,
|
inputData: inputData,
|
||||||
withIpAddress: withIpAddress,
|
withIpAddress: withIpAddress);
|
||||||
hint: hint);
|
|
||||||
|
|
||||||
Future<List<String>> dnsLookupTxt({required String host, dynamic hint}) =>
|
Future<List<String>> dnsLookupTxt({required String host}) =>
|
||||||
RustLib.instance.api.crateApiHttpApiDnsLookupTxt(host: host, hint: hint);
|
RustLib.instance.api.crateApiHttpApiDnsLookupTxt(host: host);
|
||||||
|
|
||||||
Future<List<String>> dnsLookupIps({required String host, dynamic hint}) =>
|
Future<List<String>> dnsLookupIps({required String host}) =>
|
||||||
RustLib.instance.api.crateApiHttpApiDnsLookupIps(host: host, hint: hint);
|
RustLib.instance.api.crateApiHttpApiDnsLookupIps(host: host);
|
||||||
|
|
||||||
enum MyMethod {
|
enum MyMethod {
|
||||||
options,
|
options,
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// This file is automatically generated, so please do not edit it.
|
// This file is automatically generated, so please do not edit it.
|
||||||
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.36.
|
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.37.
|
||||||
|
|
||||||
// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import
|
// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import
|
||||||
|
|
||||||
@ -7,21 +7,19 @@ import '../frb_generated.dart';
|
|||||||
import 'package:flutter_rust_bridge/flutter_rust_bridge_for_generated.dart';
|
import 'package:flutter_rust_bridge/flutter_rust_bridge_for_generated.dart';
|
||||||
|
|
||||||
// The type `RsProcess` is not used by any `pub` functions, thus it is ignored.
|
// The type `RsProcess` is not used by any `pub` functions, thus it is ignored.
|
||||||
|
// The functions `_process_output`, `clone` are not `pub`, thus are ignored.
|
||||||
|
|
||||||
Stream<RsProcessStreamData> start(
|
Stream<RsProcessStreamData> start(
|
||||||
{required String executable,
|
{required String executable,
|
||||||
required List<String> arguments,
|
required List<String> arguments,
|
||||||
required String workingDirectory,
|
required String workingDirectory}) =>
|
||||||
dynamic hint}) =>
|
|
||||||
RustLib.instance.api.crateApiRsProcessStart(
|
RustLib.instance.api.crateApiRsProcessStart(
|
||||||
executable: executable,
|
executable: executable,
|
||||||
arguments: arguments,
|
arguments: arguments,
|
||||||
workingDirectory: workingDirectory,
|
workingDirectory: workingDirectory);
|
||||||
hint: hint);
|
|
||||||
|
|
||||||
Future<void> write({required int rsPid, required String data, dynamic hint}) =>
|
Future<void> write({required int rsPid, required String data}) =>
|
||||||
RustLib.instance.api
|
RustLib.instance.api.crateApiRsProcessWrite(rsPid: rsPid, data: data);
|
||||||
.crateApiRsProcessWrite(rsPid: rsPid, data: data, hint: hint);
|
|
||||||
|
|
||||||
class RsProcessStreamData {
|
class RsProcessStreamData {
|
||||||
final RsProcessStreamDataType dataType;
|
final RsProcessStreamDataType dataType;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// This file is automatically generated, so please do not edit it.
|
// This file is automatically generated, so please do not edit it.
|
||||||
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.36.
|
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.37.
|
||||||
|
|
||||||
// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import
|
// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import
|
||||||
|
|
||||||
@ -7,18 +7,10 @@ import '../frb_generated.dart';
|
|||||||
import 'package:flutter_rust_bridge/flutter_rust_bridge_for_generated.dart';
|
import 'package:flutter_rust_bridge/flutter_rust_bridge_for_generated.dart';
|
||||||
|
|
||||||
Future<void> sendNotify(
|
Future<void> sendNotify(
|
||||||
{String? summary,
|
{String? summary, String? body, String? appName, String? appId}) =>
|
||||||
String? body,
|
|
||||||
String? appName,
|
|
||||||
String? appId,
|
|
||||||
dynamic hint}) =>
|
|
||||||
RustLib.instance.api.crateApiWin32ApiSendNotify(
|
RustLib.instance.api.crateApiWin32ApiSendNotify(
|
||||||
summary: summary,
|
summary: summary, body: body, appName: appName, appId: appId);
|
||||||
body: body,
|
|
||||||
appName: appName,
|
|
||||||
appId: appId,
|
|
||||||
hint: hint);
|
|
||||||
|
|
||||||
Future<bool> setForegroundWindow({required String windowName, dynamic hint}) =>
|
Future<bool> setForegroundWindow({required String windowName}) =>
|
||||||
RustLib.instance.api.crateApiWin32ApiSetForegroundWindow(
|
RustLib.instance.api
|
||||||
windowName: windowName, hint: hint);
|
.crateApiWin32ApiSetForegroundWindow(windowName: windowName);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// This file is automatically generated, so please do not edit it.
|
// This file is automatically generated, so please do not edit it.
|
||||||
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.36.
|
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.37.
|
||||||
|
|
||||||
// ignore_for_file: unused_import, unused_element, unnecessary_import, duplicate_ignore, invalid_use_of_internal_member, annotate_overrides, non_constant_identifier_names, curly_braces_in_flow_control_structures, prefer_const_literals_to_create_immutables, unused_field
|
// ignore_for_file: unused_import, unused_element, unnecessary_import, duplicate_ignore, invalid_use_of_internal_member, annotate_overrides, non_constant_identifier_names, curly_braces_in_flow_control_structures, prefer_const_literals_to_create_immutables, unused_field
|
||||||
|
|
||||||
@ -55,7 +55,7 @@ class RustLib extends BaseEntrypoint<RustLibApi, RustLibApiImpl, RustLibWire> {
|
|||||||
kDefaultExternalLibraryLoaderConfig;
|
kDefaultExternalLibraryLoaderConfig;
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get codegenVersion => '2.0.0-dev.36';
|
String get codegenVersion => '2.0.0-dev.37';
|
||||||
|
|
||||||
@override
|
@override
|
||||||
int get rustContentHash => 1832496273;
|
int get rustContentHash => 1832496273;
|
||||||
@ -70,48 +70,38 @@ class RustLib extends BaseEntrypoint<RustLibApi, RustLibApiImpl, RustLibWire> {
|
|||||||
|
|
||||||
abstract class RustLibApi extends BaseApi {
|
abstract class RustLibApi extends BaseApi {
|
||||||
Future<RsiLauncherAsarData> crateApiAsarApiGetRsiLauncherAsarData(
|
Future<RsiLauncherAsarData> crateApiAsarApiGetRsiLauncherAsarData(
|
||||||
{required String asarPath, dynamic hint});
|
{required String asarPath});
|
||||||
|
|
||||||
Future<void> crateApiAsarApiRsiLauncherAsarDataWriteMainJs(
|
Future<void> crateApiAsarApiRsiLauncherAsarDataWriteMainJs(
|
||||||
{required RsiLauncherAsarData that,
|
{required RsiLauncherAsarData that, required List<int> content});
|
||||||
required List<int> content,
|
|
||||||
dynamic hint});
|
|
||||||
|
|
||||||
Future<List<String>> crateApiHttpApiDnsLookupIps(
|
Future<List<String>> crateApiHttpApiDnsLookupIps({required String host});
|
||||||
{required String host, dynamic hint});
|
|
||||||
|
|
||||||
Future<List<String>> crateApiHttpApiDnsLookupTxt(
|
Future<List<String>> crateApiHttpApiDnsLookupTxt({required String host});
|
||||||
{required String host, dynamic hint});
|
|
||||||
|
|
||||||
Future<RustHttpResponse> crateApiHttpApiFetch(
|
Future<RustHttpResponse> crateApiHttpApiFetch(
|
||||||
{required MyMethod method,
|
{required MyMethod method,
|
||||||
required String url,
|
required String url,
|
||||||
Map<String, String>? headers,
|
Map<String, String>? headers,
|
||||||
Uint8List? inputData,
|
Uint8List? inputData,
|
||||||
String? withIpAddress,
|
String? withIpAddress});
|
||||||
dynamic hint});
|
|
||||||
|
|
||||||
Future<void> crateApiHttpApiSetDefaultHeader(
|
Future<void> crateApiHttpApiSetDefaultHeader(
|
||||||
{required Map<String, String> headers, dynamic hint});
|
{required Map<String, String> headers});
|
||||||
|
|
||||||
Stream<RsProcessStreamData> crateApiRsProcessStart(
|
Stream<RsProcessStreamData> crateApiRsProcessStart(
|
||||||
{required String executable,
|
{required String executable,
|
||||||
required List<String> arguments,
|
required List<String> arguments,
|
||||||
required String workingDirectory,
|
required String workingDirectory});
|
||||||
dynamic hint});
|
|
||||||
|
|
||||||
Future<void> crateApiRsProcessWrite(
|
Future<void> crateApiRsProcessWrite(
|
||||||
{required int rsPid, required String data, dynamic hint});
|
{required int rsPid, required String data});
|
||||||
|
|
||||||
Future<void> crateApiWin32ApiSendNotify(
|
Future<void> crateApiWin32ApiSendNotify(
|
||||||
{String? summary,
|
{String? summary, String? body, String? appName, String? appId});
|
||||||
String? body,
|
|
||||||
String? appName,
|
|
||||||
String? appId,
|
|
||||||
dynamic hint});
|
|
||||||
|
|
||||||
Future<bool> crateApiWin32ApiSetForegroundWindow(
|
Future<bool> crateApiWin32ApiSetForegroundWindow(
|
||||||
{required String windowName, dynamic hint});
|
{required String windowName});
|
||||||
}
|
}
|
||||||
|
|
||||||
class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi {
|
class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi {
|
||||||
@ -124,7 +114,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi {
|
|||||||
|
|
||||||
@override
|
@override
|
||||||
Future<RsiLauncherAsarData> crateApiAsarApiGetRsiLauncherAsarData(
|
Future<RsiLauncherAsarData> crateApiAsarApiGetRsiLauncherAsarData(
|
||||||
{required String asarPath, dynamic hint}) {
|
{required String asarPath}) {
|
||||||
return handler.executeNormal(NormalTask(
|
return handler.executeNormal(NormalTask(
|
||||||
callFfi: (port_) {
|
callFfi: (port_) {
|
||||||
var arg0 = cst_encode_String(asarPath);
|
var arg0 = cst_encode_String(asarPath);
|
||||||
@ -138,7 +128,6 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi {
|
|||||||
constMeta: kCrateApiAsarApiGetRsiLauncherAsarDataConstMeta,
|
constMeta: kCrateApiAsarApiGetRsiLauncherAsarDataConstMeta,
|
||||||
argValues: [asarPath],
|
argValues: [asarPath],
|
||||||
apiImpl: this,
|
apiImpl: this,
|
||||||
hint: hint,
|
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -150,9 +139,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi {
|
|||||||
|
|
||||||
@override
|
@override
|
||||||
Future<void> crateApiAsarApiRsiLauncherAsarDataWriteMainJs(
|
Future<void> crateApiAsarApiRsiLauncherAsarDataWriteMainJs(
|
||||||
{required RsiLauncherAsarData that,
|
{required RsiLauncherAsarData that, required List<int> content}) {
|
||||||
required List<int> content,
|
|
||||||
dynamic hint}) {
|
|
||||||
return handler.executeNormal(NormalTask(
|
return handler.executeNormal(NormalTask(
|
||||||
callFfi: (port_) {
|
callFfi: (port_) {
|
||||||
var arg0 = cst_encode_box_autoadd_rsi_launcher_asar_data(that);
|
var arg0 = cst_encode_box_autoadd_rsi_launcher_asar_data(that);
|
||||||
@ -168,7 +155,6 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi {
|
|||||||
constMeta: kCrateApiAsarApiRsiLauncherAsarDataWriteMainJsConstMeta,
|
constMeta: kCrateApiAsarApiRsiLauncherAsarDataWriteMainJsConstMeta,
|
||||||
argValues: [that, content],
|
argValues: [that, content],
|
||||||
apiImpl: this,
|
apiImpl: this,
|
||||||
hint: hint,
|
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -179,8 +165,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi {
|
|||||||
);
|
);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Future<List<String>> crateApiHttpApiDnsLookupIps(
|
Future<List<String>> crateApiHttpApiDnsLookupIps({required String host}) {
|
||||||
{required String host, dynamic hint}) {
|
|
||||||
return handler.executeNormal(NormalTask(
|
return handler.executeNormal(NormalTask(
|
||||||
callFfi: (port_) {
|
callFfi: (port_) {
|
||||||
var arg0 = cst_encode_String(host);
|
var arg0 = cst_encode_String(host);
|
||||||
@ -193,7 +178,6 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi {
|
|||||||
constMeta: kCrateApiHttpApiDnsLookupIpsConstMeta,
|
constMeta: kCrateApiHttpApiDnsLookupIpsConstMeta,
|
||||||
argValues: [host],
|
argValues: [host],
|
||||||
apiImpl: this,
|
apiImpl: this,
|
||||||
hint: hint,
|
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -204,8 +188,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi {
|
|||||||
);
|
);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Future<List<String>> crateApiHttpApiDnsLookupTxt(
|
Future<List<String>> crateApiHttpApiDnsLookupTxt({required String host}) {
|
||||||
{required String host, dynamic hint}) {
|
|
||||||
return handler.executeNormal(NormalTask(
|
return handler.executeNormal(NormalTask(
|
||||||
callFfi: (port_) {
|
callFfi: (port_) {
|
||||||
var arg0 = cst_encode_String(host);
|
var arg0 = cst_encode_String(host);
|
||||||
@ -218,7 +201,6 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi {
|
|||||||
constMeta: kCrateApiHttpApiDnsLookupTxtConstMeta,
|
constMeta: kCrateApiHttpApiDnsLookupTxtConstMeta,
|
||||||
argValues: [host],
|
argValues: [host],
|
||||||
apiImpl: this,
|
apiImpl: this,
|
||||||
hint: hint,
|
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -234,8 +216,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi {
|
|||||||
required String url,
|
required String url,
|
||||||
Map<String, String>? headers,
|
Map<String, String>? headers,
|
||||||
Uint8List? inputData,
|
Uint8List? inputData,
|
||||||
String? withIpAddress,
|
String? withIpAddress}) {
|
||||||
dynamic hint}) {
|
|
||||||
return handler.executeNormal(NormalTask(
|
return handler.executeNormal(NormalTask(
|
||||||
callFfi: (port_) {
|
callFfi: (port_) {
|
||||||
var arg0 = cst_encode_my_method(method);
|
var arg0 = cst_encode_my_method(method);
|
||||||
@ -253,7 +234,6 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi {
|
|||||||
constMeta: kCrateApiHttpApiFetchConstMeta,
|
constMeta: kCrateApiHttpApiFetchConstMeta,
|
||||||
argValues: [method, url, headers, inputData, withIpAddress],
|
argValues: [method, url, headers, inputData, withIpAddress],
|
||||||
apiImpl: this,
|
apiImpl: this,
|
||||||
hint: hint,
|
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -264,7 +244,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi {
|
|||||||
|
|
||||||
@override
|
@override
|
||||||
Future<void> crateApiHttpApiSetDefaultHeader(
|
Future<void> crateApiHttpApiSetDefaultHeader(
|
||||||
{required Map<String, String> headers, dynamic hint}) {
|
{required Map<String, String> headers}) {
|
||||||
return handler.executeNormal(NormalTask(
|
return handler.executeNormal(NormalTask(
|
||||||
callFfi: (port_) {
|
callFfi: (port_) {
|
||||||
var arg0 = cst_encode_Map_String_String(headers);
|
var arg0 = cst_encode_Map_String_String(headers);
|
||||||
@ -277,7 +257,6 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi {
|
|||||||
constMeta: kCrateApiHttpApiSetDefaultHeaderConstMeta,
|
constMeta: kCrateApiHttpApiSetDefaultHeaderConstMeta,
|
||||||
argValues: [headers],
|
argValues: [headers],
|
||||||
apiImpl: this,
|
apiImpl: this,
|
||||||
hint: hint,
|
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -291,8 +270,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi {
|
|||||||
Stream<RsProcessStreamData> crateApiRsProcessStart(
|
Stream<RsProcessStreamData> crateApiRsProcessStart(
|
||||||
{required String executable,
|
{required String executable,
|
||||||
required List<String> arguments,
|
required List<String> arguments,
|
||||||
required String workingDirectory,
|
required String workingDirectory}) {
|
||||||
dynamic hint}) {
|
|
||||||
final streamSink = RustStreamSink<RsProcessStreamData>();
|
final streamSink = RustStreamSink<RsProcessStreamData>();
|
||||||
unawaited(handler.executeNormal(NormalTask(
|
unawaited(handler.executeNormal(NormalTask(
|
||||||
callFfi: (port_) {
|
callFfi: (port_) {
|
||||||
@ -310,7 +288,6 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi {
|
|||||||
constMeta: kCrateApiRsProcessStartConstMeta,
|
constMeta: kCrateApiRsProcessStartConstMeta,
|
||||||
argValues: [executable, arguments, workingDirectory, streamSink],
|
argValues: [executable, arguments, workingDirectory, streamSink],
|
||||||
apiImpl: this,
|
apiImpl: this,
|
||||||
hint: hint,
|
|
||||||
)));
|
)));
|
||||||
return streamSink.stream;
|
return streamSink.stream;
|
||||||
}
|
}
|
||||||
@ -322,7 +299,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi {
|
|||||||
|
|
||||||
@override
|
@override
|
||||||
Future<void> crateApiRsProcessWrite(
|
Future<void> crateApiRsProcessWrite(
|
||||||
{required int rsPid, required String data, dynamic hint}) {
|
{required int rsPid, required String data}) {
|
||||||
return handler.executeNormal(NormalTask(
|
return handler.executeNormal(NormalTask(
|
||||||
callFfi: (port_) {
|
callFfi: (port_) {
|
||||||
var arg0 = cst_encode_u_32(rsPid);
|
var arg0 = cst_encode_u_32(rsPid);
|
||||||
@ -336,7 +313,6 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi {
|
|||||||
constMeta: kCrateApiRsProcessWriteConstMeta,
|
constMeta: kCrateApiRsProcessWriteConstMeta,
|
||||||
argValues: [rsPid, data],
|
argValues: [rsPid, data],
|
||||||
apiImpl: this,
|
apiImpl: this,
|
||||||
hint: hint,
|
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -347,11 +323,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi {
|
|||||||
|
|
||||||
@override
|
@override
|
||||||
Future<void> crateApiWin32ApiSendNotify(
|
Future<void> crateApiWin32ApiSendNotify(
|
||||||
{String? summary,
|
{String? summary, String? body, String? appName, String? appId}) {
|
||||||
String? body,
|
|
||||||
String? appName,
|
|
||||||
String? appId,
|
|
||||||
dynamic hint}) {
|
|
||||||
return handler.executeNormal(NormalTask(
|
return handler.executeNormal(NormalTask(
|
||||||
callFfi: (port_) {
|
callFfi: (port_) {
|
||||||
var arg0 = cst_encode_opt_String(summary);
|
var arg0 = cst_encode_opt_String(summary);
|
||||||
@ -368,7 +340,6 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi {
|
|||||||
constMeta: kCrateApiWin32ApiSendNotifyConstMeta,
|
constMeta: kCrateApiWin32ApiSendNotifyConstMeta,
|
||||||
argValues: [summary, body, appName, appId],
|
argValues: [summary, body, appName, appId],
|
||||||
apiImpl: this,
|
apiImpl: this,
|
||||||
hint: hint,
|
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -379,7 +350,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi {
|
|||||||
|
|
||||||
@override
|
@override
|
||||||
Future<bool> crateApiWin32ApiSetForegroundWindow(
|
Future<bool> crateApiWin32ApiSetForegroundWindow(
|
||||||
{required String windowName, dynamic hint}) {
|
{required String windowName}) {
|
||||||
return handler.executeNormal(NormalTask(
|
return handler.executeNormal(NormalTask(
|
||||||
callFfi: (port_) {
|
callFfi: (port_) {
|
||||||
var arg0 = cst_encode_String(windowName);
|
var arg0 = cst_encode_String(windowName);
|
||||||
@ -393,7 +364,6 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi {
|
|||||||
constMeta: kCrateApiWin32ApiSetForegroundWindowConstMeta,
|
constMeta: kCrateApiWin32ApiSetForegroundWindowConstMeta,
|
||||||
argValues: [windowName],
|
argValues: [windowName],
|
||||||
apiImpl: this,
|
apiImpl: this,
|
||||||
hint: hint,
|
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// This file is automatically generated, so please do not edit it.
|
// This file is automatically generated, so please do not edit it.
|
||||||
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.36.
|
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.37.
|
||||||
|
|
||||||
// ignore_for_file: unused_import, unused_element, unnecessary_import, duplicate_ignore, invalid_use_of_internal_member, annotate_overrides, non_constant_identifier_names, curly_braces_in_flow_control_structures, prefer_const_literals_to_create_immutables, unused_field
|
// ignore_for_file: unused_import, unused_element, unnecessary_import, duplicate_ignore, invalid_use_of_internal_member, annotate_overrides, non_constant_identifier_names, curly_braces_in_flow_control_structures, prefer_const_literals_to_create_immutables, unused_field
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// This file is automatically generated, so please do not edit it.
|
// This file is automatically generated, so please do not edit it.
|
||||||
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.36.
|
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.37.
|
||||||
|
|
||||||
// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import
|
// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ dependencies:
|
|||||||
flutter_tilt: ^3.0.0
|
flutter_tilt: ^3.0.0
|
||||||
card_swiper: ^3.0.1
|
card_swiper: ^3.0.1
|
||||||
ffi: ^2.1.0
|
ffi: ^2.1.0
|
||||||
flutter_rust_bridge: ^2.0.0-dev.36
|
flutter_rust_bridge: 2.0.0-dev.37
|
||||||
freezed_annotation: ^2.4.1
|
freezed_annotation: ^2.4.1
|
||||||
meta: ^1.9.1
|
meta: ^1.9.1
|
||||||
hexcolor: ^3.0.1
|
hexcolor: ^3.0.1
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// This file is automatically generated, so please do not edit it.
|
// This file is automatically generated, so please do not edit it.
|
||||||
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.36.
|
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.37.
|
||||||
|
|
||||||
// Section: imports
|
// Section: imports
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// This file is automatically generated, so please do not edit it.
|
// This file is automatically generated, so please do not edit it.
|
||||||
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.36.
|
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.37.
|
||||||
|
|
||||||
#![allow(
|
#![allow(
|
||||||
non_camel_case_types,
|
non_camel_case_types,
|
||||||
@ -32,7 +32,7 @@ flutter_rust_bridge::frb_generated_boilerplate!(
|
|||||||
default_rust_opaque = RustOpaqueNom,
|
default_rust_opaque = RustOpaqueNom,
|
||||||
default_rust_auto_opaque = RustAutoOpaqueNom,
|
default_rust_auto_opaque = RustAutoOpaqueNom,
|
||||||
);
|
);
|
||||||
pub(crate) const FLUTTER_RUST_BRIDGE_CODEGEN_VERSION: &str = "2.0.0-dev.36";
|
pub(crate) const FLUTTER_RUST_BRIDGE_CODEGEN_VERSION: &str = "2.0.0-dev.37";
|
||||||
pub(crate) const FLUTTER_RUST_BRIDGE_CODEGEN_CONTENT_HASH: i32 = 1832496273;
|
pub(crate) const FLUTTER_RUST_BRIDGE_CODEGEN_CONTENT_HASH: i32 = 1832496273;
|
||||||
|
|
||||||
// Section: executor
|
// Section: executor
|
||||||
|
Loading…
Reference in New Issue
Block a user