|
5 | 5 |
|
6 | 6 | import 'api/client.dart';
|
7 | 7 | import 'api/client/builder.dart';
|
| 8 | +import 'api/client/notification.dart'; |
8 | 9 | import 'api/client/options.dart';
|
9 | 10 | import 'api/client/output.dart';
|
10 | 11 | import 'api/protocol/event.dart';
|
@@ -32,6 +33,10 @@ abstract class NostrSdkApiImplPlatform extends BaseApiImpl<NostrSdkWire> {
|
32 | 33 | required super.portManager,
|
33 | 34 | });
|
34 | 35 |
|
| 36 | + CrossPlatformFinalizerArg |
| 37 | + get rust_arc_decrement_strong_count_RelayPoolNotificationPtr => wire |
| 38 | + ._rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRelayPoolNotificationPtr; |
| 39 | + |
35 | 40 | CrossPlatformFinalizerArg get rust_arc_decrement_strong_count_ClientPtr => wire
|
36 | 41 | ._rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInner_ClientPtr;
|
37 | 42 |
|
@@ -86,6 +91,11 @@ abstract class NostrSdkApiImplPlatform extends BaseApiImpl<NostrSdkWire> {
|
86 | 91 | @protected
|
87 | 92 | AnyhowException dco_decode_AnyhowException(dynamic raw);
|
88 | 93 |
|
| 94 | + @protected |
| 95 | + RelayPoolNotification |
| 96 | + dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRelayPoolNotification( |
| 97 | + dynamic raw); |
| 98 | + |
89 | 99 | @protected
|
90 | 100 | Client
|
91 | 101 | dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInner_Client(
|
@@ -240,6 +250,11 @@ abstract class NostrSdkApiImplPlatform extends BaseApiImpl<NostrSdkWire> {
|
240 | 250 | @protected
|
241 | 251 | Map<String, String> dco_decode_Map_String_String(dynamic raw);
|
242 | 252 |
|
| 253 | + @protected |
| 254 | + RelayPoolNotification |
| 255 | + dco_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRelayPoolNotification( |
| 256 | + dynamic raw); |
| 257 | + |
243 | 258 | @protected
|
244 | 259 | Client
|
245 | 260 | dco_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInner_Client(
|
@@ -317,6 +332,11 @@ abstract class NostrSdkApiImplPlatform extends BaseApiImpl<NostrSdkWire> {
|
317 | 332 | @protected
|
318 | 333 | Set<String> dco_decode_Set_String(dynamic raw);
|
319 | 334 |
|
| 335 | + @protected |
| 336 | + RustStreamSink<RelayPoolNotification> |
| 337 | + dco_decode_StreamSink_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRelayPoolNotification_Sse( |
| 338 | + dynamic raw); |
| 339 | + |
320 | 340 | @protected
|
321 | 341 | String dco_decode_String(dynamic raw);
|
322 | 342 |
|
@@ -424,6 +444,11 @@ abstract class NostrSdkApiImplPlatform extends BaseApiImpl<NostrSdkWire> {
|
424 | 444 | @protected
|
425 | 445 | AnyhowException sse_decode_AnyhowException(SseDeserializer deserializer);
|
426 | 446 |
|
| 447 | + @protected |
| 448 | + RelayPoolNotification |
| 449 | + sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRelayPoolNotification( |
| 450 | + SseDeserializer deserializer); |
| 451 | + |
427 | 452 | @protected
|
428 | 453 | Client
|
429 | 454 | sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInner_Client(
|
@@ -579,6 +604,11 @@ abstract class NostrSdkApiImplPlatform extends BaseApiImpl<NostrSdkWire> {
|
579 | 604 | Map<String, String> sse_decode_Map_String_String(
|
580 | 605 | SseDeserializer deserializer);
|
581 | 606 |
|
| 607 | + @protected |
| 608 | + RelayPoolNotification |
| 609 | + sse_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRelayPoolNotification( |
| 610 | + SseDeserializer deserializer); |
| 611 | + |
582 | 612 | @protected
|
583 | 613 | Client
|
584 | 614 | sse_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInner_Client(
|
@@ -656,6 +686,11 @@ abstract class NostrSdkApiImplPlatform extends BaseApiImpl<NostrSdkWire> {
|
656 | 686 | @protected
|
657 | 687 | Set<String> sse_decode_Set_String(SseDeserializer deserializer);
|
658 | 688 |
|
| 689 | + @protected |
| 690 | + RustStreamSink<RelayPoolNotification> |
| 691 | + sse_decode_StreamSink_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRelayPoolNotification_Sse( |
| 692 | + SseDeserializer deserializer); |
| 693 | + |
659 | 694 | @protected
|
660 | 695 | String sse_decode_String(SseDeserializer deserializer);
|
661 | 696 |
|
@@ -767,6 +802,11 @@ abstract class NostrSdkApiImplPlatform extends BaseApiImpl<NostrSdkWire> {
|
767 | 802 | void sse_encode_AnyhowException(
|
768 | 803 | AnyhowException self, SseSerializer serializer);
|
769 | 804 |
|
| 805 | + @protected |
| 806 | + void |
| 807 | + sse_encode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRelayPoolNotification( |
| 808 | + RelayPoolNotification self, SseSerializer serializer); |
| 809 | + |
770 | 810 | @protected
|
771 | 811 | void
|
772 | 812 | sse_encode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInner_Client(
|
@@ -924,6 +964,11 @@ abstract class NostrSdkApiImplPlatform extends BaseApiImpl<NostrSdkWire> {
|
924 | 964 | void sse_encode_Map_String_String(
|
925 | 965 | Map<String, String> self, SseSerializer serializer);
|
926 | 966 |
|
| 967 | + @protected |
| 968 | + void |
| 969 | + sse_encode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRelayPoolNotification( |
| 970 | + RelayPoolNotification self, SseSerializer serializer); |
| 971 | + |
927 | 972 | @protected
|
928 | 973 | void
|
929 | 974 | sse_encode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInner_Client(
|
@@ -1002,6 +1047,11 @@ abstract class NostrSdkApiImplPlatform extends BaseApiImpl<NostrSdkWire> {
|
1002 | 1047 | @protected
|
1003 | 1048 | void sse_encode_Set_String(Set<String> self, SseSerializer serializer);
|
1004 | 1049 |
|
| 1050 | + @protected |
| 1051 | + void |
| 1052 | + sse_encode_StreamSink_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRelayPoolNotification_Sse( |
| 1053 | + RustStreamSink<RelayPoolNotification> self, SseSerializer serializer); |
| 1054 | + |
1005 | 1055 | @protected
|
1006 | 1056 | void sse_encode_String(String self, SseSerializer serializer);
|
1007 | 1057 |
|
@@ -1130,6 +1180,38 @@ class NostrSdkWire implements BaseWire {
|
1130 | 1180 | NostrSdkWire(ffi.DynamicLibrary dynamicLibrary)
|
1131 | 1181 | : _lookup = dynamicLibrary.lookup;
|
1132 | 1182 |
|
| 1183 | + void |
| 1184 | + rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRelayPoolNotification( |
| 1185 | + ffi.Pointer<ffi.Void> ptr, |
| 1186 | + ) { |
| 1187 | + return _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRelayPoolNotification( |
| 1188 | + ptr, |
| 1189 | + ); |
| 1190 | + } |
| 1191 | + |
| 1192 | + late final _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRelayPoolNotificationPtr = |
| 1193 | + _lookup<ffi.NativeFunction<ffi.Void Function(ffi.Pointer<ffi.Void>)>>( |
| 1194 | + 'frbgen_nostr_sdk_rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRelayPoolNotification'); |
| 1195 | + late final _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRelayPoolNotification = |
| 1196 | + _rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRelayPoolNotificationPtr |
| 1197 | + .asFunction<void Function(ffi.Pointer<ffi.Void>)>(); |
| 1198 | + |
| 1199 | + void |
| 1200 | + rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRelayPoolNotification( |
| 1201 | + ffi.Pointer<ffi.Void> ptr, |
| 1202 | + ) { |
| 1203 | + return _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRelayPoolNotification( |
| 1204 | + ptr, |
| 1205 | + ); |
| 1206 | + } |
| 1207 | + |
| 1208 | + late final _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRelayPoolNotificationPtr = |
| 1209 | + _lookup<ffi.NativeFunction<ffi.Void Function(ffi.Pointer<ffi.Void>)>>( |
| 1210 | + 'frbgen_nostr_sdk_rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRelayPoolNotification'); |
| 1211 | + late final _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRelayPoolNotification = |
| 1212 | + _rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRelayPoolNotificationPtr |
| 1213 | + .asFunction<void Function(ffi.Pointer<ffi.Void>)>(); |
| 1214 | + |
1133 | 1215 | void
|
1134 | 1216 | rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInner_Client(
|
1135 | 1217 | ffi.Pointer<ffi.Void> ptr,
|
|
0 commit comments