@npaw/forge-react-native 10.0.4 → 10.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/android/build.gradle +1 -1
  2. package/android/src/main/java/com/npaw/forge/reactnative/ForgeDtoMapper.java +14 -0
  3. package/android/src/main/java/com/npaw/forge/reactnative/NPAWForgeModule.java +82 -0
  4. package/ios/ForgeApple/ForgeKernelFFI.xcframework/Info.plist +9 -9
  5. package/ios/ForgeApple/ForgeKernelFFI.xcframework/ios-arm64/Headers/forge_kernelFFI.h +71 -0
  6. package/ios/ForgeApple/ForgeKernelFFI.xcframework/ios-arm64/libForgeKernelFFI.a +0 -0
  7. package/ios/ForgeApple/ForgeKernelFFI.xcframework/ios-arm64_x86_64-simulator/Headers/forge_kernelFFI.h +71 -0
  8. package/ios/ForgeApple/ForgeKernelFFI.xcframework/ios-arm64_x86_64-simulator/libForgeKernelFFI.a +0 -0
  9. package/ios/ForgeApple/ForgeKernelFFI.xcframework/tvos-arm64/Headers/forge_kernelFFI.h +71 -0
  10. package/ios/ForgeApple/ForgeKernelFFI.xcframework/tvos-arm64/libForgeKernelFFI.a +0 -0
  11. package/ios/ForgeApple/ForgeKernelFFI.xcframework/tvos-arm64-simulator/Headers/forge_kernelFFI.h +71 -0
  12. package/ios/ForgeApple/ForgeKernelFFI.xcframework/tvos-arm64-simulator/libForgeKernelFFI.a +0 -0
  13. package/ios/ForgeApple/Sources/ForgeKernelUniFFI/forge_kernel.swift +250 -0
  14. package/ios/ForgeApple/Sources/ForgeKernelUniFFI/forge_kernelFFI.h +71 -0
  15. package/ios/ForgeApple/Sources/NPAWForgeCore/ForgeApple.swift +147 -6
  16. package/ios/ForgeApple/Sources/NPAWForgeCore/ForgeCommands.swift +113 -0
  17. package/ios/ForgeApple/Sources/NPAWForgeCore/ForgeRuntime.swift +72 -2
  18. package/ios/ForgeApple/Sources/NPAWForgeCore/NPAWForge.swift +46 -2
  19. package/ios/ForgeApple/Sources/NPAWForgeCore/NativeUniFFIRuntime.swift +53 -0
  20. package/ios/ForgeApple/Sources/NPAWForgeCore/ObjectiveCWrappers.swift +14 -0
  21. package/ios/ForgeModuleImpl.swift +66 -0
  22. package/ios/NPAWForgeTurboModule.mm +16 -1
  23. package/package.json +1 -1
  24. package/src/NPAWForge.ts +131 -1
  25. package/src/events.ts +17 -0
  26. package/src/index.ts +6 -2
  27. package/src/specs/NativeNPAWForge.ts +9 -0
  28. package/src/types.ts +21 -0
@@ -249,6 +249,13 @@ typedef void (*UniffiCallbackInterfaceAppleCapturePlanListenerMethod0)(uint64_t,
249
249
  RustCallStatus *_Nonnull uniffiCallStatus
250
250
  );
251
251
 
252
+ #endif
253
+ #ifndef UNIFFI_FFIDEF_CALLBACK_INTERFACE_APPLE_COMMAND_LISTENER_METHOD0
254
+ #define UNIFFI_FFIDEF_CALLBACK_INTERFACE_APPLE_COMMAND_LISTENER_METHOD0
255
+ typedef void (*UniffiCallbackInterfaceAppleCommandListenerMethod0)(uint64_t, RustBuffer, void* _Nonnull,
256
+ RustCallStatus *_Nonnull uniffiCallStatus
257
+ );
258
+
252
259
  #endif
253
260
  #ifndef UNIFFI_FFIDEF_CALLBACK_INTERFACE_APPLE_CONTENT_METADATA_PROVIDER_METHOD0
254
261
  #define UNIFFI_FFIDEF_CALLBACK_INTERFACE_APPLE_CONTENT_METADATA_PROVIDER_METHOD0
@@ -293,6 +300,15 @@ typedef struct UniffiVTableCallbackInterfaceAppleCapturePlanListener {
293
300
  UniffiCallbackInterfaceAppleCapturePlanListenerMethod0 _Nonnull onPlan;
294
301
  } UniffiVTableCallbackInterfaceAppleCapturePlanListener;
295
302
 
303
+ #endif
304
+ #ifndef UNIFFI_FFIDEF_V_TABLE_CALLBACK_INTERFACE_APPLE_COMMAND_LISTENER
305
+ #define UNIFFI_FFIDEF_V_TABLE_CALLBACK_INTERFACE_APPLE_COMMAND_LISTENER
306
+ typedef struct UniffiVTableCallbackInterfaceAppleCommandListener {
307
+ UniffiCallbackInterfaceFree _Nonnull uniffiFree;
308
+ UniffiCallbackInterfaceClone _Nonnull uniffiClone;
309
+ UniffiCallbackInterfaceAppleCommandListenerMethod0 _Nonnull onCommand;
310
+ } UniffiVTableCallbackInterfaceAppleCommandListener;
311
+
296
312
  #endif
297
313
  #ifndef UNIFFI_FFIDEF_V_TABLE_CALLBACK_INTERFACE_APPLE_CONTENT_METADATA_PROVIDER
298
314
  #define UNIFFI_FFIDEF_V_TABLE_CALLBACK_INTERFACE_APPLE_CONTENT_METADATA_PROVIDER
@@ -354,6 +370,11 @@ void uniffi_forge_kernel_uniffi_fn_free_forgeruntimebridge(uint64_t handle, Rust
354
370
  uint64_t uniffi_forge_kernel_uniffi_fn_constructor_forgeruntimebridge_new(RustBuffer config, RustCallStatus *_Nonnull out_status
355
371
  );
356
372
  #endif
373
+ #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_ANSWER_COMMAND
374
+ #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_ANSWER_COMMAND
375
+ RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_answer_command(uint64_t ptr, RustBuffer command_id, int8_t handled, RustBuffer details, RustCallStatus *_Nonnull out_status
376
+ );
377
+ #endif
357
378
  #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_CAPTURE_PLAN
358
379
  #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_CAPTURE_PLAN
359
380
  RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_capture_plan(uint64_t ptr, RustCallStatus *_Nonnull out_status
@@ -364,6 +385,11 @@ RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_capture_plan(
364
385
  RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_clear_capture_plan_listener(uint64_t ptr, RustCallStatus *_Nonnull out_status
365
386
  );
366
387
  #endif
388
+ #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_CLEAR_COMMAND_LISTENER
389
+ #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_CLEAR_COMMAND_LISTENER
390
+ RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_clear_command_listener(uint64_t ptr, RustCallStatus *_Nonnull out_status
391
+ );
392
+ #endif
367
393
  #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_CLEAR_CONTENT_METADATA_PROVIDER
368
394
  #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_CLEAR_CONTENT_METADATA_PROVIDER
369
395
  RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_clear_content_metadata_provider(uint64_t ptr, uint64_t view_id, RustCallStatus *_Nonnull out_status
@@ -454,6 +480,16 @@ RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_set_auto_conn
454
480
  RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_set_capture_plan_listener(uint64_t ptr, uint64_t listener, RustCallStatus *_Nonnull out_status
455
481
  );
456
482
  #endif
483
+ #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_SET_COMMAND_LISTENER
484
+ #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_SET_COMMAND_LISTENER
485
+ RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_set_command_listener(uint64_t ptr, uint64_t listener, RustCallStatus *_Nonnull out_status
486
+ );
487
+ #endif
488
+ #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_SET_COMMAND_SUBSCRIPTIONS
489
+ #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_SET_COMMAND_SUBSCRIPTIONS
490
+ RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_set_command_subscriptions(uint64_t ptr, RustBuffer names, RustCallStatus *_Nonnull out_status
491
+ );
492
+ #endif
457
493
  #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_SET_CONTENT_METADATA_PROVIDER
458
494
  #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_SET_CONTENT_METADATA_PROVIDER
459
495
  RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_set_content_metadata_provider(uint64_t ptr, uint64_t view_id, uint64_t provider, RustCallStatus *_Nonnull out_status
@@ -499,6 +535,11 @@ RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_start(uint64_
499
535
  void uniffi_forge_kernel_uniffi_fn_init_callback_vtable_applecaptureplanlistener(const UniffiVTableCallbackInterfaceAppleCapturePlanListener* _Nonnull vtable
500
536
  );
501
537
  #endif
538
+ #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_INIT_CALLBACK_VTABLE_APPLECOMMANDLISTENER
539
+ #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_INIT_CALLBACK_VTABLE_APPLECOMMANDLISTENER
540
+ void uniffi_forge_kernel_uniffi_fn_init_callback_vtable_applecommandlistener(const UniffiVTableCallbackInterfaceAppleCommandListener* _Nonnull vtable
541
+ );
542
+ #endif
502
543
  #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_INIT_CALLBACK_VTABLE_APPLECONTENTMETADATAPROVIDER
503
544
  #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_INIT_CALLBACK_VTABLE_APPLECONTENTMETADATAPROVIDER
504
545
  void uniffi_forge_kernel_uniffi_fn_init_callback_vtable_applecontentmetadataprovider(const UniffiVTableCallbackInterfaceAppleContentMetadataProvider* _Nonnull vtable
@@ -794,6 +835,12 @@ void ffi_forge_kernel_uniffi_rust_future_complete_void(uint64_t handle, RustCall
794
835
  #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_FUNC_FORGE_PLUGIN_VERSION
795
836
  uint16_t uniffi_forge_kernel_uniffi_checksum_func_forge_plugin_version(void
796
837
 
838
+ );
839
+ #endif
840
+ #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_ANSWER_COMMAND
841
+ #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_ANSWER_COMMAND
842
+ uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_answer_command(void
843
+
797
844
  );
798
845
  #endif
799
846
  #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_CAPTURE_PLAN
@@ -806,6 +853,12 @@ uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_capture_p
806
853
  #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_CLEAR_CAPTURE_PLAN_LISTENER
807
854
  uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_clear_capture_plan_listener(void
808
855
 
856
+ );
857
+ #endif
858
+ #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_CLEAR_COMMAND_LISTENER
859
+ #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_CLEAR_COMMAND_LISTENER
860
+ uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_clear_command_listener(void
861
+
809
862
  );
810
863
  #endif
811
864
  #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_CLEAR_CONTENT_METADATA_PROVIDER
@@ -914,6 +967,18 @@ uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_set_auto_
914
967
  #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_SET_CAPTURE_PLAN_LISTENER
915
968
  uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_set_capture_plan_listener(void
916
969
 
970
+ );
971
+ #endif
972
+ #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_SET_COMMAND_LISTENER
973
+ #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_SET_COMMAND_LISTENER
974
+ uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_set_command_listener(void
975
+
976
+ );
977
+ #endif
978
+ #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_SET_COMMAND_SUBSCRIPTIONS
979
+ #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_SET_COMMAND_SUBSCRIPTIONS
980
+ uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_set_command_subscriptions(void
981
+
917
982
  );
918
983
  #endif
919
984
  #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_SET_CONTENT_METADATA_PROVIDER
@@ -974,6 +1039,12 @@ uint16_t uniffi_forge_kernel_uniffi_checksum_constructor_forgeruntimebridge_new(
974
1039
  #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_APPLECAPTUREPLANLISTENER_ON_PLAN
975
1040
  uint16_t uniffi_forge_kernel_uniffi_checksum_method_applecaptureplanlistener_on_plan(void
976
1041
 
1042
+ );
1043
+ #endif
1044
+ #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_APPLECOMMANDLISTENER_ON_COMMAND
1045
+ #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_APPLECOMMANDLISTENER_ON_COMMAND
1046
+ uint16_t uniffi_forge_kernel_uniffi_checksum_method_applecommandlistener_on_command(void
1047
+
977
1048
  );
978
1049
  #endif
979
1050
  #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_APPLECONTENTMETADATAPROVIDER_METADATA_SNAPSHOT
@@ -615,10 +615,14 @@ fileprivate struct FfiConverterString: FfiConverter {
615
615
 
616
616
  public protocol ForgeRuntimeBridgeProtocol: AnyObject, Sendable {
617
617
 
618
+ func answerCommand(commandId: String, handled: Bool, details: [String: String]) -> AppleBindingOutcome
619
+
618
620
  func capturePlan() -> AppleCapturePlan?
619
621
 
620
622
  func clearCapturePlanListener() -> AppleBindingOutcome
621
623
 
624
+ func clearCommandListener() -> AppleBindingOutcome
625
+
622
626
  func clearContentMetadataProvider(viewId: UInt64) -> AppleBindingOutcome
623
627
 
624
628
  func clearDeviceSampleListener() -> AppleBindingOutcome
@@ -655,6 +659,10 @@ public protocol ForgeRuntimeBridgeProtocol: AnyObject, Sendable {
655
659
 
656
660
  func setCapturePlanListener(listener: AppleCapturePlanListener) -> AppleBindingOutcome
657
661
 
662
+ func setCommandListener(listener: AppleCommandListener) -> AppleBindingOutcome
663
+
664
+ func setCommandSubscriptions(names: [String]) -> AppleBindingOutcome
665
+
658
666
  func setContentMetadataProvider(viewId: UInt64, provider: AppleContentMetadataProvider) -> AppleBindingOutcome
659
667
 
660
668
  func setDeviceSampleListener(listener: AppleDeviceSampleListener) -> AppleBindingOutcome
@@ -733,6 +741,17 @@ public convenience init(config: AppleRuntimeConfig) {
733
741
 
734
742
 
735
743
 
744
+ open func answerCommand(commandId: String, handled: Bool, details: [String: String]) -> AppleBindingOutcome {
745
+ return try! FfiConverterTypeAppleBindingOutcome_lift(try! rustCall() {
746
+ uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_answer_command(
747
+ self.uniffiCloneHandle(),
748
+ FfiConverterString.lower(commandId),
749
+ FfiConverterBool.lower(handled),
750
+ FfiConverterDictionaryStringString.lower(details),$0
751
+ )
752
+ })
753
+ }
754
+
736
755
  open func capturePlan() -> AppleCapturePlan? {
737
756
  return try! FfiConverterOptionTypeAppleCapturePlan.lift(try! rustCall() {
738
757
  uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_capture_plan(
@@ -749,6 +768,14 @@ open func clearCapturePlanListener() -> AppleBindingOutcome {
749
768
  })
750
769
  }
751
770
 
771
+ open func clearCommandListener() -> AppleBindingOutcome {
772
+ return try! FfiConverterTypeAppleBindingOutcome_lift(try! rustCall() {
773
+ uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_clear_command_listener(
774
+ self.uniffiCloneHandle(),$0
775
+ )
776
+ })
777
+ }
778
+
752
779
  open func clearContentMetadataProvider(viewId: UInt64) -> AppleBindingOutcome {
753
780
  return try! FfiConverterTypeAppleBindingOutcome_lift(try! rustCall() {
754
781
  uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_clear_content_metadata_provider(
@@ -927,6 +954,24 @@ open func setCapturePlanListener(listener: AppleCapturePlanListener) -> AppleBin
927
954
  })
928
955
  }
929
956
 
957
+ open func setCommandListener(listener: AppleCommandListener) -> AppleBindingOutcome {
958
+ return try! FfiConverterTypeAppleBindingOutcome_lift(try! rustCall() {
959
+ uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_set_command_listener(
960
+ self.uniffiCloneHandle(),
961
+ FfiConverterCallbackInterfaceAppleCommandListener_lower(listener),$0
962
+ )
963
+ })
964
+ }
965
+
966
+ open func setCommandSubscriptions(names: [String]) -> AppleBindingOutcome {
967
+ return try! FfiConverterTypeAppleBindingOutcome_lift(try! rustCall() {
968
+ uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_set_command_subscriptions(
969
+ self.uniffiCloneHandle(),
970
+ FfiConverterSequenceString.lower(names),$0
971
+ )
972
+ })
973
+ }
974
+
930
975
  open func setContentMetadataProvider(viewId: UInt64, provider: AppleContentMetadataProvider) -> AppleBindingOutcome {
931
976
  return try! FfiConverterTypeAppleBindingOutcome_lift(try! rustCall() {
932
977
  uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_set_content_metadata_provider(
@@ -1428,6 +1473,64 @@ public func FfiConverterTypeAppleCapturePlan_lower(_ value: AppleCapturePlan) ->
1428
1473
  }
1429
1474
 
1430
1475
 
1476
+ public struct AppleCommandRequest: Equatable, Hashable {
1477
+ public var id: String
1478
+ public var name: String
1479
+ public var args: [String]
1480
+
1481
+ // Default memberwise initializers are never public by default, so we
1482
+ // declare one manually.
1483
+ public init(id: String, name: String, args: [String]) {
1484
+ self.id = id
1485
+ self.name = name
1486
+ self.args = args
1487
+ }
1488
+
1489
+
1490
+
1491
+
1492
+ }
1493
+
1494
+ #if compiler(>=6)
1495
+ extension AppleCommandRequest: Sendable {}
1496
+ #endif
1497
+
1498
+ #if swift(>=5.8)
1499
+ @_documentation(visibility: private)
1500
+ #endif
1501
+ public struct FfiConverterTypeAppleCommandRequest: FfiConverterRustBuffer {
1502
+ public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> AppleCommandRequest {
1503
+ return
1504
+ try AppleCommandRequest(
1505
+ id: FfiConverterString.read(from: &buf),
1506
+ name: FfiConverterString.read(from: &buf),
1507
+ args: FfiConverterSequenceString.read(from: &buf)
1508
+ )
1509
+ }
1510
+
1511
+ public static func write(_ value: AppleCommandRequest, into buf: inout [UInt8]) {
1512
+ FfiConverterString.write(value.id, into: &buf)
1513
+ FfiConverterString.write(value.name, into: &buf)
1514
+ FfiConverterSequenceString.write(value.args, into: &buf)
1515
+ }
1516
+ }
1517
+
1518
+
1519
+ #if swift(>=5.8)
1520
+ @_documentation(visibility: private)
1521
+ #endif
1522
+ public func FfiConverterTypeAppleCommandRequest_lift(_ buf: RustBuffer) throws -> AppleCommandRequest {
1523
+ return try FfiConverterTypeAppleCommandRequest.lift(buf)
1524
+ }
1525
+
1526
+ #if swift(>=5.8)
1527
+ @_documentation(visibility: private)
1528
+ #endif
1529
+ public func FfiConverterTypeAppleCommandRequest_lower(_ value: AppleCommandRequest) -> RustBuffer {
1530
+ return FfiConverterTypeAppleCommandRequest.lower(value)
1531
+ }
1532
+
1533
+
1431
1534
  public struct AppleContentMetadata: Equatable, Hashable {
1432
1535
  public var player: String
1433
1536
  public var playerVersion: String?
@@ -3421,6 +3524,137 @@ public func FfiConverterCallbackInterfaceAppleCapturePlanListener_lower(_ v: App
3421
3524
 
3422
3525
 
3423
3526
 
3527
+ public protocol AppleCommandListener: AnyObject, Sendable {
3528
+
3529
+ func onCommand(command: AppleCommandRequest)
3530
+
3531
+ }
3532
+
3533
+
3534
+ // Put the implementation in a struct so we don't pollute the top-level namespace
3535
+ fileprivate struct UniffiCallbackInterfaceAppleCommandListener {
3536
+
3537
+ // Create the VTable using a series of closures.
3538
+ // Swift automatically converts these into C callback functions.
3539
+ //
3540
+ // Store the vtable directly.
3541
+ static let vtable: UniffiVTableCallbackInterfaceAppleCommandListener = UniffiVTableCallbackInterfaceAppleCommandListener(
3542
+ uniffiFree: { (uniffiHandle: UInt64) -> () in
3543
+ do {
3544
+ try FfiConverterCallbackInterfaceAppleCommandListener.handleMap.remove(handle: uniffiHandle)
3545
+ } catch {
3546
+ print("Uniffi callback interface AppleCommandListener: handle missing in uniffiFree")
3547
+ }
3548
+ },
3549
+ uniffiClone: { (uniffiHandle: UInt64) -> UInt64 in
3550
+ do {
3551
+ return try FfiConverterCallbackInterfaceAppleCommandListener.handleMap.clone(handle: uniffiHandle)
3552
+ } catch {
3553
+ fatalError("Uniffi callback interface AppleCommandListener: handle missing in uniffiClone")
3554
+ }
3555
+ },
3556
+ onCommand: { (
3557
+ uniffiHandle: UInt64,
3558
+ command: RustBuffer,
3559
+ uniffiOutReturn: UnsafeMutableRawPointer,
3560
+ uniffiCallStatus: UnsafeMutablePointer<RustCallStatus>
3561
+ ) in
3562
+ let makeCall = {
3563
+ () throws -> () in
3564
+ guard let uniffiObj = try? FfiConverterCallbackInterfaceAppleCommandListener.handleMap.get(handle: uniffiHandle) else {
3565
+ throw UniffiInternalError.unexpectedStaleHandle
3566
+ }
3567
+ return uniffiObj.onCommand(
3568
+ command: try FfiConverterTypeAppleCommandRequest_lift(command)
3569
+ )
3570
+ }
3571
+
3572
+
3573
+ let writeReturn = { () }
3574
+ uniffiTraitInterfaceCall(
3575
+ callStatus: uniffiCallStatus,
3576
+ makeCall: makeCall,
3577
+ writeReturn: writeReturn
3578
+ )
3579
+ }
3580
+ )
3581
+
3582
+ // Rust stores this pointer for future callback invocations, so it must live
3583
+ // for the process lifetime (not just for the init function call).
3584
+ static let vtablePtr: UnsafePointer<UniffiVTableCallbackInterfaceAppleCommandListener> = {
3585
+ let ptr = UnsafeMutablePointer<UniffiVTableCallbackInterfaceAppleCommandListener>.allocate(capacity: 1)
3586
+ ptr.initialize(to: vtable)
3587
+ return UnsafePointer(ptr)
3588
+ }()
3589
+ }
3590
+
3591
+ private func uniffiCallbackInitAppleCommandListener() {
3592
+ uniffi_forge_kernel_uniffi_fn_init_callback_vtable_applecommandlistener(UniffiCallbackInterfaceAppleCommandListener.vtablePtr)
3593
+ }
3594
+
3595
+ // FfiConverter protocol for callback interfaces
3596
+ #if swift(>=5.8)
3597
+ @_documentation(visibility: private)
3598
+ #endif
3599
+ fileprivate struct FfiConverterCallbackInterfaceAppleCommandListener {
3600
+ fileprivate static let handleMap = UniffiHandleMap<AppleCommandListener>()
3601
+ }
3602
+
3603
+ #if swift(>=5.8)
3604
+ @_documentation(visibility: private)
3605
+ #endif
3606
+ extension FfiConverterCallbackInterfaceAppleCommandListener : FfiConverter {
3607
+ typealias SwiftType = AppleCommandListener
3608
+ typealias FfiType = UInt64
3609
+
3610
+ #if swift(>=5.8)
3611
+ @_documentation(visibility: private)
3612
+ #endif
3613
+ public static func lift(_ handle: UInt64) throws -> SwiftType {
3614
+ try handleMap.get(handle: handle)
3615
+ }
3616
+
3617
+ #if swift(>=5.8)
3618
+ @_documentation(visibility: private)
3619
+ #endif
3620
+ public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> SwiftType {
3621
+ let handle: UInt64 = try readInt(&buf)
3622
+ return try lift(handle)
3623
+ }
3624
+
3625
+ #if swift(>=5.8)
3626
+ @_documentation(visibility: private)
3627
+ #endif
3628
+ public static func lower(_ v: SwiftType) -> UInt64 {
3629
+ return handleMap.insert(obj: v)
3630
+ }
3631
+
3632
+ #if swift(>=5.8)
3633
+ @_documentation(visibility: private)
3634
+ #endif
3635
+ public static func write(_ v: SwiftType, into buf: inout [UInt8]) {
3636
+ writeInt(&buf, lower(v))
3637
+ }
3638
+ }
3639
+
3640
+
3641
+ #if swift(>=5.8)
3642
+ @_documentation(visibility: private)
3643
+ #endif
3644
+ public func FfiConverterCallbackInterfaceAppleCommandListener_lift(_ handle: UInt64) throws -> AppleCommandListener {
3645
+ return try FfiConverterCallbackInterfaceAppleCommandListener.lift(handle)
3646
+ }
3647
+
3648
+ #if swift(>=5.8)
3649
+ @_documentation(visibility: private)
3650
+ #endif
3651
+ public func FfiConverterCallbackInterfaceAppleCommandListener_lower(_ v: AppleCommandListener) -> UInt64 {
3652
+ return FfiConverterCallbackInterfaceAppleCommandListener.lower(v)
3653
+ }
3654
+
3655
+
3656
+
3657
+
3424
3658
  public protocol AppleContentMetadataProvider: AnyObject, Sendable {
3425
3659
 
3426
3660
  func metadataSnapshot(viewId: UInt64, timestamp: AppleSemanticTimestamp) -> AppleMetadataSnapshot?
@@ -4668,12 +4902,18 @@ private let initializationResult: InitializationResult = {
4668
4902
  if (uniffi_forge_kernel_uniffi_checksum_func_forge_plugin_version() != 6358) {
4669
4903
  return InitializationResult.apiChecksumMismatch
4670
4904
  }
4905
+ if (uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_answer_command() != 47588) {
4906
+ return InitializationResult.apiChecksumMismatch
4907
+ }
4671
4908
  if (uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_capture_plan() != 22959) {
4672
4909
  return InitializationResult.apiChecksumMismatch
4673
4910
  }
4674
4911
  if (uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_clear_capture_plan_listener() != 42899) {
4675
4912
  return InitializationResult.apiChecksumMismatch
4676
4913
  }
4914
+ if (uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_clear_command_listener() != 51874) {
4915
+ return InitializationResult.apiChecksumMismatch
4916
+ }
4677
4917
  if (uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_clear_content_metadata_provider() != 29053) {
4678
4918
  return InitializationResult.apiChecksumMismatch
4679
4919
  }
@@ -4728,6 +4968,12 @@ private let initializationResult: InitializationResult = {
4728
4968
  if (uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_set_capture_plan_listener() != 52103) {
4729
4969
  return InitializationResult.apiChecksumMismatch
4730
4970
  }
4971
+ if (uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_set_command_listener() != 14641) {
4972
+ return InitializationResult.apiChecksumMismatch
4973
+ }
4974
+ if (uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_set_command_subscriptions() != 35045) {
4975
+ return InitializationResult.apiChecksumMismatch
4976
+ }
4731
4977
  if (uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_set_content_metadata_provider() != 18303) {
4732
4978
  return InitializationResult.apiChecksumMismatch
4733
4979
  }
@@ -4758,6 +5004,9 @@ private let initializationResult: InitializationResult = {
4758
5004
  if (uniffi_forge_kernel_uniffi_checksum_method_applecaptureplanlistener_on_plan() != 46911) {
4759
5005
  return InitializationResult.apiChecksumMismatch
4760
5006
  }
5007
+ if (uniffi_forge_kernel_uniffi_checksum_method_applecommandlistener_on_command() != 48325) {
5008
+ return InitializationResult.apiChecksumMismatch
5009
+ }
4761
5010
  if (uniffi_forge_kernel_uniffi_checksum_method_applecontentmetadataprovider_metadata_snapshot() != 21583) {
4762
5011
  return InitializationResult.apiChecksumMismatch
4763
5012
  }
@@ -4775,6 +5024,7 @@ private let initializationResult: InitializationResult = {
4775
5024
  }
4776
5025
 
4777
5026
  uniffiCallbackInitAppleCapturePlanListener()
5027
+ uniffiCallbackInitAppleCommandListener()
4778
5028
  uniffiCallbackInitAppleContentMetadataProvider()
4779
5029
  uniffiCallbackInitAppleDeviceSampleListener()
4780
5030
  uniffiCallbackInitAppleLogListener()
@@ -249,6 +249,13 @@ typedef void (*UniffiCallbackInterfaceAppleCapturePlanListenerMethod0)(uint64_t,
249
249
  RustCallStatus *_Nonnull uniffiCallStatus
250
250
  );
251
251
 
252
+ #endif
253
+ #ifndef UNIFFI_FFIDEF_CALLBACK_INTERFACE_APPLE_COMMAND_LISTENER_METHOD0
254
+ #define UNIFFI_FFIDEF_CALLBACK_INTERFACE_APPLE_COMMAND_LISTENER_METHOD0
255
+ typedef void (*UniffiCallbackInterfaceAppleCommandListenerMethod0)(uint64_t, RustBuffer, void* _Nonnull,
256
+ RustCallStatus *_Nonnull uniffiCallStatus
257
+ );
258
+
252
259
  #endif
253
260
  #ifndef UNIFFI_FFIDEF_CALLBACK_INTERFACE_APPLE_CONTENT_METADATA_PROVIDER_METHOD0
254
261
  #define UNIFFI_FFIDEF_CALLBACK_INTERFACE_APPLE_CONTENT_METADATA_PROVIDER_METHOD0
@@ -293,6 +300,15 @@ typedef struct UniffiVTableCallbackInterfaceAppleCapturePlanListener {
293
300
  UniffiCallbackInterfaceAppleCapturePlanListenerMethod0 _Nonnull onPlan;
294
301
  } UniffiVTableCallbackInterfaceAppleCapturePlanListener;
295
302
 
303
+ #endif
304
+ #ifndef UNIFFI_FFIDEF_V_TABLE_CALLBACK_INTERFACE_APPLE_COMMAND_LISTENER
305
+ #define UNIFFI_FFIDEF_V_TABLE_CALLBACK_INTERFACE_APPLE_COMMAND_LISTENER
306
+ typedef struct UniffiVTableCallbackInterfaceAppleCommandListener {
307
+ UniffiCallbackInterfaceFree _Nonnull uniffiFree;
308
+ UniffiCallbackInterfaceClone _Nonnull uniffiClone;
309
+ UniffiCallbackInterfaceAppleCommandListenerMethod0 _Nonnull onCommand;
310
+ } UniffiVTableCallbackInterfaceAppleCommandListener;
311
+
296
312
  #endif
297
313
  #ifndef UNIFFI_FFIDEF_V_TABLE_CALLBACK_INTERFACE_APPLE_CONTENT_METADATA_PROVIDER
298
314
  #define UNIFFI_FFIDEF_V_TABLE_CALLBACK_INTERFACE_APPLE_CONTENT_METADATA_PROVIDER
@@ -354,6 +370,11 @@ void uniffi_forge_kernel_uniffi_fn_free_forgeruntimebridge(uint64_t handle, Rust
354
370
  uint64_t uniffi_forge_kernel_uniffi_fn_constructor_forgeruntimebridge_new(RustBuffer config, RustCallStatus *_Nonnull out_status
355
371
  );
356
372
  #endif
373
+ #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_ANSWER_COMMAND
374
+ #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_ANSWER_COMMAND
375
+ RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_answer_command(uint64_t ptr, RustBuffer command_id, int8_t handled, RustBuffer details, RustCallStatus *_Nonnull out_status
376
+ );
377
+ #endif
357
378
  #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_CAPTURE_PLAN
358
379
  #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_CAPTURE_PLAN
359
380
  RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_capture_plan(uint64_t ptr, RustCallStatus *_Nonnull out_status
@@ -364,6 +385,11 @@ RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_capture_plan(
364
385
  RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_clear_capture_plan_listener(uint64_t ptr, RustCallStatus *_Nonnull out_status
365
386
  );
366
387
  #endif
388
+ #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_CLEAR_COMMAND_LISTENER
389
+ #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_CLEAR_COMMAND_LISTENER
390
+ RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_clear_command_listener(uint64_t ptr, RustCallStatus *_Nonnull out_status
391
+ );
392
+ #endif
367
393
  #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_CLEAR_CONTENT_METADATA_PROVIDER
368
394
  #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_CLEAR_CONTENT_METADATA_PROVIDER
369
395
  RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_clear_content_metadata_provider(uint64_t ptr, uint64_t view_id, RustCallStatus *_Nonnull out_status
@@ -454,6 +480,16 @@ RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_set_auto_conn
454
480
  RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_set_capture_plan_listener(uint64_t ptr, uint64_t listener, RustCallStatus *_Nonnull out_status
455
481
  );
456
482
  #endif
483
+ #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_SET_COMMAND_LISTENER
484
+ #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_SET_COMMAND_LISTENER
485
+ RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_set_command_listener(uint64_t ptr, uint64_t listener, RustCallStatus *_Nonnull out_status
486
+ );
487
+ #endif
488
+ #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_SET_COMMAND_SUBSCRIPTIONS
489
+ #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_SET_COMMAND_SUBSCRIPTIONS
490
+ RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_set_command_subscriptions(uint64_t ptr, RustBuffer names, RustCallStatus *_Nonnull out_status
491
+ );
492
+ #endif
457
493
  #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_SET_CONTENT_METADATA_PROVIDER
458
494
  #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_SET_CONTENT_METADATA_PROVIDER
459
495
  RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_set_content_metadata_provider(uint64_t ptr, uint64_t view_id, uint64_t provider, RustCallStatus *_Nonnull out_status
@@ -499,6 +535,11 @@ RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_start(uint64_
499
535
  void uniffi_forge_kernel_uniffi_fn_init_callback_vtable_applecaptureplanlistener(const UniffiVTableCallbackInterfaceAppleCapturePlanListener* _Nonnull vtable
500
536
  );
501
537
  #endif
538
+ #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_INIT_CALLBACK_VTABLE_APPLECOMMANDLISTENER
539
+ #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_INIT_CALLBACK_VTABLE_APPLECOMMANDLISTENER
540
+ void uniffi_forge_kernel_uniffi_fn_init_callback_vtable_applecommandlistener(const UniffiVTableCallbackInterfaceAppleCommandListener* _Nonnull vtable
541
+ );
542
+ #endif
502
543
  #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_INIT_CALLBACK_VTABLE_APPLECONTENTMETADATAPROVIDER
503
544
  #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_INIT_CALLBACK_VTABLE_APPLECONTENTMETADATAPROVIDER
504
545
  void uniffi_forge_kernel_uniffi_fn_init_callback_vtable_applecontentmetadataprovider(const UniffiVTableCallbackInterfaceAppleContentMetadataProvider* _Nonnull vtable
@@ -794,6 +835,12 @@ void ffi_forge_kernel_uniffi_rust_future_complete_void(uint64_t handle, RustCall
794
835
  #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_FUNC_FORGE_PLUGIN_VERSION
795
836
  uint16_t uniffi_forge_kernel_uniffi_checksum_func_forge_plugin_version(void
796
837
 
838
+ );
839
+ #endif
840
+ #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_ANSWER_COMMAND
841
+ #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_ANSWER_COMMAND
842
+ uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_answer_command(void
843
+
797
844
  );
798
845
  #endif
799
846
  #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_CAPTURE_PLAN
@@ -806,6 +853,12 @@ uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_capture_p
806
853
  #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_CLEAR_CAPTURE_PLAN_LISTENER
807
854
  uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_clear_capture_plan_listener(void
808
855
 
856
+ );
857
+ #endif
858
+ #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_CLEAR_COMMAND_LISTENER
859
+ #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_CLEAR_COMMAND_LISTENER
860
+ uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_clear_command_listener(void
861
+
809
862
  );
810
863
  #endif
811
864
  #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_CLEAR_CONTENT_METADATA_PROVIDER
@@ -914,6 +967,18 @@ uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_set_auto_
914
967
  #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_SET_CAPTURE_PLAN_LISTENER
915
968
  uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_set_capture_plan_listener(void
916
969
 
970
+ );
971
+ #endif
972
+ #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_SET_COMMAND_LISTENER
973
+ #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_SET_COMMAND_LISTENER
974
+ uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_set_command_listener(void
975
+
976
+ );
977
+ #endif
978
+ #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_SET_COMMAND_SUBSCRIPTIONS
979
+ #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_SET_COMMAND_SUBSCRIPTIONS
980
+ uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_set_command_subscriptions(void
981
+
917
982
  );
918
983
  #endif
919
984
  #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_SET_CONTENT_METADATA_PROVIDER
@@ -974,6 +1039,12 @@ uint16_t uniffi_forge_kernel_uniffi_checksum_constructor_forgeruntimebridge_new(
974
1039
  #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_APPLECAPTUREPLANLISTENER_ON_PLAN
975
1040
  uint16_t uniffi_forge_kernel_uniffi_checksum_method_applecaptureplanlistener_on_plan(void
976
1041
 
1042
+ );
1043
+ #endif
1044
+ #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_APPLECOMMANDLISTENER_ON_COMMAND
1045
+ #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_APPLECOMMANDLISTENER_ON_COMMAND
1046
+ uint16_t uniffi_forge_kernel_uniffi_checksum_method_applecommandlistener_on_command(void
1047
+
977
1048
  );
978
1049
  #endif
979
1050
  #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_APPLECONTENTMETADATAPROVIDER_METADATA_SNAPSHOT