objcjs-types 0.2.1 → 0.3.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 (194) hide show
  1. package/bin/objcjs-types.ts +31 -0
  2. package/dist/AVFoundation/functions.d.ts +21 -0
  3. package/dist/AVFoundation/functions.js +32 -0
  4. package/dist/AVFoundation/index.d.ts +1 -0
  5. package/dist/AVFoundation/index.js +1 -0
  6. package/dist/Accessibility/functions.d.ts +16 -0
  7. package/dist/Accessibility/functions.js +35 -0
  8. package/dist/Accessibility/index.d.ts +1 -0
  9. package/dist/Accessibility/index.js +1 -0
  10. package/dist/AddressBook/functions.d.ts +98 -0
  11. package/dist/AddressBook/functions.js +290 -0
  12. package/dist/AddressBook/index.d.ts +1 -0
  13. package/dist/AddressBook/index.js +1 -0
  14. package/dist/AppKit/functions.d.ts +112 -0
  15. package/dist/AppKit/functions.js +272 -0
  16. package/dist/AppKit/index.d.ts +1 -0
  17. package/dist/AppKit/index.js +1 -0
  18. package/dist/AudioToolbox/functions.d.ts +377 -0
  19. package/dist/AudioToolbox/functions.js +1124 -0
  20. package/dist/AudioToolbox/index.d.ts +1 -0
  21. package/dist/AudioToolbox/index.js +1 -0
  22. package/dist/AuthenticationServices/functions.d.ts +2 -0
  23. package/dist/AuthenticationServices/functions.js +5 -0
  24. package/dist/AuthenticationServices/index.d.ts +1 -0
  25. package/dist/AuthenticationServices/index.js +1 -0
  26. package/dist/BrowserEngineCore/functions.d.ts +3 -0
  27. package/dist/BrowserEngineCore/functions.js +11 -0
  28. package/dist/BrowserEngineCore/index.d.ts +1 -0
  29. package/dist/BrowserEngineCore/index.js +1 -0
  30. package/dist/CoreAudio/functions.d.ts +60 -0
  31. package/dist/CoreAudio/functions.js +173 -0
  32. package/dist/CoreAudio/index.d.ts +1 -0
  33. package/dist/CoreAudio/index.js +1 -0
  34. package/dist/CoreMIDI/functions.d.ts +96 -0
  35. package/dist/CoreMIDI/functions.js +287 -0
  36. package/dist/CoreMIDI/index.d.ts +1 -0
  37. package/dist/CoreMIDI/index.js +1 -0
  38. package/dist/CoreML/functions.d.ts +2 -0
  39. package/dist/CoreML/functions.js +5 -0
  40. package/dist/CoreML/index.d.ts +1 -0
  41. package/dist/CoreML/index.js +1 -0
  42. package/dist/CoreMediaIO/functions.d.ts +38 -0
  43. package/dist/CoreMediaIO/functions.js +107 -0
  44. package/dist/CoreMediaIO/index.d.ts +1 -0
  45. package/dist/CoreMediaIO/index.js +1 -0
  46. package/dist/CoreText/functions.d.ts +209 -0
  47. package/dist/CoreText/functions.js +611 -0
  48. package/dist/CoreText/index.d.ts +1 -0
  49. package/dist/CoreText/index.js +1 -0
  50. package/dist/CoreWLAN/functions.d.ts +23 -0
  51. package/dist/CoreWLAN/functions.js +56 -0
  52. package/dist/CoreWLAN/index.d.ts +1 -0
  53. package/dist/CoreWLAN/index.js +1 -0
  54. package/dist/DeviceDiscoveryExtension/functions.d.ts +11 -0
  55. package/dist/DeviceDiscoveryExtension/functions.js +17 -0
  56. package/dist/DeviceDiscoveryExtension/index.d.ts +1 -0
  57. package/dist/DeviceDiscoveryExtension/index.js +1 -0
  58. package/dist/DiscRecording/functions.d.ts +97 -0
  59. package/dist/DiscRecording/functions.js +290 -0
  60. package/dist/DiscRecording/index.d.ts +1 -0
  61. package/dist/DiscRecording/index.js +1 -0
  62. package/dist/DiscRecordingUI/functions.d.ts +13 -0
  63. package/dist/DiscRecordingUI/functions.js +38 -0
  64. package/dist/DiscRecordingUI/index.d.ts +1 -0
  65. package/dist/DiscRecordingUI/index.js +1 -0
  66. package/dist/ExceptionHandling/functions.d.ts +1 -0
  67. package/dist/ExceptionHandling/functions.js +5 -0
  68. package/dist/ExceptionHandling/index.d.ts +1 -0
  69. package/dist/ExceptionHandling/index.js +1 -0
  70. package/dist/FSKit/functions.d.ts +4 -0
  71. package/dist/FSKit/functions.js +11 -0
  72. package/dist/FSKit/index.d.ts +1 -0
  73. package/dist/FSKit/index.js +1 -0
  74. package/dist/Foundation/functions.d.ts +145 -0
  75. package/dist/Foundation/functions.js +386 -0
  76. package/dist/Foundation/index.d.ts +1 -0
  77. package/dist/Foundation/index.js +1 -0
  78. package/dist/GLKit/functions.d.ts +51 -0
  79. package/dist/GLKit/functions.js +146 -0
  80. package/dist/GLKit/index.d.ts +1 -0
  81. package/dist/GLKit/index.js +1 -0
  82. package/dist/GameController/functions.d.ts +18 -0
  83. package/dist/GameController/functions.js +44 -0
  84. package/dist/GameController/index.d.ts +1 -0
  85. package/dist/GameController/index.js +1 -0
  86. package/dist/HealthKit/functions.d.ts +19 -0
  87. package/dist/HealthKit/functions.js +35 -0
  88. package/dist/HealthKit/index.d.ts +1 -0
  89. package/dist/HealthKit/index.js +1 -0
  90. package/dist/IOSurface/functions.d.ts +53 -0
  91. package/dist/IOSurface/functions.js +155 -0
  92. package/dist/IOSurface/index.d.ts +1 -0
  93. package/dist/IOSurface/index.js +1 -0
  94. package/dist/IOUSBHost/functions.d.ts +44 -0
  95. package/dist/IOUSBHost/functions.js +131 -0
  96. package/dist/IOUSBHost/index.d.ts +1 -0
  97. package/dist/IOUSBHost/index.js +1 -0
  98. package/dist/InstantMessage/functions.d.ts +1 -0
  99. package/dist/InstantMessage/functions.js +5 -0
  100. package/dist/InstantMessage/index.d.ts +1 -0
  101. package/dist/InstantMessage/index.js +1 -0
  102. package/dist/JavaRuntimeSupport/functions.d.ts +40 -0
  103. package/dist/JavaRuntimeSupport/functions.js +113 -0
  104. package/dist/JavaRuntimeSupport/index.d.ts +1 -0
  105. package/dist/JavaRuntimeSupport/index.js +1 -0
  106. package/dist/JavaScriptCore/functions.d.ts +120 -0
  107. package/dist/JavaScriptCore/functions.js +359 -0
  108. package/dist/JavaScriptCore/index.d.ts +1 -0
  109. package/dist/JavaScriptCore/index.js +1 -0
  110. package/dist/MLCompute/functions.d.ts +27 -0
  111. package/dist/MLCompute/functions.js +41 -0
  112. package/dist/MLCompute/index.d.ts +1 -0
  113. package/dist/MLCompute/index.js +1 -0
  114. package/dist/MapKit/functions.d.ts +23 -0
  115. package/dist/MapKit/functions.js +56 -0
  116. package/dist/MapKit/index.d.ts +1 -0
  117. package/dist/MapKit/index.js +1 -0
  118. package/dist/Matter/functions.d.ts +17 -0
  119. package/dist/Matter/functions.js +26 -0
  120. package/dist/Matter/index.d.ts +1 -0
  121. package/dist/Matter/index.js +1 -0
  122. package/dist/MediaAccessibility/functions.d.ts +28 -0
  123. package/dist/MediaAccessibility/functions.js +83 -0
  124. package/dist/MediaAccessibility/index.d.ts +1 -0
  125. package/dist/MediaAccessibility/index.js +1 -0
  126. package/dist/MediaPlayer/functions.d.ts +3 -0
  127. package/dist/MediaPlayer/functions.js +11 -0
  128. package/dist/MediaPlayer/index.d.ts +1 -0
  129. package/dist/MediaPlayer/index.js +1 -0
  130. package/dist/Metal/functions.d.ts +14 -0
  131. package/dist/Metal/functions.js +26 -0
  132. package/dist/Metal/index.d.ts +1 -0
  133. package/dist/Metal/index.js +1 -0
  134. package/dist/MetalKit/functions.d.ts +11 -0
  135. package/dist/MetalKit/functions.js +20 -0
  136. package/dist/MetalKit/index.d.ts +1 -0
  137. package/dist/MetalKit/index.js +1 -0
  138. package/dist/MetalPerformanceShaders/functions.d.ts +7 -0
  139. package/dist/MetalPerformanceShaders/functions.js +14 -0
  140. package/dist/MetalPerformanceShaders/index.d.ts +1 -0
  141. package/dist/MetalPerformanceShaders/index.js +1 -0
  142. package/dist/NearbyInteraction/functions.d.ts +3 -0
  143. package/dist/NearbyInteraction/functions.js +5 -0
  144. package/dist/NearbyInteraction/index.d.ts +1 -0
  145. package/dist/NearbyInteraction/index.js +1 -0
  146. package/dist/ParavirtualizedGraphics/functions.d.ts +7 -0
  147. package/dist/ParavirtualizedGraphics/functions.js +14 -0
  148. package/dist/ParavirtualizedGraphics/index.d.ts +1 -0
  149. package/dist/ParavirtualizedGraphics/index.js +1 -0
  150. package/dist/QuartzCore/functions.d.ts +19 -0
  151. package/dist/QuartzCore/functions.js +50 -0
  152. package/dist/QuartzCore/index.d.ts +1 -0
  153. package/dist/QuartzCore/index.js +1 -0
  154. package/dist/SceneKit/functions.d.ts +17 -0
  155. package/dist/SceneKit/functions.js +38 -0
  156. package/dist/SceneKit/index.d.ts +1 -0
  157. package/dist/SceneKit/index.js +1 -0
  158. package/dist/SensorKit/functions.d.ts +4 -0
  159. package/dist/SensorKit/functions.js +14 -0
  160. package/dist/SensorKit/index.d.ts +1 -0
  161. package/dist/SensorKit/index.js +1 -0
  162. package/dist/ServiceManagement/functions.d.ts +7 -0
  163. package/dist/ServiceManagement/functions.js +20 -0
  164. package/dist/ServiceManagement/index.d.ts +1 -0
  165. package/dist/ServiceManagement/index.js +1 -0
  166. package/dist/StoreKit/functions.d.ts +1 -0
  167. package/dist/StoreKit/functions.js +5 -0
  168. package/dist/StoreKit/index.d.ts +1 -0
  169. package/dist/StoreKit/index.js +1 -0
  170. package/dist/VideoToolbox/functions.d.ts +81 -0
  171. package/dist/VideoToolbox/functions.js +236 -0
  172. package/dist/VideoToolbox/index.d.ts +1 -0
  173. package/dist/VideoToolbox/index.js +1 -0
  174. package/dist/Vision/functions.d.ts +16 -0
  175. package/dist/Vision/functions.js +38 -0
  176. package/dist/Vision/index.d.ts +1 -0
  177. package/dist/Vision/index.js +1 -0
  178. package/generator/ast-parser.ts +1368 -0
  179. package/generator/clang.ts +167 -0
  180. package/generator/custom.ts +936 -0
  181. package/generator/discover.ts +111 -0
  182. package/generator/emitter.ts +2026 -0
  183. package/generator/frameworks.ts +135 -0
  184. package/generator/index.ts +1334 -0
  185. package/generator/parse-worker.ts +263 -0
  186. package/generator/resolve-strings.ts +121 -0
  187. package/generator/struct-fields.ts +46 -0
  188. package/generator/templates/bind.ts +100 -0
  189. package/generator/templates/helpers.ts +70 -0
  190. package/generator/templates/nsdata.ts +97 -0
  191. package/generator/templates/osversion.ts +91 -0
  192. package/generator/type-mapper.ts +615 -0
  193. package/generator/worker-pool.ts +309 -0
  194. package/package.json +13 -4
@@ -0,0 +1,56 @@
1
+ // AUTO-GENERATED by objcjs-types generator — DO NOT EDIT
2
+ import { callFunction } from "objc-js";
3
+ export function CWKeychainCopyEAPIdentity(ssidData, identity) {
4
+ return callFunction("CWKeychainCopyEAPIdentity", { returns: "i" }, ssidData, identity);
5
+ }
6
+ export function CWKeychainCopyEAPIdentityList(list) {
7
+ return callFunction("CWKeychainCopyEAPIdentityList", { returns: "i" }, list);
8
+ }
9
+ export function CWKeychainCopyEAPUsernameAndPassword(ssidData, username, password) {
10
+ return callFunction("CWKeychainCopyEAPUsernameAndPassword", { returns: "i" }, ssidData, username, password);
11
+ }
12
+ export function CWKeychainCopyPassword(ssidData, password) {
13
+ return callFunction("CWKeychainCopyPassword", { returns: "i" }, ssidData, password);
14
+ }
15
+ export function CWKeychainCopyWiFiEAPIdentity(domain, ssid, identity) {
16
+ return callFunction("CWKeychainCopyWiFiEAPIdentity", { returns: "i", args: ["q", "@", "@"] }, domain, ssid, identity);
17
+ }
18
+ export function CWKeychainDeleteEAPUsernameAndPassword(ssidData) {
19
+ return callFunction("CWKeychainDeleteEAPUsernameAndPassword", { returns: "i" }, ssidData);
20
+ }
21
+ export function CWKeychainDeletePassword(ssidData) {
22
+ return callFunction("CWKeychainDeletePassword", { returns: "i" }, ssidData);
23
+ }
24
+ export function CWKeychainDeleteWiFiEAPUsernameAndPassword(domain, ssid) {
25
+ return callFunction("CWKeychainDeleteWiFiEAPUsernameAndPassword", { returns: "i", args: ["q", "@"] }, domain, ssid);
26
+ }
27
+ export function CWKeychainDeleteWiFiPassword(domain, ssid) {
28
+ return callFunction("CWKeychainDeleteWiFiPassword", { returns: "i", args: ["q", "@"] }, domain, ssid);
29
+ }
30
+ export function CWKeychainFindWiFiEAPUsernameAndPassword(domain, ssid, username, password) {
31
+ return callFunction("CWKeychainFindWiFiEAPUsernameAndPassword", { returns: "i", args: ["q", "@", "@", "@"] }, domain, ssid, username, password);
32
+ }
33
+ export function CWKeychainFindWiFiPassword(domain, ssid, password) {
34
+ return callFunction("CWKeychainFindWiFiPassword", { returns: "i", args: ["q", "@", "@"] }, domain, ssid, password);
35
+ }
36
+ export function CWKeychainSetEAPIdentity(ssidData, identity) {
37
+ return callFunction("CWKeychainSetEAPIdentity", { returns: "i", args: ["@", "^"] }, ssidData, identity);
38
+ }
39
+ export function CWKeychainSetEAPUsernameAndPassword(ssidData, username, password) {
40
+ return callFunction("CWKeychainSetEAPUsernameAndPassword", { returns: "i", args: ["@", "^", "^"] }, ssidData, username, password);
41
+ }
42
+ export function CWKeychainSetPassword(ssidData, password) {
43
+ return callFunction("CWKeychainSetPassword", { returns: "i", args: ["@", "^"] }, ssidData, password);
44
+ }
45
+ export function CWKeychainSetWiFiEAPIdentity(domain, ssid, identity) {
46
+ return callFunction("CWKeychainSetWiFiEAPIdentity", { returns: "i", args: ["q", "@", "^"] }, domain, ssid, identity);
47
+ }
48
+ export function CWKeychainSetWiFiEAPUsernameAndPassword(domain, ssid, username, password) {
49
+ return callFunction("CWKeychainSetWiFiEAPUsernameAndPassword", { returns: "i", args: ["q", "@", "@", "@"] }, domain, ssid, username, password);
50
+ }
51
+ export function CWKeychainSetWiFiPassword(domain, ssid, password) {
52
+ return callFunction("CWKeychainSetWiFiPassword", { returns: "i", args: ["q", "@", "@"] }, domain, ssid, password);
53
+ }
54
+ export function CWMergeNetworks(networks) {
55
+ return callFunction("CWMergeNetworks", { returns: "@" }, networks);
56
+ }
@@ -36,3 +36,4 @@ export { CWInterfaceMode } from "./CWInterfaceMode.js";
36
36
  export { CWKeychainDomain } from "./CWKeychainDomain.js";
37
37
  export { CWPHYMode } from "./CWPHYMode.js";
38
38
  export { CWSecurity } from "./CWSecurity.js";
39
+ export * from "./functions.js";
@@ -20,3 +20,4 @@ export { CWInterfaceMode } from "./CWInterfaceMode.js";
20
20
  export { CWKeychainDomain } from "./CWKeychainDomain.js";
21
21
  export { CWPHYMode } from "./CWPHYMode.js";
22
22
  export { CWSecurity } from "./CWSecurity.js";
23
+ export * from "./functions.js";
@@ -0,0 +1,11 @@
1
+ import type { _NSString } from "../Foundation/NSString.js";
2
+ import type { DDDeviceCategory } from "./DDDeviceCategory.js";
3
+ import type { DDDeviceMediaPlaybackState } from "./DDDeviceMediaPlaybackState.js";
4
+ import type { DDDeviceProtocol } from "./DDDeviceProtocol.js";
5
+ import type { DDDeviceState } from "./DDDeviceState.js";
6
+ import type { DDEventType } from "./DDEventType.js";
7
+ export declare function DDDeviceCategoryToString(inValue: DDDeviceCategory): _NSString;
8
+ export declare function DDDeviceMediaPlaybackStateToString(inValue: DDDeviceMediaPlaybackState): _NSString;
9
+ export declare function DDDeviceProtocolToString(inValue: DDDeviceProtocol): _NSString;
10
+ export declare function DDDeviceStateToString(inValue: DDDeviceState): _NSString;
11
+ export declare function DDEventTypeToString(inValue: DDEventType): _NSString;
@@ -0,0 +1,17 @@
1
+ // AUTO-GENERATED by objcjs-types generator — DO NOT EDIT
2
+ import { callFunction } from "objc-js";
3
+ export function DDDeviceCategoryToString(inValue) {
4
+ return callFunction("DDDeviceCategoryToString", { returns: "@", args: ["q"] }, inValue);
5
+ }
6
+ export function DDDeviceMediaPlaybackStateToString(inValue) {
7
+ return callFunction("DDDeviceMediaPlaybackStateToString", { returns: "@", args: ["q"] }, inValue);
8
+ }
9
+ export function DDDeviceProtocolToString(inValue) {
10
+ return callFunction("DDDeviceProtocolToString", { returns: "@", args: ["q"] }, inValue);
11
+ }
12
+ export function DDDeviceStateToString(inValue) {
13
+ return callFunction("DDDeviceStateToString", { returns: "@", args: ["q"] }, inValue);
14
+ }
15
+ export function DDEventTypeToString(inValue) {
16
+ return callFunction("DDEventTypeToString", { returns: "@", args: ["q"] }, inValue);
17
+ }
@@ -17,3 +17,4 @@ export { DDDeviceSupports } from "./DDDeviceSupports.js";
17
17
  export { DDDeviceWiFiAwareServiceRole } from "./DDDeviceWiFiAwareServiceRole.js";
18
18
  export { DDEventType } from "./DDEventType.js";
19
19
  export { DDDeviceProtocolString } from "./DDDeviceProtocolString.js";
20
+ export * from "./functions.js";
@@ -13,3 +13,4 @@ export { DDDeviceSupports } from "./DDDeviceSupports.js";
13
13
  export { DDDeviceWiFiAwareServiceRole } from "./DDDeviceWiFiAwareServiceRole.js";
14
14
  export { DDEventType } from "./DDEventType.js";
15
15
  export { DDDeviceProtocolString } from "./DDDeviceProtocolString.js";
16
+ export * from "./functions.js";
@@ -0,0 +1,97 @@
1
+ import type { NobjcObject } from "objc-js";
2
+ export declare function DRAudioTrackCreate(audioFile: NobjcObject): NobjcObject;
3
+ export declare function DRAudioTrackCreateWithURL(audioFileURL: NobjcObject): NobjcObject;
4
+ export declare function DRBurnAbort(burn: NobjcObject): void;
5
+ export declare function DRBurnCopyStatus(burn: NobjcObject): NobjcObject;
6
+ export declare function DRBurnCreate(device: NobjcObject): NobjcObject;
7
+ export declare function DRBurnGetDevice(burn: NobjcObject): NobjcObject;
8
+ export declare function DRBurnGetProperties(burn: NobjcObject): NobjcObject;
9
+ export declare function DRBurnGetTypeID(): number;
10
+ export declare function DRBurnSetProperties(burn: NobjcObject, properties: NobjcObject): void;
11
+ export declare function DRBurnWriteLayout(burn: NobjcObject, layout: Uint8Array): number;
12
+ export declare function DRCDTextBlockCreate(language: Uint8Array, encoding: number): NobjcObject;
13
+ export declare function DRCDTextBlockCreateArrayFromPackList(packs: NobjcObject): NobjcObject;
14
+ export declare function DRCDTextBlockFlatten(block: NobjcObject): number;
15
+ export declare function DRCDTextBlockGetProperties(block: NobjcObject): NobjcObject;
16
+ export declare function DRCDTextBlockGetTrackDictionaries(block: NobjcObject): NobjcObject;
17
+ export declare function DRCDTextBlockGetTypeID(): number;
18
+ export declare function DRCDTextBlockGetValue(block: NobjcObject, trackIndex: number, key: Uint8Array): NobjcObject;
19
+ export declare function DRCDTextBlockSetProperties(block: NobjcObject, properties: NobjcObject): void;
20
+ export declare function DRCDTextBlockSetTrackDictionaries(block: NobjcObject, array: NobjcObject): void;
21
+ export declare function DRCDTextBlockSetValue(block: NobjcObject, trackIndex: number, key: Uint8Array, value: Uint8Array): void;
22
+ export declare function DRCopyDeviceArray(): NobjcObject;
23
+ export declare function DRCopyLocalizedStringForAdditionalSense(ASC: NobjcObject, ASCQ: NobjcObject): NobjcObject;
24
+ export declare function DRCopyLocalizedStringForDiscRecordingError(osError: number): NobjcObject;
25
+ export declare function DRCopyLocalizedStringForSenseCode(senseCode: NobjcObject): NobjcObject;
26
+ export declare function DRCopyLocalizedStringForValue(value: Uint8Array): NobjcObject;
27
+ export declare function DRDeviceAcquireExclusiveAccess(device: NobjcObject): number;
28
+ export declare function DRDeviceAcquireMediaReservation(device: NobjcObject): void;
29
+ export declare function DRDeviceCloseTray(device: NobjcObject): number;
30
+ export declare function DRDeviceCopyDeviceForBSDName(name: Uint8Array): NobjcObject;
31
+ export declare function DRDeviceCopyDeviceForIORegistryEntryPath(path: Uint8Array): NobjcObject;
32
+ export declare function DRDeviceCopyInfo(device: NobjcObject): NobjcObject;
33
+ export declare function DRDeviceCopyStatus(device: NobjcObject): NobjcObject;
34
+ export declare function DRDeviceEjectMedia(device: NobjcObject): number;
35
+ export declare function DRDeviceGetTypeID(): number;
36
+ export declare function DRDeviceIsValid(device: NobjcObject): NobjcObject;
37
+ export declare function DRDeviceKPSForXFactor(deviceOrMediaType: NobjcObject, xfactor: number): number;
38
+ export declare function DRDeviceOpenTray(device: NobjcObject): number;
39
+ export declare function DRDeviceReleaseExclusiveAccess(device: NobjcObject): void;
40
+ export declare function DRDeviceReleaseMediaReservation(device: NobjcObject): void;
41
+ export declare function DRDeviceXFactorForKPS(deviceOrMediaType: NobjcObject, kps: number): number;
42
+ export declare function DREraseCopyStatus(erase: NobjcObject): NobjcObject;
43
+ export declare function DREraseCreate(device: NobjcObject): NobjcObject;
44
+ export declare function DREraseGetDevice(erase: NobjcObject): NobjcObject;
45
+ export declare function DREraseGetProperties(erase: NobjcObject): NobjcObject;
46
+ export declare function DREraseGetTypeID(): number;
47
+ export declare function DREraseSetProperties(erase: NobjcObject, properties: NobjcObject): void;
48
+ export declare function DREraseStart(erase: NobjcObject): number;
49
+ export declare function DRFileCreateReal(fsRef: NobjcObject): NobjcObject;
50
+ export declare function DRFileCreateRealWithURL(urlRef: NobjcObject): NobjcObject;
51
+ export declare function DRFileCreateVirtualLink(original: NobjcObject, linkType: number, fsKey: Uint8Array): NobjcObject;
52
+ export declare function DRFileCreateVirtualWithCallback(baseName: Uint8Array, fileProc: NobjcObject, fileProcRefCon: Uint8Array): NobjcObject;
53
+ export declare function DRFileCreateVirtualWithData(baseName: Uint8Array, fileData: Uint8Array, fileDataLength: number): NobjcObject;
54
+ export declare function DRFileGetTypeID(): number;
55
+ export declare function DRFilesystemTrackCreate(rootFolder: NobjcObject): NobjcObject;
56
+ export declare function DRFilesystemTrackEstimateOverhead(numBlocks: number, blockSize: number, fsMask: number): number;
57
+ export declare function DRFolderAddChild(parent: NobjcObject, newChild: NobjcObject): void;
58
+ export declare function DRFolderConvertRealToVirtual(realFolder: NobjcObject): void;
59
+ export declare function DRFolderCopyChildren(folder: NobjcObject): NobjcObject;
60
+ export declare function DRFolderCountChildren(folder: NobjcObject): number;
61
+ export declare function DRFolderCreateReal(fsRef: NobjcObject): NobjcObject;
62
+ export declare function DRFolderCreateRealWithURL(urlRef: NobjcObject): NobjcObject;
63
+ export declare function DRFolderCreateVirtual(baseName: Uint8Array): NobjcObject;
64
+ export declare function DRFolderGetTypeID(): number;
65
+ export declare function DRFolderRemoveChild(parent: NobjcObject, child: NobjcObject): void;
66
+ export declare function DRFSObjectCopyBaseName(object_: NobjcObject): NobjcObject;
67
+ export declare function DRFSObjectCopyFilesystemProperties(object_: NobjcObject, fsKey: Uint8Array, coalesce: NobjcObject): NobjcObject;
68
+ export declare function DRFSObjectCopyFilesystemProperty(object_: NobjcObject, fsKey: Uint8Array, propertyKey: Uint8Array, coalesce: NobjcObject): NobjcObject;
69
+ export declare function DRFSObjectCopyMangledName(object_: NobjcObject, fsKey: Uint8Array): NobjcObject;
70
+ export declare function DRFSObjectCopyMangledNames(object_: NobjcObject): NobjcObject;
71
+ export declare function DRFSObjectCopyRealURL(object_: NobjcObject): NobjcObject;
72
+ export declare function DRFSObjectCopySpecificName(object_: NobjcObject, fsKey: Uint8Array): NobjcObject;
73
+ export declare function DRFSObjectCopySpecificNames(object_: NobjcObject): NobjcObject;
74
+ export declare function DRFSObjectGetFilesystemMask(object_: NobjcObject, explicitMask: NobjcObject, effectiveMask: NobjcObject): number;
75
+ export declare function DRFSObjectGetParent(object_: NobjcObject): NobjcObject;
76
+ export declare function DRFSObjectGetRealFSRef(object_: NobjcObject, fsRef: NobjcObject): void;
77
+ export declare function DRFSObjectIsVirtual(object_: NobjcObject): NobjcObject;
78
+ export declare function DRFSObjectSetBaseName(object_: NobjcObject, baseName: Uint8Array): void;
79
+ export declare function DRFSObjectSetFilesystemMask(object_: NobjcObject, newMask: number): void;
80
+ export declare function DRFSObjectSetFilesystemProperties(object_: NobjcObject, fsKey: Uint8Array, properties: NobjcObject): void;
81
+ export declare function DRFSObjectSetFilesystemProperty(object_: NobjcObject, fsKey: Uint8Array, propertyKey: Uint8Array, value: Uint8Array): void;
82
+ export declare function DRFSObjectSetSpecificName(object_: NobjcObject, fsKey: Uint8Array, specificName: Uint8Array): void;
83
+ export declare function DRFSObjectSetSpecificNames(object_: NobjcObject, specificNames: NobjcObject): void;
84
+ export declare function DRGetRefCon(ref: NobjcObject): NobjcObject;
85
+ export declare function DRGetVersion(): NobjcObject;
86
+ export declare function DRNotificationCenterAddObserver(center: NobjcObject, observer: Uint8Array, callback: NobjcObject, name: Uint8Array, object_: NobjcObject): void;
87
+ export declare function DRNotificationCenterCreate(): NobjcObject;
88
+ export declare function DRNotificationCenterCreateRunLoopSource(center: NobjcObject): NobjcObject;
89
+ export declare function DRNotificationCenterGetTypeID(): number;
90
+ export declare function DRNotificationCenterRemoveObserver(center: NobjcObject, observer: Uint8Array, name: Uint8Array, object_: NobjcObject): void;
91
+ export declare function DRSetRefCon(ref: NobjcObject, refCon: Uint8Array, callbacks: NobjcObject): void;
92
+ export declare function DRTrackCreate(properties: NobjcObject, callback: NobjcObject): NobjcObject;
93
+ export declare function DRTrackEstimateLength(track: NobjcObject): number;
94
+ export declare function DRTrackGetProperties(track: NobjcObject): NobjcObject;
95
+ export declare function DRTrackGetTypeID(): number;
96
+ export declare function DRTrackSetProperties(track: NobjcObject, properties: NobjcObject): void;
97
+ export declare function DRTrackSpeedTest(track: NobjcObject, howManyMilliseconds: number, howManyBytes: number): number;
@@ -0,0 +1,290 @@
1
+ // AUTO-GENERATED by objcjs-types generator — DO NOT EDIT
2
+ import { callFunction } from "objc-js";
3
+ export function DRAudioTrackCreate(audioFile) {
4
+ return callFunction("DRAudioTrackCreate", { returns: "@" }, audioFile);
5
+ }
6
+ export function DRAudioTrackCreateWithURL(audioFileURL) {
7
+ return callFunction("DRAudioTrackCreateWithURL", { returns: "@" }, audioFileURL);
8
+ }
9
+ export function DRBurnAbort(burn) {
10
+ callFunction("DRBurnAbort", undefined, burn);
11
+ }
12
+ export function DRBurnCopyStatus(burn) {
13
+ return callFunction("DRBurnCopyStatus", { returns: "@" }, burn);
14
+ }
15
+ export function DRBurnCreate(device) {
16
+ return callFunction("DRBurnCreate", { returns: "@" }, device);
17
+ }
18
+ export function DRBurnGetDevice(burn) {
19
+ return callFunction("DRBurnGetDevice", { returns: "@" }, burn);
20
+ }
21
+ export function DRBurnGetProperties(burn) {
22
+ return callFunction("DRBurnGetProperties", { returns: "@" }, burn);
23
+ }
24
+ export function DRBurnGetTypeID() {
25
+ return callFunction("DRBurnGetTypeID", { returns: "L" });
26
+ }
27
+ export function DRBurnSetProperties(burn, properties) {
28
+ callFunction("DRBurnSetProperties", undefined, burn, properties);
29
+ }
30
+ export function DRBurnWriteLayout(burn, layout) {
31
+ return callFunction("DRBurnWriteLayout", { returns: "i", args: ["@", "^"] }, burn, layout);
32
+ }
33
+ export function DRCDTextBlockCreate(language, encoding) {
34
+ return callFunction("DRCDTextBlockCreate", { returns: "@", args: ["^", "I"] }, language, encoding);
35
+ }
36
+ export function DRCDTextBlockCreateArrayFromPackList(packs) {
37
+ return callFunction("DRCDTextBlockCreateArrayFromPackList", { returns: "@" }, packs);
38
+ }
39
+ export function DRCDTextBlockFlatten(block) {
40
+ return callFunction("DRCDTextBlockFlatten", { returns: "I" }, block);
41
+ }
42
+ export function DRCDTextBlockGetProperties(block) {
43
+ return callFunction("DRCDTextBlockGetProperties", { returns: "@" }, block);
44
+ }
45
+ export function DRCDTextBlockGetTrackDictionaries(block) {
46
+ return callFunction("DRCDTextBlockGetTrackDictionaries", { returns: "@" }, block);
47
+ }
48
+ export function DRCDTextBlockGetTypeID() {
49
+ return callFunction("DRCDTextBlockGetTypeID", { returns: "L" });
50
+ }
51
+ export function DRCDTextBlockGetValue(block, trackIndex, key) {
52
+ return callFunction("DRCDTextBlockGetValue", { returns: "^", args: ["@", "q", "^"] }, block, trackIndex, key);
53
+ }
54
+ export function DRCDTextBlockSetProperties(block, properties) {
55
+ callFunction("DRCDTextBlockSetProperties", undefined, block, properties);
56
+ }
57
+ export function DRCDTextBlockSetTrackDictionaries(block, array) {
58
+ callFunction("DRCDTextBlockSetTrackDictionaries", undefined, block, array);
59
+ }
60
+ export function DRCDTextBlockSetValue(block, trackIndex, key, value) {
61
+ callFunction("DRCDTextBlockSetValue", { args: ["@", "q", "^", "^"] }, block, trackIndex, key, value);
62
+ }
63
+ export function DRCopyDeviceArray() {
64
+ return callFunction("DRCopyDeviceArray", { returns: "@" });
65
+ }
66
+ export function DRCopyLocalizedStringForAdditionalSense(ASC, ASCQ) {
67
+ return callFunction("DRCopyLocalizedStringForAdditionalSense", { returns: "^", args: ["C", "C"] }, ASC, ASCQ);
68
+ }
69
+ export function DRCopyLocalizedStringForDiscRecordingError(osError) {
70
+ return callFunction("DRCopyLocalizedStringForDiscRecordingError", { returns: "^", args: ["i"] }, osError);
71
+ }
72
+ export function DRCopyLocalizedStringForSenseCode(senseCode) {
73
+ return callFunction("DRCopyLocalizedStringForSenseCode", { returns: "^", args: ["C"] }, senseCode);
74
+ }
75
+ export function DRCopyLocalizedStringForValue(value) {
76
+ return callFunction("DRCopyLocalizedStringForValue", { returns: "^", args: ["^"] }, value);
77
+ }
78
+ export function DRDeviceAcquireExclusiveAccess(device) {
79
+ return callFunction("DRDeviceAcquireExclusiveAccess", { returns: "i" }, device);
80
+ }
81
+ export function DRDeviceAcquireMediaReservation(device) {
82
+ callFunction("DRDeviceAcquireMediaReservation", undefined, device);
83
+ }
84
+ export function DRDeviceCloseTray(device) {
85
+ return callFunction("DRDeviceCloseTray", { returns: "i" }, device);
86
+ }
87
+ export function DRDeviceCopyDeviceForBSDName(name) {
88
+ return callFunction("DRDeviceCopyDeviceForBSDName", { returns: "@", args: ["^"] }, name);
89
+ }
90
+ export function DRDeviceCopyDeviceForIORegistryEntryPath(path) {
91
+ return callFunction("DRDeviceCopyDeviceForIORegistryEntryPath", { returns: "@", args: ["^"] }, path);
92
+ }
93
+ export function DRDeviceCopyInfo(device) {
94
+ return callFunction("DRDeviceCopyInfo", { returns: "@" }, device);
95
+ }
96
+ export function DRDeviceCopyStatus(device) {
97
+ return callFunction("DRDeviceCopyStatus", { returns: "@" }, device);
98
+ }
99
+ export function DRDeviceEjectMedia(device) {
100
+ return callFunction("DRDeviceEjectMedia", { returns: "i" }, device);
101
+ }
102
+ export function DRDeviceGetTypeID() {
103
+ return callFunction("DRDeviceGetTypeID", { returns: "L" });
104
+ }
105
+ export function DRDeviceIsValid(device) {
106
+ return callFunction("DRDeviceIsValid", { returns: "C" }, device);
107
+ }
108
+ export function DRDeviceKPSForXFactor(deviceOrMediaType, xfactor) {
109
+ return callFunction("DRDeviceKPSForXFactor", { returns: "f", args: ["^", "f"] }, deviceOrMediaType, xfactor);
110
+ }
111
+ export function DRDeviceOpenTray(device) {
112
+ return callFunction("DRDeviceOpenTray", { returns: "i" }, device);
113
+ }
114
+ export function DRDeviceReleaseExclusiveAccess(device) {
115
+ callFunction("DRDeviceReleaseExclusiveAccess", undefined, device);
116
+ }
117
+ export function DRDeviceReleaseMediaReservation(device) {
118
+ callFunction("DRDeviceReleaseMediaReservation", undefined, device);
119
+ }
120
+ export function DRDeviceXFactorForKPS(deviceOrMediaType, kps) {
121
+ return callFunction("DRDeviceXFactorForKPS", { returns: "f", args: ["^", "f"] }, deviceOrMediaType, kps);
122
+ }
123
+ export function DREraseCopyStatus(erase) {
124
+ return callFunction("DREraseCopyStatus", { returns: "@" }, erase);
125
+ }
126
+ export function DREraseCreate(device) {
127
+ return callFunction("DREraseCreate", { returns: "@" }, device);
128
+ }
129
+ export function DREraseGetDevice(erase) {
130
+ return callFunction("DREraseGetDevice", { returns: "@" }, erase);
131
+ }
132
+ export function DREraseGetProperties(erase) {
133
+ return callFunction("DREraseGetProperties", { returns: "@" }, erase);
134
+ }
135
+ export function DREraseGetTypeID() {
136
+ return callFunction("DREraseGetTypeID", { returns: "L" });
137
+ }
138
+ export function DREraseSetProperties(erase, properties) {
139
+ callFunction("DREraseSetProperties", undefined, erase, properties);
140
+ }
141
+ export function DREraseStart(erase) {
142
+ return callFunction("DREraseStart", { returns: "i" }, erase);
143
+ }
144
+ export function DRFileCreateReal(fsRef) {
145
+ return callFunction("DRFileCreateReal", { returns: "@" }, fsRef);
146
+ }
147
+ export function DRFileCreateRealWithURL(urlRef) {
148
+ return callFunction("DRFileCreateRealWithURL", { returns: "@" }, urlRef);
149
+ }
150
+ export function DRFileCreateVirtualLink(original, linkType, fsKey) {
151
+ return callFunction("DRFileCreateVirtualLink", { returns: "@", args: ["^", "I", "^"] }, original, linkType, fsKey);
152
+ }
153
+ export function DRFileCreateVirtualWithCallback(baseName, fileProc, fileProcRefCon) {
154
+ return callFunction("DRFileCreateVirtualWithCallback", { returns: "@", args: ["^", "@", "^v"] }, baseName, fileProc, fileProcRefCon);
155
+ }
156
+ export function DRFileCreateVirtualWithData(baseName, fileData, fileDataLength) {
157
+ return callFunction("DRFileCreateVirtualWithData", { returns: "@", args: ["^", "^v", "I"] }, baseName, fileData, fileDataLength);
158
+ }
159
+ export function DRFileGetTypeID() {
160
+ return callFunction("DRFileGetTypeID", { returns: "L" });
161
+ }
162
+ export function DRFilesystemTrackCreate(rootFolder) {
163
+ return callFunction("DRFilesystemTrackCreate", { returns: "@" }, rootFolder);
164
+ }
165
+ export function DRFilesystemTrackEstimateOverhead(numBlocks, blockSize, fsMask) {
166
+ return callFunction("DRFilesystemTrackEstimateOverhead", { returns: "Q", args: ["Q", "I", "I"] }, numBlocks, blockSize, fsMask);
167
+ }
168
+ export function DRFolderAddChild(parent, newChild) {
169
+ callFunction("DRFolderAddChild", { args: ["@", "^"] }, parent, newChild);
170
+ }
171
+ export function DRFolderConvertRealToVirtual(realFolder) {
172
+ callFunction("DRFolderConvertRealToVirtual", undefined, realFolder);
173
+ }
174
+ export function DRFolderCopyChildren(folder) {
175
+ return callFunction("DRFolderCopyChildren", { returns: "@" }, folder);
176
+ }
177
+ export function DRFolderCountChildren(folder) {
178
+ return callFunction("DRFolderCountChildren", { returns: "I" }, folder);
179
+ }
180
+ export function DRFolderCreateReal(fsRef) {
181
+ return callFunction("DRFolderCreateReal", { returns: "@" }, fsRef);
182
+ }
183
+ export function DRFolderCreateRealWithURL(urlRef) {
184
+ return callFunction("DRFolderCreateRealWithURL", { returns: "@" }, urlRef);
185
+ }
186
+ export function DRFolderCreateVirtual(baseName) {
187
+ return callFunction("DRFolderCreateVirtual", { returns: "@", args: ["^"] }, baseName);
188
+ }
189
+ export function DRFolderGetTypeID() {
190
+ return callFunction("DRFolderGetTypeID", { returns: "L" });
191
+ }
192
+ export function DRFolderRemoveChild(parent, child) {
193
+ callFunction("DRFolderRemoveChild", { args: ["@", "^"] }, parent, child);
194
+ }
195
+ export function DRFSObjectCopyBaseName(object_) {
196
+ return callFunction("DRFSObjectCopyBaseName", { returns: "^" }, object_);
197
+ }
198
+ export function DRFSObjectCopyFilesystemProperties(object_, fsKey, coalesce) {
199
+ return callFunction("DRFSObjectCopyFilesystemProperties", { returns: "@", args: ["@", "^", "C"] }, object_, fsKey, coalesce);
200
+ }
201
+ export function DRFSObjectCopyFilesystemProperty(object_, fsKey, propertyKey, coalesce) {
202
+ return callFunction("DRFSObjectCopyFilesystemProperty", { returns: "^", args: ["@", "^", "^", "C"] }, object_, fsKey, propertyKey, coalesce);
203
+ }
204
+ export function DRFSObjectCopyMangledName(object_, fsKey) {
205
+ return callFunction("DRFSObjectCopyMangledName", { returns: "^", args: ["@", "^"] }, object_, fsKey);
206
+ }
207
+ export function DRFSObjectCopyMangledNames(object_) {
208
+ return callFunction("DRFSObjectCopyMangledNames", { returns: "@" }, object_);
209
+ }
210
+ export function DRFSObjectCopyRealURL(object_) {
211
+ return callFunction("DRFSObjectCopyRealURL", { returns: "@" }, object_);
212
+ }
213
+ export function DRFSObjectCopySpecificName(object_, fsKey) {
214
+ return callFunction("DRFSObjectCopySpecificName", { returns: "^", args: ["@", "^"] }, object_, fsKey);
215
+ }
216
+ export function DRFSObjectCopySpecificNames(object_) {
217
+ return callFunction("DRFSObjectCopySpecificNames", { returns: "@" }, object_);
218
+ }
219
+ export function DRFSObjectGetFilesystemMask(object_, explicitMask, effectiveMask) {
220
+ return callFunction("DRFSObjectGetFilesystemMask", { returns: "I" }, object_, explicitMask, effectiveMask);
221
+ }
222
+ export function DRFSObjectGetParent(object_) {
223
+ return callFunction("DRFSObjectGetParent", { returns: "@" }, object_);
224
+ }
225
+ export function DRFSObjectGetRealFSRef(object_, fsRef) {
226
+ callFunction("DRFSObjectGetRealFSRef", undefined, object_, fsRef);
227
+ }
228
+ export function DRFSObjectIsVirtual(object_) {
229
+ return callFunction("DRFSObjectIsVirtual", { returns: "C" }, object_);
230
+ }
231
+ export function DRFSObjectSetBaseName(object_, baseName) {
232
+ callFunction("DRFSObjectSetBaseName", { args: ["^", "^"] }, object_, baseName);
233
+ }
234
+ export function DRFSObjectSetFilesystemMask(object_, newMask) {
235
+ callFunction("DRFSObjectSetFilesystemMask", { args: ["^", "I"] }, object_, newMask);
236
+ }
237
+ export function DRFSObjectSetFilesystemProperties(object_, fsKey, properties) {
238
+ callFunction("DRFSObjectSetFilesystemProperties", { args: ["^", "^", "@"] }, object_, fsKey, properties);
239
+ }
240
+ export function DRFSObjectSetFilesystemProperty(object_, fsKey, propertyKey, value) {
241
+ callFunction("DRFSObjectSetFilesystemProperty", { args: ["^", "^", "^", "^"] }, object_, fsKey, propertyKey, value);
242
+ }
243
+ export function DRFSObjectSetSpecificName(object_, fsKey, specificName) {
244
+ callFunction("DRFSObjectSetSpecificName", { args: ["^", "^", "^"] }, object_, fsKey, specificName);
245
+ }
246
+ export function DRFSObjectSetSpecificNames(object_, specificNames) {
247
+ callFunction("DRFSObjectSetSpecificNames", { args: ["^", "@"] }, object_, specificNames);
248
+ }
249
+ export function DRGetRefCon(ref) {
250
+ return callFunction("DRGetRefCon", { returns: "^v", args: ["^"] }, ref);
251
+ }
252
+ export function DRGetVersion() {
253
+ return callFunction("DRGetVersion", { returns: "@" });
254
+ }
255
+ export function DRNotificationCenterAddObserver(center, observer, callback, name, object_) {
256
+ callFunction("DRNotificationCenterAddObserver", { args: ["@", "^v", "@", "^", "^"] }, center, observer, callback, name, object_);
257
+ }
258
+ export function DRNotificationCenterCreate() {
259
+ return callFunction("DRNotificationCenterCreate", { returns: "@" });
260
+ }
261
+ export function DRNotificationCenterCreateRunLoopSource(center) {
262
+ return callFunction("DRNotificationCenterCreateRunLoopSource", { returns: "@" }, center);
263
+ }
264
+ export function DRNotificationCenterGetTypeID() {
265
+ return callFunction("DRNotificationCenterGetTypeID", { returns: "L" });
266
+ }
267
+ export function DRNotificationCenterRemoveObserver(center, observer, name, object_) {
268
+ callFunction("DRNotificationCenterRemoveObserver", { args: ["@", "^v", "^", "^"] }, center, observer, name, object_);
269
+ }
270
+ export function DRSetRefCon(ref, refCon, callbacks) {
271
+ callFunction("DRSetRefCon", { args: ["^", "^v", "@"] }, ref, refCon, callbacks);
272
+ }
273
+ export function DRTrackCreate(properties, callback) {
274
+ return callFunction("DRTrackCreate", { returns: "@" }, properties, callback);
275
+ }
276
+ export function DRTrackEstimateLength(track) {
277
+ return callFunction("DRTrackEstimateLength", { returns: "Q" }, track);
278
+ }
279
+ export function DRTrackGetProperties(track) {
280
+ return callFunction("DRTrackGetProperties", { returns: "@" }, track);
281
+ }
282
+ export function DRTrackGetTypeID() {
283
+ return callFunction("DRTrackGetTypeID", { returns: "L" });
284
+ }
285
+ export function DRTrackSetProperties(track, properties) {
286
+ callFunction("DRTrackSetProperties", undefined, track, properties);
287
+ }
288
+ export function DRTrackSpeedTest(track, howManyMilliseconds, howManyBytes) {
289
+ return callFunction("DRTrackSpeedTest", { returns: "f", args: ["@", "I", "I"] }, track, howManyMilliseconds, howManyBytes);
290
+ }
@@ -37,3 +37,4 @@ import type { _DRFileDataProduction } from "./DRFileDataProduction.js";
37
37
  export type { _DRFileDataProduction };
38
38
  import type { _DRTrackDataProduction } from "./DRTrackDataProduction.js";
39
39
  export type { _DRTrackDataProduction };
40
+ export * from "./functions.js";
@@ -13,3 +13,4 @@ export const DRMSF = _bindClass(DiscRecording, "DRMSF");
13
13
  export const DRMSFFormatter = _bindClass(DiscRecording, "DRMSFFormatter");
14
14
  export const DRNotificationCenter = _bindClass(DiscRecording, "DRNotificationCenter");
15
15
  export const DRTrack = _bindClass(DiscRecording, "DRTrack");
16
+ export * from "./functions.js";
@@ -0,0 +1,13 @@
1
+ import type { NobjcObject } from "objc-js";
2
+ export declare function DRBurnSessionBeginProgressDialog(burnSession: NobjcObject, layout: Uint8Array, options: NobjcObject, progressCallbacks: NobjcObject): void;
3
+ export declare function DRBurnSessionCreate(): NobjcObject;
4
+ export declare function DRBurnSessionGetBurn(burnSession: NobjcObject): NobjcObject;
5
+ export declare function DRBurnSessionGetTypeID(): number;
6
+ export declare function DRBurnSessionSetBurn(burnSession: NobjcObject, burn: NobjcObject): void;
7
+ export declare function DRBurnSessionSetupDialog(burnSession: NobjcObject, options: NobjcObject, setupCallbacks: NobjcObject): NobjcObject;
8
+ export declare function DREraseSessionBeginProgressDialog(eraseSession: NobjcObject, options: NobjcObject, progressCallbacks: NobjcObject): void;
9
+ export declare function DREraseSessionCreate(): NobjcObject;
10
+ export declare function DREraseSessionGetErase(eraseSession: NobjcObject): NobjcObject;
11
+ export declare function DREraseSessionGetTypeID(): number;
12
+ export declare function DREraseSessionSetErase(eraseSession: NobjcObject, erase: NobjcObject): void;
13
+ export declare function DREraseSessionSetupDialog(eraseSession: NobjcObject, options: NobjcObject, setupCallbacks: NobjcObject): NobjcObject;
@@ -0,0 +1,38 @@
1
+ // AUTO-GENERATED by objcjs-types generator — DO NOT EDIT
2
+ import { callFunction } from "objc-js";
3
+ export function DRBurnSessionBeginProgressDialog(burnSession, layout, options, progressCallbacks) {
4
+ callFunction("DRBurnSessionBeginProgressDialog", { args: ["@", "^", "@", "@"] }, burnSession, layout, options, progressCallbacks);
5
+ }
6
+ export function DRBurnSessionCreate() {
7
+ return callFunction("DRBurnSessionCreate", { returns: "@" });
8
+ }
9
+ export function DRBurnSessionGetBurn(burnSession) {
10
+ return callFunction("DRBurnSessionGetBurn", { returns: "@" }, burnSession);
11
+ }
12
+ export function DRBurnSessionGetTypeID() {
13
+ return callFunction("DRBurnSessionGetTypeID", { returns: "L" });
14
+ }
15
+ export function DRBurnSessionSetBurn(burnSession, burn) {
16
+ callFunction("DRBurnSessionSetBurn", undefined, burnSession, burn);
17
+ }
18
+ export function DRBurnSessionSetupDialog(burnSession, options, setupCallbacks) {
19
+ return callFunction("DRBurnSessionSetupDialog", { returns: "c" }, burnSession, options, setupCallbacks);
20
+ }
21
+ export function DREraseSessionBeginProgressDialog(eraseSession, options, progressCallbacks) {
22
+ callFunction("DREraseSessionBeginProgressDialog", undefined, eraseSession, options, progressCallbacks);
23
+ }
24
+ export function DREraseSessionCreate() {
25
+ return callFunction("DREraseSessionCreate", { returns: "@" });
26
+ }
27
+ export function DREraseSessionGetErase(eraseSession) {
28
+ return callFunction("DREraseSessionGetErase", { returns: "@" }, eraseSession);
29
+ }
30
+ export function DREraseSessionGetTypeID() {
31
+ return callFunction("DREraseSessionGetTypeID", { returns: "L" });
32
+ }
33
+ export function DREraseSessionSetErase(eraseSession, erase) {
34
+ callFunction("DREraseSessionSetErase", undefined, eraseSession, erase);
35
+ }
36
+ export function DREraseSessionSetupDialog(eraseSession, options, setupCallbacks) {
37
+ return callFunction("DREraseSessionSetupDialog", { returns: "c" }, eraseSession, options, setupCallbacks);
38
+ }
@@ -15,3 +15,4 @@ export type { _DREraseSetupPanel };
15
15
  import type { _DRSetupPanel } from "./DRSetupPanel.js";
16
16
  export declare const DRSetupPanel: typeof _DRSetupPanel;
17
17
  export type { _DRSetupPanel };
18
+ export * from "./functions.js";
@@ -7,3 +7,4 @@ export const DRBurnSetupPanel = _bindClass(DiscRecordingUI, "DRBurnSetupPanel");
7
7
  export const DREraseProgressPanel = _bindClass(DiscRecordingUI, "DREraseProgressPanel");
8
8
  export const DREraseSetupPanel = _bindClass(DiscRecordingUI, "DREraseSetupPanel");
9
9
  export const DRSetupPanel = _bindClass(DiscRecordingUI, "DRSetupPanel");
10
+ export * from "./functions.js";
@@ -0,0 +1 @@
1
+ export declare function NSExceptionHandlerResume(): void;
@@ -0,0 +1,5 @@
1
+ // AUTO-GENERATED by objcjs-types generator — DO NOT EDIT
2
+ import { callFunction } from "objc-js";
3
+ export function NSExceptionHandlerResume() {
4
+ callFunction("NSExceptionHandlerResume");
5
+ }
@@ -3,3 +3,4 @@ export declare const ExceptionHandling: NobjcLibrary;
3
3
  import type { _NSExceptionHandler } from "./NSExceptionHandler.js";
4
4
  export declare const NSExceptionHandler: typeof _NSExceptionHandler;
5
5
  export type { _NSExceptionHandler };
6
+ export * from "./functions.js";
@@ -3,3 +3,4 @@ import { NobjcLibrary } from "objc-js";
3
3
  import { _bindClass } from "../bind.js";
4
4
  export const ExceptionHandling = new NobjcLibrary("/System/Library/Frameworks/ExceptionHandling.framework/ExceptionHandling");
5
5
  export const NSExceptionHandler = _bindClass(ExceptionHandling, "NSExceptionHandler");
6
+ export * from "./functions.js";
@@ -0,0 +1,4 @@
1
+ import type { _NSError } from "../Foundation/NSError.js";
2
+ export declare function fs_errorForCocoaError(errorCode: number): _NSError;
3
+ export declare function fs_errorForMachError(errorCode: number): _NSError;
4
+ export declare function fs_errorForPOSIXError(arg: number): _NSError;
@@ -0,0 +1,11 @@
1
+ // AUTO-GENERATED by objcjs-types generator — DO NOT EDIT
2
+ import { callFunction } from "objc-js";
3
+ export function fs_errorForCocoaError(errorCode) {
4
+ return callFunction("fs_errorForCocoaError", { returns: "@", args: ["i"] }, errorCode);
5
+ }
6
+ export function fs_errorForMachError(errorCode) {
7
+ return callFunction("fs_errorForMachError", { returns: "@", args: ["i"] }, errorCode);
8
+ }
9
+ export function fs_errorForPOSIXError(arg) {
10
+ return callFunction("fs_errorForPOSIXError", { returns: "@", args: ["i"] }, arg);
11
+ }
@@ -123,3 +123,4 @@ export { FSSetXattrPolicy } from "./FSSetXattrPolicy.js";
123
123
  export { FSSyncFlags } from "./FSSyncFlags.js";
124
124
  export { FSVolumeCaseFormat } from "./FSVolumeCaseFormat.js";
125
125
  export { FSVolumeOpenModes } from "./FSVolumeOpenModes.js";
126
+ export * from "./functions.js";
@@ -45,3 +45,4 @@ export { FSSetXattrPolicy } from "./FSSetXattrPolicy.js";
45
45
  export { FSSyncFlags } from "./FSSyncFlags.js";
46
46
  export { FSVolumeCaseFormat } from "./FSVolumeCaseFormat.js";
47
47
  export { FSVolumeOpenModes } from "./FSVolumeOpenModes.js";
48
+ export * from "./functions.js";