mirror of
https://mirror.ghproxy.com/https://github.com/StarCitizenToolBox/app.git
synced 2024-12-23 06:33:43 +08:00
bump: dependencies
This commit is contained in:
parent
ad70e21e2c
commit
3f7ee82d45
@ -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.33.
|
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.35.
|
||||||
|
|
||||||
// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import
|
// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import
|
||||||
|
|
||||||
@ -8,7 +8,8 @@ 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, dynamic hint}) =>
|
||||||
RustLib.instance.api.getRsiLauncherAsarData(asarPath: asarPath, hint: hint);
|
RustLib.instance.api
|
||||||
|
.crateApiAsarApiGetRsiLauncherAsarData(asarPath: asarPath, hint: hint);
|
||||||
|
|
||||||
class RsiLauncherAsarData {
|
class RsiLauncherAsarData {
|
||||||
final String asarPath;
|
final String asarPath;
|
||||||
@ -22,7 +23,7 @@ class RsiLauncherAsarData {
|
|||||||
});
|
});
|
||||||
|
|
||||||
Future<void> writeMainJs({required List<int> content, dynamic hint}) =>
|
Future<void> writeMainJs({required List<int> content, dynamic hint}) =>
|
||||||
RustLib.instance.api.rsiLauncherAsarDataWriteMainJs(
|
RustLib.instance.api.crateApiAsarApiRsiLauncherAsarDataWriteMainJs(
|
||||||
that: this, content: content, hint: hint);
|
that: this, content: content, hint: hint);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
|
@ -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.33.
|
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.35.
|
||||||
|
|
||||||
// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import
|
// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import
|
||||||
|
|
||||||
@ -9,7 +9,8 @@ import 'package:flutter_rust_bridge/flutter_rust_bridge_for_generated.dart';
|
|||||||
|
|
||||||
Future<void> setDefaultHeader(
|
Future<void> setDefaultHeader(
|
||||||
{required Map<String, String> headers, dynamic hint}) =>
|
{required Map<String, String> headers, dynamic hint}) =>
|
||||||
RustLib.instance.api.setDefaultHeader(headers: headers, hint: hint);
|
RustLib.instance.api
|
||||||
|
.crateApiHttpApiSetDefaultHeader(headers: headers, hint: hint);
|
||||||
|
|
||||||
Future<RustHttpResponse> fetch(
|
Future<RustHttpResponse> fetch(
|
||||||
{required MyMethod method,
|
{required MyMethod method,
|
||||||
@ -18,7 +19,7 @@ Future<RustHttpResponse> fetch(
|
|||||||
Uint8List? inputData,
|
Uint8List? inputData,
|
||||||
String? withIpAddress,
|
String? withIpAddress,
|
||||||
dynamic hint}) =>
|
dynamic hint}) =>
|
||||||
RustLib.instance.api.fetch(
|
RustLib.instance.api.crateApiHttpApiFetch(
|
||||||
method: method,
|
method: method,
|
||||||
url: url,
|
url: url,
|
||||||
headers: headers,
|
headers: headers,
|
||||||
@ -27,10 +28,10 @@ Future<RustHttpResponse> fetch(
|
|||||||
hint: hint);
|
hint: hint);
|
||||||
|
|
||||||
Future<List<String>> dnsLookupTxt({required String host, dynamic hint}) =>
|
Future<List<String>> dnsLookupTxt({required String host, dynamic hint}) =>
|
||||||
RustLib.instance.api.dnsLookupTxt(host: host, hint: hint);
|
RustLib.instance.api.crateApiHttpApiDnsLookupTxt(host: host, hint: hint);
|
||||||
|
|
||||||
Future<List<String>> dnsLookupIps({required String host, dynamic hint}) =>
|
Future<List<String>> dnsLookupIps({required String host, dynamic hint}) =>
|
||||||
RustLib.instance.api.dnsLookupIps(host: host, hint: hint);
|
RustLib.instance.api.crateApiHttpApiDnsLookupIps(host: host, hint: hint);
|
||||||
|
|
||||||
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.33.
|
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.35.
|
||||||
|
|
||||||
// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import
|
// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import
|
||||||
|
|
||||||
@ -13,14 +13,15 @@ Stream<RsProcessStreamData> start(
|
|||||||
required List<String> arguments,
|
required List<String> arguments,
|
||||||
required String workingDirectory,
|
required String workingDirectory,
|
||||||
dynamic hint}) =>
|
dynamic hint}) =>
|
||||||
RustLib.instance.api.start(
|
RustLib.instance.api.crateApiRsProcessStart(
|
||||||
executable: executable,
|
executable: executable,
|
||||||
arguments: arguments,
|
arguments: arguments,
|
||||||
workingDirectory: workingDirectory,
|
workingDirectory: workingDirectory,
|
||||||
hint: hint);
|
hint: hint);
|
||||||
|
|
||||||
Future<void> write({required int rsPid, required String data, dynamic hint}) =>
|
Future<void> write({required int rsPid, required String data, dynamic hint}) =>
|
||||||
RustLib.instance.api.write(rsPid: rsPid, data: data, hint: hint);
|
RustLib.instance.api
|
||||||
|
.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.33.
|
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.35.
|
||||||
|
|
||||||
// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import
|
// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import
|
||||||
|
|
||||||
@ -12,7 +12,7 @@ Future<void> sendNotify(
|
|||||||
String? appName,
|
String? appName,
|
||||||
String? appId,
|
String? appId,
|
||||||
dynamic hint}) =>
|
dynamic hint}) =>
|
||||||
RustLib.instance.api.sendNotify(
|
RustLib.instance.api.crateApiWin32ApiSendNotify(
|
||||||
summary: summary,
|
summary: summary,
|
||||||
body: body,
|
body: body,
|
||||||
appName: appName,
|
appName: appName,
|
||||||
@ -20,5 +20,5 @@ Future<void> sendNotify(
|
|||||||
hint: hint);
|
hint: hint);
|
||||||
|
|
||||||
Future<bool> setForegroundWindow({required String windowName, dynamic hint}) =>
|
Future<bool> setForegroundWindow({required String windowName, dynamic hint}) =>
|
||||||
RustLib.instance.api
|
RustLib.instance.api.crateApiWin32ApiSetForegroundWindow(
|
||||||
.setForegroundWindow(windowName: windowName, hint: hint);
|
windowName: windowName, 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.33.
|
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.35.
|
||||||
|
|
||||||
// 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.33';
|
String get codegenVersion => '2.0.0-dev.35';
|
||||||
|
|
||||||
@override
|
@override
|
||||||
int get rustContentHash => 1832496273;
|
int get rustContentHash => 1832496273;
|
||||||
@ -69,19 +69,21 @@ class RustLib extends BaseEntrypoint<RustLibApi, RustLibApiImpl, RustLibWire> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
abstract class RustLibApi extends BaseApi {
|
abstract class RustLibApi extends BaseApi {
|
||||||
Future<RsiLauncherAsarData> getRsiLauncherAsarData(
|
Future<RsiLauncherAsarData> crateApiAsarApiGetRsiLauncherAsarData(
|
||||||
{required String asarPath, dynamic hint});
|
{required String asarPath, dynamic hint});
|
||||||
|
|
||||||
Future<void> rsiLauncherAsarDataWriteMainJs(
|
Future<void> crateApiAsarApiRsiLauncherAsarDataWriteMainJs(
|
||||||
{required RsiLauncherAsarData that,
|
{required RsiLauncherAsarData that,
|
||||||
required List<int> content,
|
required List<int> content,
|
||||||
dynamic hint});
|
dynamic hint});
|
||||||
|
|
||||||
Future<List<String>> dnsLookupIps({required String host, dynamic hint});
|
Future<List<String>> crateApiHttpApiDnsLookupIps(
|
||||||
|
{required String host, dynamic hint});
|
||||||
|
|
||||||
Future<List<String>> dnsLookupTxt({required String host, dynamic hint});
|
Future<List<String>> crateApiHttpApiDnsLookupTxt(
|
||||||
|
{required String host, dynamic hint});
|
||||||
|
|
||||||
Future<RustHttpResponse> fetch(
|
Future<RustHttpResponse> crateApiHttpApiFetch(
|
||||||
{required MyMethod method,
|
{required MyMethod method,
|
||||||
required String url,
|
required String url,
|
||||||
Map<String, String>? headers,
|
Map<String, String>? headers,
|
||||||
@ -89,25 +91,27 @@ abstract class RustLibApi extends BaseApi {
|
|||||||
String? withIpAddress,
|
String? withIpAddress,
|
||||||
dynamic hint});
|
dynamic hint});
|
||||||
|
|
||||||
Future<void> setDefaultHeader(
|
Future<void> crateApiHttpApiSetDefaultHeader(
|
||||||
{required Map<String, String> headers, dynamic hint});
|
{required Map<String, String> headers, dynamic hint});
|
||||||
|
|
||||||
Stream<RsProcessStreamData> start(
|
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});
|
dynamic hint});
|
||||||
|
|
||||||
Future<void> write({required int rsPid, required String data, dynamic hint});
|
Future<void> crateApiRsProcessWrite(
|
||||||
|
{required int rsPid, required String data, dynamic hint});
|
||||||
|
|
||||||
Future<void> sendNotify(
|
Future<void> crateApiWin32ApiSendNotify(
|
||||||
{String? summary,
|
{String? summary,
|
||||||
String? body,
|
String? body,
|
||||||
String? appName,
|
String? appName,
|
||||||
String? appId,
|
String? appId,
|
||||||
dynamic hint});
|
dynamic hint});
|
||||||
|
|
||||||
Future<bool> setForegroundWindow({required String windowName, dynamic hint});
|
Future<bool> crateApiWin32ApiSetForegroundWindow(
|
||||||
|
{required String windowName, dynamic hint});
|
||||||
}
|
}
|
||||||
|
|
||||||
class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi {
|
class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi {
|
||||||
@ -119,31 +123,33 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi {
|
|||||||
});
|
});
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Future<RsiLauncherAsarData> getRsiLauncherAsarData(
|
Future<RsiLauncherAsarData> crateApiAsarApiGetRsiLauncherAsarData(
|
||||||
{required String asarPath, dynamic hint}) {
|
{required String asarPath, dynamic hint}) {
|
||||||
return handler.executeNormal(NormalTask(
|
return handler.executeNormal(NormalTask(
|
||||||
callFfi: (port_) {
|
callFfi: (port_) {
|
||||||
var arg0 = cst_encode_String(asarPath);
|
var arg0 = cst_encode_String(asarPath);
|
||||||
return wire.wire_get_rsi_launcher_asar_data(port_, arg0);
|
return wire.wire__crate__api__asar_api__get_rsi_launcher_asar_data(
|
||||||
|
port_, arg0);
|
||||||
},
|
},
|
||||||
codec: DcoCodec(
|
codec: DcoCodec(
|
||||||
decodeSuccessData: dco_decode_rsi_launcher_asar_data,
|
decodeSuccessData: dco_decode_rsi_launcher_asar_data,
|
||||||
decodeErrorData: dco_decode_AnyhowException,
|
decodeErrorData: dco_decode_AnyhowException,
|
||||||
),
|
),
|
||||||
constMeta: kGetRsiLauncherAsarDataConstMeta,
|
constMeta: kCrateApiAsarApiGetRsiLauncherAsarDataConstMeta,
|
||||||
argValues: [asarPath],
|
argValues: [asarPath],
|
||||||
apiImpl: this,
|
apiImpl: this,
|
||||||
hint: hint,
|
hint: hint,
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
TaskConstMeta get kGetRsiLauncherAsarDataConstMeta => const TaskConstMeta(
|
TaskConstMeta get kCrateApiAsarApiGetRsiLauncherAsarDataConstMeta =>
|
||||||
|
const TaskConstMeta(
|
||||||
debugName: "get_rsi_launcher_asar_data",
|
debugName: "get_rsi_launcher_asar_data",
|
||||||
argNames: ["asarPath"],
|
argNames: ["asarPath"],
|
||||||
);
|
);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Future<void> rsiLauncherAsarDataWriteMainJs(
|
Future<void> crateApiAsarApiRsiLauncherAsarDataWriteMainJs(
|
||||||
{required RsiLauncherAsarData that,
|
{required RsiLauncherAsarData that,
|
||||||
required List<int> content,
|
required List<int> content,
|
||||||
dynamic hint}) {
|
dynamic hint}) {
|
||||||
@ -151,74 +157,79 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi {
|
|||||||
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);
|
||||||
var arg1 = cst_encode_list_prim_u_8_loose(content);
|
var arg1 = cst_encode_list_prim_u_8_loose(content);
|
||||||
return wire.wire_rsi_launcher_asar_data_write_main_js(
|
return wire
|
||||||
|
.wire__crate__api__asar_api__rsi_launcher_asar_data_write_main_js(
|
||||||
port_, arg0, arg1);
|
port_, arg0, arg1);
|
||||||
},
|
},
|
||||||
codec: DcoCodec(
|
codec: DcoCodec(
|
||||||
decodeSuccessData: dco_decode_unit,
|
decodeSuccessData: dco_decode_unit,
|
||||||
decodeErrorData: dco_decode_AnyhowException,
|
decodeErrorData: dco_decode_AnyhowException,
|
||||||
),
|
),
|
||||||
constMeta: kRsiLauncherAsarDataWriteMainJsConstMeta,
|
constMeta: kCrateApiAsarApiRsiLauncherAsarDataWriteMainJsConstMeta,
|
||||||
argValues: [that, content],
|
argValues: [that, content],
|
||||||
apiImpl: this,
|
apiImpl: this,
|
||||||
hint: hint,
|
hint: hint,
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
TaskConstMeta get kRsiLauncherAsarDataWriteMainJsConstMeta =>
|
TaskConstMeta get kCrateApiAsarApiRsiLauncherAsarDataWriteMainJsConstMeta =>
|
||||||
const TaskConstMeta(
|
const TaskConstMeta(
|
||||||
debugName: "rsi_launcher_asar_data_write_main_js",
|
debugName: "rsi_launcher_asar_data_write_main_js",
|
||||||
argNames: ["that", "content"],
|
argNames: ["that", "content"],
|
||||||
);
|
);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Future<List<String>> dnsLookupIps({required String host, dynamic hint}) {
|
Future<List<String>> crateApiHttpApiDnsLookupIps(
|
||||||
|
{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);
|
||||||
return wire.wire_dns_lookup_ips(port_, arg0);
|
return wire.wire__crate__api__http_api__dns_lookup_ips(port_, arg0);
|
||||||
},
|
},
|
||||||
codec: DcoCodec(
|
codec: DcoCodec(
|
||||||
decodeSuccessData: dco_decode_list_String,
|
decodeSuccessData: dco_decode_list_String,
|
||||||
decodeErrorData: dco_decode_AnyhowException,
|
decodeErrorData: dco_decode_AnyhowException,
|
||||||
),
|
),
|
||||||
constMeta: kDnsLookupIpsConstMeta,
|
constMeta: kCrateApiHttpApiDnsLookupIpsConstMeta,
|
||||||
argValues: [host],
|
argValues: [host],
|
||||||
apiImpl: this,
|
apiImpl: this,
|
||||||
hint: hint,
|
hint: hint,
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
TaskConstMeta get kDnsLookupIpsConstMeta => const TaskConstMeta(
|
TaskConstMeta get kCrateApiHttpApiDnsLookupIpsConstMeta =>
|
||||||
|
const TaskConstMeta(
|
||||||
debugName: "dns_lookup_ips",
|
debugName: "dns_lookup_ips",
|
||||||
argNames: ["host"],
|
argNames: ["host"],
|
||||||
);
|
);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Future<List<String>> dnsLookupTxt({required String host, dynamic hint}) {
|
Future<List<String>> crateApiHttpApiDnsLookupTxt(
|
||||||
|
{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);
|
||||||
return wire.wire_dns_lookup_txt(port_, arg0);
|
return wire.wire__crate__api__http_api__dns_lookup_txt(port_, arg0);
|
||||||
},
|
},
|
||||||
codec: DcoCodec(
|
codec: DcoCodec(
|
||||||
decodeSuccessData: dco_decode_list_String,
|
decodeSuccessData: dco_decode_list_String,
|
||||||
decodeErrorData: dco_decode_AnyhowException,
|
decodeErrorData: dco_decode_AnyhowException,
|
||||||
),
|
),
|
||||||
constMeta: kDnsLookupTxtConstMeta,
|
constMeta: kCrateApiHttpApiDnsLookupTxtConstMeta,
|
||||||
argValues: [host],
|
argValues: [host],
|
||||||
apiImpl: this,
|
apiImpl: this,
|
||||||
hint: hint,
|
hint: hint,
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
TaskConstMeta get kDnsLookupTxtConstMeta => const TaskConstMeta(
|
TaskConstMeta get kCrateApiHttpApiDnsLookupTxtConstMeta =>
|
||||||
|
const TaskConstMeta(
|
||||||
debugName: "dns_lookup_txt",
|
debugName: "dns_lookup_txt",
|
||||||
argNames: ["host"],
|
argNames: ["host"],
|
||||||
);
|
);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Future<RustHttpResponse> fetch(
|
Future<RustHttpResponse> crateApiHttpApiFetch(
|
||||||
{required MyMethod method,
|
{required MyMethod method,
|
||||||
required String url,
|
required String url,
|
||||||
Map<String, String>? headers,
|
Map<String, String>? headers,
|
||||||
@ -232,50 +243,52 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi {
|
|||||||
var arg2 = cst_encode_opt_Map_String_String(headers);
|
var arg2 = cst_encode_opt_Map_String_String(headers);
|
||||||
var arg3 = cst_encode_opt_list_prim_u_8_strict(inputData);
|
var arg3 = cst_encode_opt_list_prim_u_8_strict(inputData);
|
||||||
var arg4 = cst_encode_opt_String(withIpAddress);
|
var arg4 = cst_encode_opt_String(withIpAddress);
|
||||||
return wire.wire_fetch(port_, arg0, arg1, arg2, arg3, arg4);
|
return wire.wire__crate__api__http_api__fetch(
|
||||||
|
port_, arg0, arg1, arg2, arg3, arg4);
|
||||||
},
|
},
|
||||||
codec: DcoCodec(
|
codec: DcoCodec(
|
||||||
decodeSuccessData: dco_decode_rust_http_response,
|
decodeSuccessData: dco_decode_rust_http_response,
|
||||||
decodeErrorData: dco_decode_AnyhowException,
|
decodeErrorData: dco_decode_AnyhowException,
|
||||||
),
|
),
|
||||||
constMeta: kFetchConstMeta,
|
constMeta: kCrateApiHttpApiFetchConstMeta,
|
||||||
argValues: [method, url, headers, inputData, withIpAddress],
|
argValues: [method, url, headers, inputData, withIpAddress],
|
||||||
apiImpl: this,
|
apiImpl: this,
|
||||||
hint: hint,
|
hint: hint,
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
TaskConstMeta get kFetchConstMeta => const TaskConstMeta(
|
TaskConstMeta get kCrateApiHttpApiFetchConstMeta => const TaskConstMeta(
|
||||||
debugName: "fetch",
|
debugName: "fetch",
|
||||||
argNames: ["method", "url", "headers", "inputData", "withIpAddress"],
|
argNames: ["method", "url", "headers", "inputData", "withIpAddress"],
|
||||||
);
|
);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Future<void> setDefaultHeader(
|
Future<void> crateApiHttpApiSetDefaultHeader(
|
||||||
{required Map<String, String> headers, dynamic hint}) {
|
{required Map<String, String> headers, dynamic hint}) {
|
||||||
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);
|
||||||
return wire.wire_set_default_header(port_, arg0);
|
return wire.wire__crate__api__http_api__set_default_header(port_, arg0);
|
||||||
},
|
},
|
||||||
codec: DcoCodec(
|
codec: DcoCodec(
|
||||||
decodeSuccessData: dco_decode_unit,
|
decodeSuccessData: dco_decode_unit,
|
||||||
decodeErrorData: null,
|
decodeErrorData: null,
|
||||||
),
|
),
|
||||||
constMeta: kSetDefaultHeaderConstMeta,
|
constMeta: kCrateApiHttpApiSetDefaultHeaderConstMeta,
|
||||||
argValues: [headers],
|
argValues: [headers],
|
||||||
apiImpl: this,
|
apiImpl: this,
|
||||||
hint: hint,
|
hint: hint,
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
TaskConstMeta get kSetDefaultHeaderConstMeta => const TaskConstMeta(
|
TaskConstMeta get kCrateApiHttpApiSetDefaultHeaderConstMeta =>
|
||||||
|
const TaskConstMeta(
|
||||||
debugName: "set_default_header",
|
debugName: "set_default_header",
|
||||||
argNames: ["headers"],
|
argNames: ["headers"],
|
||||||
);
|
);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Stream<RsProcessStreamData> start(
|
Stream<RsProcessStreamData> crateApiRsProcessStart(
|
||||||
{required String executable,
|
{required String executable,
|
||||||
required List<String> arguments,
|
required List<String> arguments,
|
||||||
required String workingDirectory,
|
required String workingDirectory,
|
||||||
@ -287,13 +300,14 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi {
|
|||||||
var arg1 = cst_encode_list_String(arguments);
|
var arg1 = cst_encode_list_String(arguments);
|
||||||
var arg2 = cst_encode_String(workingDirectory);
|
var arg2 = cst_encode_String(workingDirectory);
|
||||||
var arg3 = cst_encode_StreamSink_rs_process_stream_data_Dco(streamSink);
|
var arg3 = cst_encode_StreamSink_rs_process_stream_data_Dco(streamSink);
|
||||||
return wire.wire_start(port_, arg0, arg1, arg2, arg3);
|
return wire.wire__crate__api__rs_process__start(
|
||||||
|
port_, arg0, arg1, arg2, arg3);
|
||||||
},
|
},
|
||||||
codec: DcoCodec(
|
codec: DcoCodec(
|
||||||
decodeSuccessData: dco_decode_unit,
|
decodeSuccessData: dco_decode_unit,
|
||||||
decodeErrorData: null,
|
decodeErrorData: null,
|
||||||
),
|
),
|
||||||
constMeta: kStartConstMeta,
|
constMeta: kCrateApiRsProcessStartConstMeta,
|
||||||
argValues: [executable, arguments, workingDirectory, streamSink],
|
argValues: [executable, arguments, workingDirectory, streamSink],
|
||||||
apiImpl: this,
|
apiImpl: this,
|
||||||
hint: hint,
|
hint: hint,
|
||||||
@ -301,37 +315,38 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi {
|
|||||||
return streamSink.stream;
|
return streamSink.stream;
|
||||||
}
|
}
|
||||||
|
|
||||||
TaskConstMeta get kStartConstMeta => const TaskConstMeta(
|
TaskConstMeta get kCrateApiRsProcessStartConstMeta => const TaskConstMeta(
|
||||||
debugName: "start",
|
debugName: "start",
|
||||||
argNames: ["executable", "arguments", "workingDirectory", "streamSink"],
|
argNames: ["executable", "arguments", "workingDirectory", "streamSink"],
|
||||||
);
|
);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Future<void> write({required int rsPid, required String data, dynamic hint}) {
|
Future<void> crateApiRsProcessWrite(
|
||||||
|
{required int rsPid, required String data, dynamic hint}) {
|
||||||
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);
|
||||||
var arg1 = cst_encode_String(data);
|
var arg1 = cst_encode_String(data);
|
||||||
return wire.wire_write(port_, arg0, arg1);
|
return wire.wire__crate__api__rs_process__write(port_, arg0, arg1);
|
||||||
},
|
},
|
||||||
codec: DcoCodec(
|
codec: DcoCodec(
|
||||||
decodeSuccessData: dco_decode_unit,
|
decodeSuccessData: dco_decode_unit,
|
||||||
decodeErrorData: null,
|
decodeErrorData: null,
|
||||||
),
|
),
|
||||||
constMeta: kWriteConstMeta,
|
constMeta: kCrateApiRsProcessWriteConstMeta,
|
||||||
argValues: [rsPid, data],
|
argValues: [rsPid, data],
|
||||||
apiImpl: this,
|
apiImpl: this,
|
||||||
hint: hint,
|
hint: hint,
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
TaskConstMeta get kWriteConstMeta => const TaskConstMeta(
|
TaskConstMeta get kCrateApiRsProcessWriteConstMeta => const TaskConstMeta(
|
||||||
debugName: "write",
|
debugName: "write",
|
||||||
argNames: ["rsPid", "data"],
|
argNames: ["rsPid", "data"],
|
||||||
);
|
);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Future<void> sendNotify(
|
Future<void> crateApiWin32ApiSendNotify(
|
||||||
{String? summary,
|
{String? summary,
|
||||||
String? body,
|
String? body,
|
||||||
String? appName,
|
String? appName,
|
||||||
@ -343,43 +358,47 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi {
|
|||||||
var arg1 = cst_encode_opt_String(body);
|
var arg1 = cst_encode_opt_String(body);
|
||||||
var arg2 = cst_encode_opt_String(appName);
|
var arg2 = cst_encode_opt_String(appName);
|
||||||
var arg3 = cst_encode_opt_String(appId);
|
var arg3 = cst_encode_opt_String(appId);
|
||||||
return wire.wire_send_notify(port_, arg0, arg1, arg2, arg3);
|
return wire.wire__crate__api__win32_api__send_notify(
|
||||||
|
port_, arg0, arg1, arg2, arg3);
|
||||||
},
|
},
|
||||||
codec: DcoCodec(
|
codec: DcoCodec(
|
||||||
decodeSuccessData: dco_decode_unit,
|
decodeSuccessData: dco_decode_unit,
|
||||||
decodeErrorData: dco_decode_AnyhowException,
|
decodeErrorData: dco_decode_AnyhowException,
|
||||||
),
|
),
|
||||||
constMeta: kSendNotifyConstMeta,
|
constMeta: kCrateApiWin32ApiSendNotifyConstMeta,
|
||||||
argValues: [summary, body, appName, appId],
|
argValues: [summary, body, appName, appId],
|
||||||
apiImpl: this,
|
apiImpl: this,
|
||||||
hint: hint,
|
hint: hint,
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
TaskConstMeta get kSendNotifyConstMeta => const TaskConstMeta(
|
TaskConstMeta get kCrateApiWin32ApiSendNotifyConstMeta => const TaskConstMeta(
|
||||||
debugName: "send_notify",
|
debugName: "send_notify",
|
||||||
argNames: ["summary", "body", "appName", "appId"],
|
argNames: ["summary", "body", "appName", "appId"],
|
||||||
);
|
);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Future<bool> setForegroundWindow({required String windowName, dynamic hint}) {
|
Future<bool> crateApiWin32ApiSetForegroundWindow(
|
||||||
|
{required String windowName, dynamic hint}) {
|
||||||
return handler.executeNormal(NormalTask(
|
return handler.executeNormal(NormalTask(
|
||||||
callFfi: (port_) {
|
callFfi: (port_) {
|
||||||
var arg0 = cst_encode_String(windowName);
|
var arg0 = cst_encode_String(windowName);
|
||||||
return wire.wire_set_foreground_window(port_, arg0);
|
return wire.wire__crate__api__win32_api__set_foreground_window(
|
||||||
|
port_, arg0);
|
||||||
},
|
},
|
||||||
codec: DcoCodec(
|
codec: DcoCodec(
|
||||||
decodeSuccessData: dco_decode_bool,
|
decodeSuccessData: dco_decode_bool,
|
||||||
decodeErrorData: dco_decode_AnyhowException,
|
decodeErrorData: dco_decode_AnyhowException,
|
||||||
),
|
),
|
||||||
constMeta: kSetForegroundWindowConstMeta,
|
constMeta: kCrateApiWin32ApiSetForegroundWindowConstMeta,
|
||||||
argValues: [windowName],
|
argValues: [windowName],
|
||||||
apiImpl: this,
|
apiImpl: this,
|
||||||
hint: hint,
|
hint: hint,
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
TaskConstMeta get kSetForegroundWindowConstMeta => const TaskConstMeta(
|
TaskConstMeta get kCrateApiWin32ApiSetForegroundWindowConstMeta =>
|
||||||
|
const TaskConstMeta(
|
||||||
debugName: "set_foreground_window",
|
debugName: "set_foreground_window",
|
||||||
argNames: ["windowName"],
|
argNames: ["windowName"],
|
||||||
);
|
);
|
||||||
@ -888,7 +907,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi {
|
|||||||
void sse_encode_AnyhowException(
|
void sse_encode_AnyhowException(
|
||||||
AnyhowException self, SseSerializer serializer) {
|
AnyhowException self, SseSerializer serializer) {
|
||||||
// Codec=Sse (Serialization based), see doc to use other codecs
|
// Codec=Sse (Serialization based), see doc to use other codecs
|
||||||
throw UnimplementedError('Unreachable ()');
|
sse_encode_String(self.message, serializer);
|
||||||
}
|
}
|
||||||
|
|
||||||
@protected
|
@protected
|
||||||
|
@ -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.33.
|
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.35.
|
||||||
|
|
||||||
// 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
|
||||||
|
|
||||||
@ -531,86 +531,90 @@ class RustLibWire implements BaseWire {
|
|||||||
late final _store_dart_post_cobject = _store_dart_post_cobjectPtr
|
late final _store_dart_post_cobject = _store_dart_post_cobjectPtr
|
||||||
.asFunction<void Function(DartPostCObjectFnType)>();
|
.asFunction<void Function(DartPostCObjectFnType)>();
|
||||||
|
|
||||||
void wire_get_rsi_launcher_asar_data(
|
void wire__crate__api__asar_api__get_rsi_launcher_asar_data(
|
||||||
int port_,
|
int port_,
|
||||||
ffi.Pointer<wire_cst_list_prim_u_8_strict> asar_path,
|
ffi.Pointer<wire_cst_list_prim_u_8_strict> asar_path,
|
||||||
) {
|
) {
|
||||||
return _wire_get_rsi_launcher_asar_data(
|
return _wire__crate__api__asar_api__get_rsi_launcher_asar_data(
|
||||||
port_,
|
port_,
|
||||||
asar_path,
|
asar_path,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
late final _wire_get_rsi_launcher_asar_dataPtr = _lookup<
|
late final _wire__crate__api__asar_api__get_rsi_launcher_asar_dataPtr = _lookup<
|
||||||
ffi.NativeFunction<
|
ffi.NativeFunction<
|
||||||
ffi.Void Function(
|
ffi.Void Function(
|
||||||
ffi.Int64, ffi.Pointer<wire_cst_list_prim_u_8_strict>)>>(
|
ffi.Int64, ffi.Pointer<wire_cst_list_prim_u_8_strict>)>>(
|
||||||
'frbgen_starcitizen_doctor_wire_get_rsi_launcher_asar_data');
|
'frbgen_starcitizen_doctor_wire__crate__api__asar_api__get_rsi_launcher_asar_data');
|
||||||
late final _wire_get_rsi_launcher_asar_data =
|
late final _wire__crate__api__asar_api__get_rsi_launcher_asar_data =
|
||||||
_wire_get_rsi_launcher_asar_dataPtr.asFunction<
|
_wire__crate__api__asar_api__get_rsi_launcher_asar_dataPtr.asFunction<
|
||||||
void Function(int, ffi.Pointer<wire_cst_list_prim_u_8_strict>)>();
|
void Function(int, ffi.Pointer<wire_cst_list_prim_u_8_strict>)>();
|
||||||
|
|
||||||
void wire_rsi_launcher_asar_data_write_main_js(
|
void wire__crate__api__asar_api__rsi_launcher_asar_data_write_main_js(
|
||||||
int port_,
|
int port_,
|
||||||
ffi.Pointer<wire_cst_rsi_launcher_asar_data> that,
|
ffi.Pointer<wire_cst_rsi_launcher_asar_data> that,
|
||||||
ffi.Pointer<wire_cst_list_prim_u_8_loose> content,
|
ffi.Pointer<wire_cst_list_prim_u_8_loose> content,
|
||||||
) {
|
) {
|
||||||
return _wire_rsi_launcher_asar_data_write_main_js(
|
return _wire__crate__api__asar_api__rsi_launcher_asar_data_write_main_js(
|
||||||
port_,
|
port_,
|
||||||
that,
|
that,
|
||||||
content,
|
content,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
late final _wire_rsi_launcher_asar_data_write_main_jsPtr = _lookup<
|
late final _wire__crate__api__asar_api__rsi_launcher_asar_data_write_main_jsPtr =
|
||||||
|
_lookup<
|
||||||
ffi.NativeFunction<
|
ffi.NativeFunction<
|
||||||
ffi.Void Function(
|
ffi.Void Function(
|
||||||
ffi.Int64,
|
ffi.Int64,
|
||||||
ffi.Pointer<wire_cst_rsi_launcher_asar_data>,
|
ffi.Pointer<wire_cst_rsi_launcher_asar_data>,
|
||||||
ffi.Pointer<wire_cst_list_prim_u_8_loose>)>>(
|
ffi.Pointer<wire_cst_list_prim_u_8_loose>)>>(
|
||||||
'frbgen_starcitizen_doctor_wire_rsi_launcher_asar_data_write_main_js');
|
'frbgen_starcitizen_doctor_wire__crate__api__asar_api__rsi_launcher_asar_data_write_main_js');
|
||||||
late final _wire_rsi_launcher_asar_data_write_main_js =
|
late final _wire__crate__api__asar_api__rsi_launcher_asar_data_write_main_js =
|
||||||
_wire_rsi_launcher_asar_data_write_main_jsPtr.asFunction<
|
_wire__crate__api__asar_api__rsi_launcher_asar_data_write_main_jsPtr
|
||||||
|
.asFunction<
|
||||||
void Function(int, ffi.Pointer<wire_cst_rsi_launcher_asar_data>,
|
void Function(int, ffi.Pointer<wire_cst_rsi_launcher_asar_data>,
|
||||||
ffi.Pointer<wire_cst_list_prim_u_8_loose>)>();
|
ffi.Pointer<wire_cst_list_prim_u_8_loose>)>();
|
||||||
|
|
||||||
void wire_dns_lookup_ips(
|
void wire__crate__api__http_api__dns_lookup_ips(
|
||||||
int port_,
|
int port_,
|
||||||
ffi.Pointer<wire_cst_list_prim_u_8_strict> host,
|
ffi.Pointer<wire_cst_list_prim_u_8_strict> host,
|
||||||
) {
|
) {
|
||||||
return _wire_dns_lookup_ips(
|
return _wire__crate__api__http_api__dns_lookup_ips(
|
||||||
port_,
|
port_,
|
||||||
host,
|
host,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
late final _wire_dns_lookup_ipsPtr = _lookup<
|
late final _wire__crate__api__http_api__dns_lookup_ipsPtr = _lookup<
|
||||||
ffi.NativeFunction<
|
ffi.NativeFunction<
|
||||||
ffi.Void Function(
|
ffi.Void Function(
|
||||||
ffi.Int64, ffi.Pointer<wire_cst_list_prim_u_8_strict>)>>(
|
ffi.Int64, ffi.Pointer<wire_cst_list_prim_u_8_strict>)>>(
|
||||||
'frbgen_starcitizen_doctor_wire_dns_lookup_ips');
|
'frbgen_starcitizen_doctor_wire__crate__api__http_api__dns_lookup_ips');
|
||||||
late final _wire_dns_lookup_ips = _wire_dns_lookup_ipsPtr.asFunction<
|
late final _wire__crate__api__http_api__dns_lookup_ips =
|
||||||
|
_wire__crate__api__http_api__dns_lookup_ipsPtr.asFunction<
|
||||||
void Function(int, ffi.Pointer<wire_cst_list_prim_u_8_strict>)>();
|
void Function(int, ffi.Pointer<wire_cst_list_prim_u_8_strict>)>();
|
||||||
|
|
||||||
void wire_dns_lookup_txt(
|
void wire__crate__api__http_api__dns_lookup_txt(
|
||||||
int port_,
|
int port_,
|
||||||
ffi.Pointer<wire_cst_list_prim_u_8_strict> host,
|
ffi.Pointer<wire_cst_list_prim_u_8_strict> host,
|
||||||
) {
|
) {
|
||||||
return _wire_dns_lookup_txt(
|
return _wire__crate__api__http_api__dns_lookup_txt(
|
||||||
port_,
|
port_,
|
||||||
host,
|
host,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
late final _wire_dns_lookup_txtPtr = _lookup<
|
late final _wire__crate__api__http_api__dns_lookup_txtPtr = _lookup<
|
||||||
ffi.NativeFunction<
|
ffi.NativeFunction<
|
||||||
ffi.Void Function(
|
ffi.Void Function(
|
||||||
ffi.Int64, ffi.Pointer<wire_cst_list_prim_u_8_strict>)>>(
|
ffi.Int64, ffi.Pointer<wire_cst_list_prim_u_8_strict>)>>(
|
||||||
'frbgen_starcitizen_doctor_wire_dns_lookup_txt');
|
'frbgen_starcitizen_doctor_wire__crate__api__http_api__dns_lookup_txt');
|
||||||
late final _wire_dns_lookup_txt = _wire_dns_lookup_txtPtr.asFunction<
|
late final _wire__crate__api__http_api__dns_lookup_txt =
|
||||||
|
_wire__crate__api__http_api__dns_lookup_txtPtr.asFunction<
|
||||||
void Function(int, ffi.Pointer<wire_cst_list_prim_u_8_strict>)>();
|
void Function(int, ffi.Pointer<wire_cst_list_prim_u_8_strict>)>();
|
||||||
|
|
||||||
void wire_fetch(
|
void wire__crate__api__http_api__fetch(
|
||||||
int port_,
|
int port_,
|
||||||
int method,
|
int method,
|
||||||
ffi.Pointer<wire_cst_list_prim_u_8_strict> url,
|
ffi.Pointer<wire_cst_list_prim_u_8_strict> url,
|
||||||
@ -618,7 +622,7 @@ class RustLibWire implements BaseWire {
|
|||||||
ffi.Pointer<wire_cst_list_prim_u_8_strict> input_data,
|
ffi.Pointer<wire_cst_list_prim_u_8_strict> input_data,
|
||||||
ffi.Pointer<wire_cst_list_prim_u_8_strict> with_ip_address,
|
ffi.Pointer<wire_cst_list_prim_u_8_strict> with_ip_address,
|
||||||
) {
|
) {
|
||||||
return _wire_fetch(
|
return _wire__crate__api__http_api__fetch(
|
||||||
port_,
|
port_,
|
||||||
method,
|
method,
|
||||||
url,
|
url,
|
||||||
@ -628,7 +632,7 @@ class RustLibWire implements BaseWire {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
late final _wire_fetchPtr = _lookup<
|
late final _wire__crate__api__http_api__fetchPtr = _lookup<
|
||||||
ffi.NativeFunction<
|
ffi.NativeFunction<
|
||||||
ffi.Void Function(
|
ffi.Void Function(
|
||||||
ffi.Int64,
|
ffi.Int64,
|
||||||
@ -637,8 +641,9 @@ class RustLibWire implements BaseWire {
|
|||||||
ffi.Pointer<wire_cst_list_record_string_string>,
|
ffi.Pointer<wire_cst_list_record_string_string>,
|
||||||
ffi.Pointer<wire_cst_list_prim_u_8_strict>,
|
ffi.Pointer<wire_cst_list_prim_u_8_strict>,
|
||||||
ffi.Pointer<wire_cst_list_prim_u_8_strict>)>>(
|
ffi.Pointer<wire_cst_list_prim_u_8_strict>)>>(
|
||||||
'frbgen_starcitizen_doctor_wire_fetch');
|
'frbgen_starcitizen_doctor_wire__crate__api__http_api__fetch');
|
||||||
late final _wire_fetch = _wire_fetchPtr.asFunction<
|
late final _wire__crate__api__http_api__fetch =
|
||||||
|
_wire__crate__api__http_api__fetchPtr.asFunction<
|
||||||
void Function(
|
void Function(
|
||||||
int,
|
int,
|
||||||
int,
|
int,
|
||||||
@ -647,32 +652,34 @@ class RustLibWire implements BaseWire {
|
|||||||
ffi.Pointer<wire_cst_list_prim_u_8_strict>,
|
ffi.Pointer<wire_cst_list_prim_u_8_strict>,
|
||||||
ffi.Pointer<wire_cst_list_prim_u_8_strict>)>();
|
ffi.Pointer<wire_cst_list_prim_u_8_strict>)>();
|
||||||
|
|
||||||
void wire_set_default_header(
|
void wire__crate__api__http_api__set_default_header(
|
||||||
int port_,
|
int port_,
|
||||||
ffi.Pointer<wire_cst_list_record_string_string> headers,
|
ffi.Pointer<wire_cst_list_record_string_string> headers,
|
||||||
) {
|
) {
|
||||||
return _wire_set_default_header(
|
return _wire__crate__api__http_api__set_default_header(
|
||||||
port_,
|
port_,
|
||||||
headers,
|
headers,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
late final _wire_set_default_headerPtr = _lookup<
|
late final _wire__crate__api__http_api__set_default_headerPtr = _lookup<
|
||||||
ffi.NativeFunction<
|
ffi.NativeFunction<
|
||||||
ffi.Void Function(
|
ffi.Void Function(
|
||||||
ffi.Int64, ffi.Pointer<wire_cst_list_record_string_string>)>>(
|
ffi.Int64, ffi.Pointer<wire_cst_list_record_string_string>)>>(
|
||||||
'frbgen_starcitizen_doctor_wire_set_default_header');
|
'frbgen_starcitizen_doctor_wire__crate__api__http_api__set_default_header');
|
||||||
late final _wire_set_default_header = _wire_set_default_headerPtr.asFunction<
|
late final _wire__crate__api__http_api__set_default_header =
|
||||||
void Function(int, ffi.Pointer<wire_cst_list_record_string_string>)>();
|
_wire__crate__api__http_api__set_default_headerPtr.asFunction<
|
||||||
|
void Function(
|
||||||
|
int, ffi.Pointer<wire_cst_list_record_string_string>)>();
|
||||||
|
|
||||||
void wire_start(
|
void wire__crate__api__rs_process__start(
|
||||||
int port_,
|
int port_,
|
||||||
ffi.Pointer<wire_cst_list_prim_u_8_strict> executable,
|
ffi.Pointer<wire_cst_list_prim_u_8_strict> executable,
|
||||||
ffi.Pointer<wire_cst_list_String> arguments,
|
ffi.Pointer<wire_cst_list_String> arguments,
|
||||||
ffi.Pointer<wire_cst_list_prim_u_8_strict> working_directory,
|
ffi.Pointer<wire_cst_list_prim_u_8_strict> working_directory,
|
||||||
ffi.Pointer<wire_cst_list_prim_u_8_strict> stream_sink,
|
ffi.Pointer<wire_cst_list_prim_u_8_strict> stream_sink,
|
||||||
) {
|
) {
|
||||||
return _wire_start(
|
return _wire__crate__api__rs_process__start(
|
||||||
port_,
|
port_,
|
||||||
executable,
|
executable,
|
||||||
arguments,
|
arguments,
|
||||||
@ -681,7 +688,7 @@ class RustLibWire implements BaseWire {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
late final _wire_startPtr = _lookup<
|
late final _wire__crate__api__rs_process__startPtr = _lookup<
|
||||||
ffi.NativeFunction<
|
ffi.NativeFunction<
|
||||||
ffi.Void Function(
|
ffi.Void Function(
|
||||||
ffi.Int64,
|
ffi.Int64,
|
||||||
@ -689,8 +696,9 @@ class RustLibWire implements BaseWire {
|
|||||||
ffi.Pointer<wire_cst_list_String>,
|
ffi.Pointer<wire_cst_list_String>,
|
||||||
ffi.Pointer<wire_cst_list_prim_u_8_strict>,
|
ffi.Pointer<wire_cst_list_prim_u_8_strict>,
|
||||||
ffi.Pointer<wire_cst_list_prim_u_8_strict>)>>(
|
ffi.Pointer<wire_cst_list_prim_u_8_strict>)>>(
|
||||||
'frbgen_starcitizen_doctor_wire_start');
|
'frbgen_starcitizen_doctor_wire__crate__api__rs_process__start');
|
||||||
late final _wire_start = _wire_startPtr.asFunction<
|
late final _wire__crate__api__rs_process__start =
|
||||||
|
_wire__crate__api__rs_process__startPtr.asFunction<
|
||||||
void Function(
|
void Function(
|
||||||
int,
|
int,
|
||||||
ffi.Pointer<wire_cst_list_prim_u_8_strict>,
|
ffi.Pointer<wire_cst_list_prim_u_8_strict>,
|
||||||
@ -698,34 +706,36 @@ class RustLibWire implements BaseWire {
|
|||||||
ffi.Pointer<wire_cst_list_prim_u_8_strict>,
|
ffi.Pointer<wire_cst_list_prim_u_8_strict>,
|
||||||
ffi.Pointer<wire_cst_list_prim_u_8_strict>)>();
|
ffi.Pointer<wire_cst_list_prim_u_8_strict>)>();
|
||||||
|
|
||||||
void wire_write(
|
void wire__crate__api__rs_process__write(
|
||||||
int port_,
|
int port_,
|
||||||
int rs_pid,
|
int rs_pid,
|
||||||
ffi.Pointer<wire_cst_list_prim_u_8_strict> data,
|
ffi.Pointer<wire_cst_list_prim_u_8_strict> data,
|
||||||
) {
|
) {
|
||||||
return _wire_write(
|
return _wire__crate__api__rs_process__write(
|
||||||
port_,
|
port_,
|
||||||
rs_pid,
|
rs_pid,
|
||||||
data,
|
data,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
late final _wire_writePtr = _lookup<
|
late final _wire__crate__api__rs_process__writePtr = _lookup<
|
||||||
ffi.NativeFunction<
|
ffi.NativeFunction<
|
||||||
ffi.Void Function(ffi.Int64, ffi.Uint32,
|
ffi.Void Function(ffi.Int64, ffi.Uint32,
|
||||||
ffi.Pointer<wire_cst_list_prim_u_8_strict>)>>(
|
ffi.Pointer<wire_cst_list_prim_u_8_strict>)>>(
|
||||||
'frbgen_starcitizen_doctor_wire_write');
|
'frbgen_starcitizen_doctor_wire__crate__api__rs_process__write');
|
||||||
late final _wire_write = _wire_writePtr.asFunction<
|
late final _wire__crate__api__rs_process__write =
|
||||||
void Function(int, int, ffi.Pointer<wire_cst_list_prim_u_8_strict>)>();
|
_wire__crate__api__rs_process__writePtr.asFunction<
|
||||||
|
void Function(
|
||||||
|
int, int, ffi.Pointer<wire_cst_list_prim_u_8_strict>)>();
|
||||||
|
|
||||||
void wire_send_notify(
|
void wire__crate__api__win32_api__send_notify(
|
||||||
int port_,
|
int port_,
|
||||||
ffi.Pointer<wire_cst_list_prim_u_8_strict> summary,
|
ffi.Pointer<wire_cst_list_prim_u_8_strict> summary,
|
||||||
ffi.Pointer<wire_cst_list_prim_u_8_strict> body,
|
ffi.Pointer<wire_cst_list_prim_u_8_strict> body,
|
||||||
ffi.Pointer<wire_cst_list_prim_u_8_strict> app_name,
|
ffi.Pointer<wire_cst_list_prim_u_8_strict> app_name,
|
||||||
ffi.Pointer<wire_cst_list_prim_u_8_strict> app_id,
|
ffi.Pointer<wire_cst_list_prim_u_8_strict> app_id,
|
||||||
) {
|
) {
|
||||||
return _wire_send_notify(
|
return _wire__crate__api__win32_api__send_notify(
|
||||||
port_,
|
port_,
|
||||||
summary,
|
summary,
|
||||||
body,
|
body,
|
||||||
@ -734,7 +744,7 @@ class RustLibWire implements BaseWire {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
late final _wire_send_notifyPtr = _lookup<
|
late final _wire__crate__api__win32_api__send_notifyPtr = _lookup<
|
||||||
ffi.NativeFunction<
|
ffi.NativeFunction<
|
||||||
ffi.Void Function(
|
ffi.Void Function(
|
||||||
ffi.Int64,
|
ffi.Int64,
|
||||||
@ -742,8 +752,9 @@ class RustLibWire implements BaseWire {
|
|||||||
ffi.Pointer<wire_cst_list_prim_u_8_strict>,
|
ffi.Pointer<wire_cst_list_prim_u_8_strict>,
|
||||||
ffi.Pointer<wire_cst_list_prim_u_8_strict>,
|
ffi.Pointer<wire_cst_list_prim_u_8_strict>,
|
||||||
ffi.Pointer<wire_cst_list_prim_u_8_strict>)>>(
|
ffi.Pointer<wire_cst_list_prim_u_8_strict>)>>(
|
||||||
'frbgen_starcitizen_doctor_wire_send_notify');
|
'frbgen_starcitizen_doctor_wire__crate__api__win32_api__send_notify');
|
||||||
late final _wire_send_notify = _wire_send_notifyPtr.asFunction<
|
late final _wire__crate__api__win32_api__send_notify =
|
||||||
|
_wire__crate__api__win32_api__send_notifyPtr.asFunction<
|
||||||
void Function(
|
void Function(
|
||||||
int,
|
int,
|
||||||
ffi.Pointer<wire_cst_list_prim_u_8_strict>,
|
ffi.Pointer<wire_cst_list_prim_u_8_strict>,
|
||||||
@ -751,23 +762,23 @@ class RustLibWire implements BaseWire {
|
|||||||
ffi.Pointer<wire_cst_list_prim_u_8_strict>,
|
ffi.Pointer<wire_cst_list_prim_u_8_strict>,
|
||||||
ffi.Pointer<wire_cst_list_prim_u_8_strict>)>();
|
ffi.Pointer<wire_cst_list_prim_u_8_strict>)>();
|
||||||
|
|
||||||
void wire_set_foreground_window(
|
void wire__crate__api__win32_api__set_foreground_window(
|
||||||
int port_,
|
int port_,
|
||||||
ffi.Pointer<wire_cst_list_prim_u_8_strict> window_name,
|
ffi.Pointer<wire_cst_list_prim_u_8_strict> window_name,
|
||||||
) {
|
) {
|
||||||
return _wire_set_foreground_window(
|
return _wire__crate__api__win32_api__set_foreground_window(
|
||||||
port_,
|
port_,
|
||||||
window_name,
|
window_name,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
late final _wire_set_foreground_windowPtr = _lookup<
|
late final _wire__crate__api__win32_api__set_foreground_windowPtr = _lookup<
|
||||||
ffi.NativeFunction<
|
ffi.NativeFunction<
|
||||||
ffi.Void Function(
|
ffi.Void Function(
|
||||||
ffi.Int64, ffi.Pointer<wire_cst_list_prim_u_8_strict>)>>(
|
ffi.Int64, ffi.Pointer<wire_cst_list_prim_u_8_strict>)>>(
|
||||||
'frbgen_starcitizen_doctor_wire_set_foreground_window');
|
'frbgen_starcitizen_doctor_wire__crate__api__win32_api__set_foreground_window');
|
||||||
late final _wire_set_foreground_window =
|
late final _wire__crate__api__win32_api__set_foreground_window =
|
||||||
_wire_set_foreground_windowPtr.asFunction<
|
_wire__crate__api__win32_api__set_foreground_windowPtr.asFunction<
|
||||||
void Function(int, ffi.Pointer<wire_cst_list_prim_u_8_strict>)>();
|
void Function(int, ffi.Pointer<wire_cst_list_prim_u_8_strict>)>();
|
||||||
|
|
||||||
ffi.Pointer<wire_cst_rsi_launcher_asar_data>
|
ffi.Pointer<wire_cst_rsi_launcher_asar_data>
|
||||||
|
@ -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.33.
|
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.35.
|
||||||
|
|
||||||
// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import
|
// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import
|
||||||
|
|
||||||
|
@ -103,7 +103,7 @@ class Aria2cModel extends _$Aria2cModel {
|
|||||||
arguments: [
|
arguments: [
|
||||||
"-V",
|
"-V",
|
||||||
"-c",
|
"-c",
|
||||||
"-x 10",
|
"-x 16",
|
||||||
"--dir=${state.aria2cDir}\\downloads",
|
"--dir=${state.aria2cDir}\\downloads",
|
||||||
"--disable-ipv6",
|
"--disable-ipv6",
|
||||||
"--enable-rpc",
|
"--enable-rpc",
|
||||||
|
@ -151,13 +151,13 @@ class _$Aria2cModelStateImpl
|
|||||||
(identical(other.aria2cDir, aria2cDir) ||
|
(identical(other.aria2cDir, aria2cDir) ||
|
||||||
other.aria2cDir == aria2cDir) &&
|
other.aria2cDir == aria2cDir) &&
|
||||||
(identical(other.aria2c, aria2c) || other.aria2c == aria2c) &&
|
(identical(other.aria2c, aria2c) || other.aria2c == aria2c) &&
|
||||||
const DeepCollectionEquality()
|
(identical(other.aria2globalStat, aria2globalStat) ||
|
||||||
.equals(other.aria2globalStat, aria2globalStat));
|
other.aria2globalStat == aria2globalStat));
|
||||||
}
|
}
|
||||||
|
|
||||||
@override
|
@override
|
||||||
int get hashCode => Object.hash(runtimeType, aria2cDir, aria2c,
|
int get hashCode =>
|
||||||
const DeepCollectionEquality().hash(aria2globalStat));
|
Object.hash(runtimeType, aria2cDir, aria2c, aria2globalStat);
|
||||||
|
|
||||||
@JsonKey(ignore: true)
|
@JsonKey(ignore: true)
|
||||||
@override
|
@override
|
||||||
|
@ -6,7 +6,7 @@ part of 'aria2c.dart';
|
|||||||
// RiverpodGenerator
|
// RiverpodGenerator
|
||||||
// **************************************************************************
|
// **************************************************************************
|
||||||
|
|
||||||
String _$aria2cModelHash() => r'8efef4661876de219510cf3e7e2d86c02405eb26';
|
String _$aria2cModelHash() => r'55dea5bd2e1c81fec0ef8ef1a10f41179775d7ee';
|
||||||
|
|
||||||
/// See also [Aria2cModel].
|
/// See also [Aria2cModel].
|
||||||
@ProviderFor(Aria2cModel)
|
@ProviderFor(Aria2cModel)
|
||||||
|
@ -234,7 +234,7 @@ class _$Unp4kcStateImpl with DiagnosticableTreeMixin implements _Unp4kcState {
|
|||||||
other is _$Unp4kcStateImpl &&
|
other is _$Unp4kcStateImpl &&
|
||||||
(identical(other.startUp, startUp) || other.startUp == startUp) &&
|
(identical(other.startUp, startUp) || other.startUp == startUp) &&
|
||||||
const DeepCollectionEquality().equals(other._files, _files) &&
|
const DeepCollectionEquality().equals(other._files, _files) &&
|
||||||
const DeepCollectionEquality().equals(other.fs, fs) &&
|
(identical(other.fs, fs) || other.fs == fs) &&
|
||||||
(identical(other.curPath, curPath) || other.curPath == curPath) &&
|
(identical(other.curPath, curPath) || other.curPath == curPath) &&
|
||||||
(identical(other.endMessage, endMessage) ||
|
(identical(other.endMessage, endMessage) ||
|
||||||
other.endMessage == endMessage) &&
|
other.endMessage == endMessage) &&
|
||||||
@ -249,7 +249,7 @@ class _$Unp4kcStateImpl with DiagnosticableTreeMixin implements _Unp4kcState {
|
|||||||
runtimeType,
|
runtimeType,
|
||||||
startUp,
|
startUp,
|
||||||
const DeepCollectionEquality().hash(_files),
|
const DeepCollectionEquality().hash(_files),
|
||||||
const DeepCollectionEquality().hash(fs),
|
fs,
|
||||||
curPath,
|
curPath,
|
||||||
endMessage,
|
endMessage,
|
||||||
tempOpenFile,
|
tempOpenFile,
|
||||||
|
@ -190,8 +190,8 @@ class _$HomeDownloaderUIStateImpl implements _HomeDownloaderUIState {
|
|||||||
.equals(other._waitingTasks, _waitingTasks) &&
|
.equals(other._waitingTasks, _waitingTasks) &&
|
||||||
const DeepCollectionEquality()
|
const DeepCollectionEquality()
|
||||||
.equals(other._stoppedTasks, _stoppedTasks) &&
|
.equals(other._stoppedTasks, _stoppedTasks) &&
|
||||||
const DeepCollectionEquality()
|
(identical(other.globalStat, globalStat) ||
|
||||||
.equals(other.globalStat, globalStat));
|
other.globalStat == globalStat));
|
||||||
}
|
}
|
||||||
|
|
||||||
@override
|
@override
|
||||||
@ -200,7 +200,7 @@ class _$HomeDownloaderUIStateImpl implements _HomeDownloaderUIState {
|
|||||||
const DeepCollectionEquality().hash(_tasks),
|
const DeepCollectionEquality().hash(_tasks),
|
||||||
const DeepCollectionEquality().hash(_waitingTasks),
|
const DeepCollectionEquality().hash(_waitingTasks),
|
||||||
const DeepCollectionEquality().hash(_stoppedTasks),
|
const DeepCollectionEquality().hash(_stoppedTasks),
|
||||||
const DeepCollectionEquality().hash(globalStat));
|
globalStat);
|
||||||
|
|
||||||
@JsonKey(ignore: true)
|
@JsonKey(ignore: true)
|
||||||
@override
|
@override
|
||||||
|
@ -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.34
|
flutter_rust_bridge: ^2.0.0-dev.35
|
||||||
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
|
||||||
|
@ -11,7 +11,7 @@ strip = "debuginfo"
|
|||||||
crate-type = ["cdylib", "staticlib"]
|
crate-type = ["cdylib", "staticlib"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
flutter_rust_bridge = "=2.0.0-dev.34"
|
flutter_rust_bridge = "=2.0.0-dev.35"
|
||||||
tokio = { version = "1", features = ["rt", "rt-multi-thread", "macros", "process"] }
|
tokio = { version = "1", features = ["rt", "rt-multi-thread", "macros", "process"] }
|
||||||
futures = { version = "0.3", default-features = false, features = ["executor"] }
|
futures = { version = "0.3", default-features = false, features = ["executor"] }
|
||||||
url = "2.5"
|
url = "2.5"
|
||||||
|
@ -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.33.
|
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.35.
|
||||||
|
|
||||||
// Section: imports
|
// Section: imports
|
||||||
|
|
||||||
@ -209,40 +209,40 @@ impl Default for wire_cst_rust_http_response {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub extern "C" fn frbgen_starcitizen_doctor_wire_get_rsi_launcher_asar_data(
|
pub extern "C" fn frbgen_starcitizen_doctor_wire__crate__api__asar_api__get_rsi_launcher_asar_data(
|
||||||
port_: i64,
|
port_: i64,
|
||||||
asar_path: *mut wire_cst_list_prim_u_8_strict,
|
asar_path: *mut wire_cst_list_prim_u_8_strict,
|
||||||
) {
|
) {
|
||||||
wire_get_rsi_launcher_asar_data_impl(port_, asar_path)
|
wire__crate__api__asar_api__get_rsi_launcher_asar_data_impl(port_, asar_path)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub extern "C" fn frbgen_starcitizen_doctor_wire_rsi_launcher_asar_data_write_main_js(
|
pub extern "C" fn frbgen_starcitizen_doctor_wire__crate__api__asar_api__rsi_launcher_asar_data_write_main_js(
|
||||||
port_: i64,
|
port_: i64,
|
||||||
that: *mut wire_cst_rsi_launcher_asar_data,
|
that: *mut wire_cst_rsi_launcher_asar_data,
|
||||||
content: *mut wire_cst_list_prim_u_8_loose,
|
content: *mut wire_cst_list_prim_u_8_loose,
|
||||||
) {
|
) {
|
||||||
wire_rsi_launcher_asar_data_write_main_js_impl(port_, that, content)
|
wire__crate__api__asar_api__rsi_launcher_asar_data_write_main_js_impl(port_, that, content)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub extern "C" fn frbgen_starcitizen_doctor_wire_dns_lookup_ips(
|
pub extern "C" fn frbgen_starcitizen_doctor_wire__crate__api__http_api__dns_lookup_ips(
|
||||||
port_: i64,
|
port_: i64,
|
||||||
host: *mut wire_cst_list_prim_u_8_strict,
|
host: *mut wire_cst_list_prim_u_8_strict,
|
||||||
) {
|
) {
|
||||||
wire_dns_lookup_ips_impl(port_, host)
|
wire__crate__api__http_api__dns_lookup_ips_impl(port_, host)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub extern "C" fn frbgen_starcitizen_doctor_wire_dns_lookup_txt(
|
pub extern "C" fn frbgen_starcitizen_doctor_wire__crate__api__http_api__dns_lookup_txt(
|
||||||
port_: i64,
|
port_: i64,
|
||||||
host: *mut wire_cst_list_prim_u_8_strict,
|
host: *mut wire_cst_list_prim_u_8_strict,
|
||||||
) {
|
) {
|
||||||
wire_dns_lookup_txt_impl(port_, host)
|
wire__crate__api__http_api__dns_lookup_txt_impl(port_, host)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub extern "C" fn frbgen_starcitizen_doctor_wire_fetch(
|
pub extern "C" fn frbgen_starcitizen_doctor_wire__crate__api__http_api__fetch(
|
||||||
port_: i64,
|
port_: i64,
|
||||||
method: i32,
|
method: i32,
|
||||||
url: *mut wire_cst_list_prim_u_8_strict,
|
url: *mut wire_cst_list_prim_u_8_strict,
|
||||||
@ -250,54 +250,60 @@ pub extern "C" fn frbgen_starcitizen_doctor_wire_fetch(
|
|||||||
input_data: *mut wire_cst_list_prim_u_8_strict,
|
input_data: *mut wire_cst_list_prim_u_8_strict,
|
||||||
with_ip_address: *mut wire_cst_list_prim_u_8_strict,
|
with_ip_address: *mut wire_cst_list_prim_u_8_strict,
|
||||||
) {
|
) {
|
||||||
wire_fetch_impl(port_, method, url, headers, input_data, with_ip_address)
|
wire__crate__api__http_api__fetch_impl(port_, method, url, headers, input_data, with_ip_address)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub extern "C" fn frbgen_starcitizen_doctor_wire_set_default_header(
|
pub extern "C" fn frbgen_starcitizen_doctor_wire__crate__api__http_api__set_default_header(
|
||||||
port_: i64,
|
port_: i64,
|
||||||
headers: *mut wire_cst_list_record_string_string,
|
headers: *mut wire_cst_list_record_string_string,
|
||||||
) {
|
) {
|
||||||
wire_set_default_header_impl(port_, headers)
|
wire__crate__api__http_api__set_default_header_impl(port_, headers)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub extern "C" fn frbgen_starcitizen_doctor_wire_start(
|
pub extern "C" fn frbgen_starcitizen_doctor_wire__crate__api__rs_process__start(
|
||||||
port_: i64,
|
port_: i64,
|
||||||
executable: *mut wire_cst_list_prim_u_8_strict,
|
executable: *mut wire_cst_list_prim_u_8_strict,
|
||||||
arguments: *mut wire_cst_list_String,
|
arguments: *mut wire_cst_list_String,
|
||||||
working_directory: *mut wire_cst_list_prim_u_8_strict,
|
working_directory: *mut wire_cst_list_prim_u_8_strict,
|
||||||
stream_sink: *mut wire_cst_list_prim_u_8_strict,
|
stream_sink: *mut wire_cst_list_prim_u_8_strict,
|
||||||
) {
|
) {
|
||||||
wire_start_impl(port_, executable, arguments, working_directory, stream_sink)
|
wire__crate__api__rs_process__start_impl(
|
||||||
|
port_,
|
||||||
|
executable,
|
||||||
|
arguments,
|
||||||
|
working_directory,
|
||||||
|
stream_sink,
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub extern "C" fn frbgen_starcitizen_doctor_wire_write(
|
pub extern "C" fn frbgen_starcitizen_doctor_wire__crate__api__rs_process__write(
|
||||||
port_: i64,
|
port_: i64,
|
||||||
rs_pid: u32,
|
rs_pid: u32,
|
||||||
data: *mut wire_cst_list_prim_u_8_strict,
|
data: *mut wire_cst_list_prim_u_8_strict,
|
||||||
) {
|
) {
|
||||||
wire_write_impl(port_, rs_pid, data)
|
wire__crate__api__rs_process__write_impl(port_, rs_pid, data)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub extern "C" fn frbgen_starcitizen_doctor_wire_send_notify(
|
pub extern "C" fn frbgen_starcitizen_doctor_wire__crate__api__win32_api__send_notify(
|
||||||
port_: i64,
|
port_: i64,
|
||||||
summary: *mut wire_cst_list_prim_u_8_strict,
|
summary: *mut wire_cst_list_prim_u_8_strict,
|
||||||
body: *mut wire_cst_list_prim_u_8_strict,
|
body: *mut wire_cst_list_prim_u_8_strict,
|
||||||
app_name: *mut wire_cst_list_prim_u_8_strict,
|
app_name: *mut wire_cst_list_prim_u_8_strict,
|
||||||
app_id: *mut wire_cst_list_prim_u_8_strict,
|
app_id: *mut wire_cst_list_prim_u_8_strict,
|
||||||
) {
|
) {
|
||||||
wire_send_notify_impl(port_, summary, body, app_name, app_id)
|
wire__crate__api__win32_api__send_notify_impl(port_, summary, body, app_name, app_id)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub extern "C" fn frbgen_starcitizen_doctor_wire_set_foreground_window(
|
pub extern "C" fn frbgen_starcitizen_doctor_wire__crate__api__win32_api__set_foreground_window(
|
||||||
port_: i64,
|
port_: i64,
|
||||||
window_name: *mut wire_cst_list_prim_u_8_strict,
|
window_name: *mut wire_cst_list_prim_u_8_strict,
|
||||||
) {
|
) {
|
||||||
wire_set_foreground_window_impl(port_, window_name)
|
wire__crate__api__win32_api__set_foreground_window_impl(port_, window_name)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
|
@ -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.33.
|
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.35.
|
||||||
|
|
||||||
#![allow(
|
#![allow(
|
||||||
non_camel_case_types,
|
non_camel_case_types,
|
||||||
@ -14,7 +14,8 @@
|
|||||||
clippy::double_parens,
|
clippy::double_parens,
|
||||||
clippy::let_and_return,
|
clippy::let_and_return,
|
||||||
clippy::too_many_arguments,
|
clippy::too_many_arguments,
|
||||||
clippy::match_single_binding
|
clippy::match_single_binding,
|
||||||
|
clippy::let_unit_value
|
||||||
)]
|
)]
|
||||||
|
|
||||||
// Section: imports
|
// Section: imports
|
||||||
@ -30,7 +31,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.33";
|
pub(crate) const FLUTTER_RUST_BRIDGE_CODEGEN_VERSION: &str = "2.0.0-dev.35";
|
||||||
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
|
||||||
@ -39,7 +40,7 @@ flutter_rust_bridge::frb_generated_default_handler!();
|
|||||||
|
|
||||||
// Section: wire_funcs
|
// Section: wire_funcs
|
||||||
|
|
||||||
fn wire_get_rsi_launcher_asar_data_impl(
|
fn wire__crate__api__asar_api__get_rsi_launcher_asar_data_impl(
|
||||||
port_: flutter_rust_bridge::for_generated::MessagePort,
|
port_: flutter_rust_bridge::for_generated::MessagePort,
|
||||||
asar_path: impl CstDecode<String>,
|
asar_path: impl CstDecode<String>,
|
||||||
) {
|
) {
|
||||||
@ -62,7 +63,7 @@ fn wire_get_rsi_launcher_asar_data_impl(
|
|||||||
},
|
},
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
fn wire_rsi_launcher_asar_data_write_main_js_impl(
|
fn wire__crate__api__asar_api__rsi_launcher_asar_data_write_main_js_impl(
|
||||||
port_: flutter_rust_bridge::for_generated::MessagePort,
|
port_: flutter_rust_bridge::for_generated::MessagePort,
|
||||||
that: impl CstDecode<crate::api::asar_api::RsiLauncherAsarData>,
|
that: impl CstDecode<crate::api::asar_api::RsiLauncherAsarData>,
|
||||||
content: impl CstDecode<Vec<u8>>,
|
content: impl CstDecode<Vec<u8>>,
|
||||||
@ -91,7 +92,7 @@ fn wire_rsi_launcher_asar_data_write_main_js_impl(
|
|||||||
},
|
},
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
fn wire_dns_lookup_ips_impl(
|
fn wire__crate__api__http_api__dns_lookup_ips_impl(
|
||||||
port_: flutter_rust_bridge::for_generated::MessagePort,
|
port_: flutter_rust_bridge::for_generated::MessagePort,
|
||||||
host: impl CstDecode<String>,
|
host: impl CstDecode<String>,
|
||||||
) {
|
) {
|
||||||
@ -112,7 +113,7 @@ fn wire_dns_lookup_ips_impl(
|
|||||||
},
|
},
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
fn wire_dns_lookup_txt_impl(
|
fn wire__crate__api__http_api__dns_lookup_txt_impl(
|
||||||
port_: flutter_rust_bridge::for_generated::MessagePort,
|
port_: flutter_rust_bridge::for_generated::MessagePort,
|
||||||
host: impl CstDecode<String>,
|
host: impl CstDecode<String>,
|
||||||
) {
|
) {
|
||||||
@ -133,7 +134,7 @@ fn wire_dns_lookup_txt_impl(
|
|||||||
},
|
},
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
fn wire_fetch_impl(
|
fn wire__crate__api__http_api__fetch_impl(
|
||||||
port_: flutter_rust_bridge::for_generated::MessagePort,
|
port_: flutter_rust_bridge::for_generated::MessagePort,
|
||||||
method: impl CstDecode<crate::api::http_api::MyMethod>,
|
method: impl CstDecode<crate::api::http_api::MyMethod>,
|
||||||
url: impl CstDecode<String>,
|
url: impl CstDecode<String>,
|
||||||
@ -171,7 +172,7 @@ fn wire_fetch_impl(
|
|||||||
},
|
},
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
fn wire_set_default_header_impl(
|
fn wire__crate__api__http_api__set_default_header_impl(
|
||||||
port_: flutter_rust_bridge::for_generated::MessagePort,
|
port_: flutter_rust_bridge::for_generated::MessagePort,
|
||||||
headers: impl CstDecode<std::collections::HashMap<String, String>>,
|
headers: impl CstDecode<std::collections::HashMap<String, String>>,
|
||||||
) {
|
) {
|
||||||
@ -191,7 +192,7 @@ fn wire_set_default_header_impl(
|
|||||||
},
|
},
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
fn wire_start_impl(
|
fn wire__crate__api__rs_process__start_impl(
|
||||||
port_: flutter_rust_bridge::for_generated::MessagePort,
|
port_: flutter_rust_bridge::for_generated::MessagePort,
|
||||||
executable: impl CstDecode<String>,
|
executable: impl CstDecode<String>,
|
||||||
arguments: impl CstDecode<Vec<String>>,
|
arguments: impl CstDecode<Vec<String>>,
|
||||||
@ -233,7 +234,7 @@ fn wire_start_impl(
|
|||||||
},
|
},
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
fn wire_write_impl(
|
fn wire__crate__api__rs_process__write_impl(
|
||||||
port_: flutter_rust_bridge::for_generated::MessagePort,
|
port_: flutter_rust_bridge::for_generated::MessagePort,
|
||||||
rs_pid: impl CstDecode<u32>,
|
rs_pid: impl CstDecode<u32>,
|
||||||
data: impl CstDecode<String>,
|
data: impl CstDecode<String>,
|
||||||
@ -260,7 +261,7 @@ fn wire_write_impl(
|
|||||||
},
|
},
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
fn wire_send_notify_impl(
|
fn wire__crate__api__win32_api__send_notify_impl(
|
||||||
port_: flutter_rust_bridge::for_generated::MessagePort,
|
port_: flutter_rust_bridge::for_generated::MessagePort,
|
||||||
summary: impl CstDecode<Option<String>>,
|
summary: impl CstDecode<Option<String>>,
|
||||||
body: impl CstDecode<Option<String>>,
|
body: impl CstDecode<Option<String>>,
|
||||||
@ -291,7 +292,7 @@ fn wire_send_notify_impl(
|
|||||||
},
|
},
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
fn wire_set_foreground_window_impl(
|
fn wire__crate__api__win32_api__set_foreground_window_impl(
|
||||||
port_: flutter_rust_bridge::for_generated::MessagePort,
|
port_: flutter_rust_bridge::for_generated::MessagePort,
|
||||||
window_name: impl CstDecode<String>,
|
window_name: impl CstDecode<String>,
|
||||||
) {
|
) {
|
||||||
@ -395,7 +396,8 @@ impl CstDecode<u8> for u8 {
|
|||||||
impl SseDecode for flutter_rust_bridge::for_generated::anyhow::Error {
|
impl SseDecode for flutter_rust_bridge::for_generated::anyhow::Error {
|
||||||
// Codec=Sse (Serialization based), see doc to use other codecs
|
// Codec=Sse (Serialization based), see doc to use other codecs
|
||||||
fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self {
|
fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self {
|
||||||
unreachable!("");
|
let mut inner = <String>::sse_decode(deserializer);
|
||||||
|
return anyhow::anyhow!("{}", inner);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user