| // AUTO GENERATED FILE, DO NOT EDIT. |
| // |
| // Generated by `package:ffigen`. |
| // ignore_for_file: type=lint, unused_import |
| import 'dart:ffi' as ffi; |
| import 'package:objective_c/objective_c.dart' as objc; |
| import 'package:ffi/ffi.dart' as pkg_ffi; |
| |
| /// WARNING: NSAccessibility is a stub. To generate bindings for this class, include |
| /// NSAccessibility in your config's objc-protocols list. |
| /// |
| /// NSAccessibility |
| extension type NSAccessibility._(objc.ObjCProtocol object$) |
| implements objc.ObjCProtocol, objc.NSObjectProtocol { |
| /// Constructs a [NSAccessibility] that points to the same underlying object as [other]. |
| NSAccessibility.as(objc.ObjCObject other) : object$ = other; |
| |
| /// Constructs a [NSAccessibility] that wraps the given raw object pointer. |
| NSAccessibility.fromPointer( |
| ffi.Pointer<objc.ObjCObjectImpl> other, { |
| bool retain = false, |
| bool release = false, |
| }) : object$ = objc.ObjCProtocol(other, retain: retain, release: release); |
| } |
| |
| /// WARNING: NSAccessibilityElement is a stub. To generate bindings for this class, include |
| /// NSAccessibilityElement in your config's objc-protocols list. |
| /// |
| /// NSAccessibilityElement |
| extension type NSAccessibilityElement._(objc.ObjCProtocol object$) |
| implements objc.ObjCProtocol, objc.NSObjectProtocol { |
| /// Constructs a [NSAccessibilityElement] that points to the same underlying object as [other]. |
| NSAccessibilityElement.as(objc.ObjCObject other) : object$ = other; |
| |
| /// Constructs a [NSAccessibilityElement] that wraps the given raw object pointer. |
| NSAccessibilityElement.fromPointer( |
| ffi.Pointer<objc.ObjCObjectImpl> other, { |
| bool retain = false, |
| bool release = false, |
| }) : object$ = objc.ObjCProtocol(other, retain: retain, release: release); |
| } |
| |
| /// WARNING: NSAnimatablePropertyContainer is a stub. To generate bindings for this class, include |
| /// NSAnimatablePropertyContainer in your config's objc-protocols list. |
| /// |
| /// NSAnimatablePropertyContainer |
| extension type NSAnimatablePropertyContainer._(objc.ObjCProtocol object$) |
| implements objc.ObjCProtocol { |
| /// Constructs a [NSAnimatablePropertyContainer] that points to the same underlying object as [other]. |
| NSAnimatablePropertyContainer.as(objc.ObjCObject other) : object$ = other; |
| |
| /// Constructs a [NSAnimatablePropertyContainer] that wraps the given raw object pointer. |
| NSAnimatablePropertyContainer.fromPointer( |
| ffi.Pointer<objc.ObjCObjectImpl> other, { |
| bool retain = false, |
| bool release = false, |
| }) : object$ = objc.ObjCProtocol(other, retain: retain, release: release); |
| } |
| |
| /// WARNING: NSAppearanceCustomization is a stub. To generate bindings for this class, include |
| /// NSAppearanceCustomization in your config's objc-protocols list. |
| /// |
| /// NSAppearanceCustomization |
| extension type NSAppearanceCustomization._(objc.ObjCProtocol object$) |
| implements objc.ObjCProtocol, objc.NSObjectProtocol { |
| /// Constructs a [NSAppearanceCustomization] that points to the same underlying object as [other]. |
| NSAppearanceCustomization.as(objc.ObjCObject other) : object$ = other; |
| |
| /// Constructs a [NSAppearanceCustomization] that wraps the given raw object pointer. |
| NSAppearanceCustomization.fromPointer( |
| ffi.Pointer<objc.ObjCObjectImpl> other, { |
| bool retain = false, |
| bool release = false, |
| }) : object$ = objc.ObjCProtocol(other, retain: retain, release: release); |
| } |
| |
| /// WARNING: NSButtonCell is a stub. To generate bindings for this class, include |
| /// NSButtonCell in your config's objc-interfaces list. |
| /// |
| /// NSButtonCell |
| extension type NSButtonCell._(objc.ObjCObject object$) |
| implements objc.ObjCObject { |
| /// Constructs a [NSButtonCell] that points to the same underlying object as [other]. |
| NSButtonCell.as(objc.ObjCObject other) : object$ = other {} |
| |
| /// Constructs a [NSButtonCell] that wraps the given raw object pointer. |
| NSButtonCell.fromPointer( |
| ffi.Pointer<objc.ObjCObjectImpl> other, { |
| bool retain = false, |
| bool release = false, |
| }) : object$ = objc.ObjCObject(other, retain: retain, release: release) {} |
| } |
| |
| /// WARNING: NSColorList is a stub. To generate bindings for this class, include |
| /// NSColorList in your config's objc-interfaces list. |
| /// |
| /// NSColorList |
| extension type NSColorList._(objc.ObjCObject object$) |
| implements objc.ObjCObject { |
| /// Constructs a [NSColorList] that points to the same underlying object as [other]. |
| NSColorList.as(objc.ObjCObject other) : object$ = other {} |
| |
| /// Constructs a [NSColorList] that wraps the given raw object pointer. |
| NSColorList.fromPointer( |
| ffi.Pointer<objc.ObjCObjectImpl> other, { |
| bool retain = false, |
| bool release = false, |
| }) : object$ = objc.ObjCObject(other, retain: retain, release: release) {} |
| } |
| |
| /// WARNING: NSColorPanel is a stub. To generate bindings for this class, include |
| /// NSColorPanel in your config's objc-interfaces list. |
| /// |
| /// NSColorPanel |
| extension type NSColorPanel._(objc.ObjCObject object$) |
| implements objc.ObjCObject, NSPanel { |
| /// Constructs a [NSColorPanel] that points to the same underlying object as [other]. |
| NSColorPanel.as(objc.ObjCObject other) : object$ = other { |
| objc.checkOsVersionInternal('NSColorPanel', iOS: (true, null)); |
| } |
| |
| /// Constructs a [NSColorPanel] that wraps the given raw object pointer. |
| NSColorPanel.fromPointer( |
| ffi.Pointer<objc.ObjCObjectImpl> other, { |
| bool retain = false, |
| bool release = false, |
| }) : object$ = objc.ObjCObject(other, retain: retain, release: release) { |
| objc.checkOsVersionInternal('NSColorPanel', iOS: (true, null)); |
| } |
| } |
| |
| enum NSColorPanelMode { |
| NSColorPanelModeNone(-1), |
| NSColorPanelModeGray(0), |
| NSColorPanelModeRGB(1), |
| NSColorPanelModeCMYK(2), |
| NSColorPanelModeHSB(3), |
| NSColorPanelModeCustomPalette(4), |
| NSColorPanelModeColorList(5), |
| NSColorPanelModeWheel(6), |
| NSColorPanelModeCrayon(7); |
| |
| final int value; |
| const NSColorPanelMode(this.value); |
| |
| static NSColorPanelMode fromValue(int value) => switch (value) { |
| -1 => NSColorPanelModeNone, |
| 0 => NSColorPanelModeGray, |
| 1 => NSColorPanelModeRGB, |
| 2 => NSColorPanelModeCMYK, |
| 3 => NSColorPanelModeHSB, |
| 4 => NSColorPanelModeCustomPalette, |
| 5 => NSColorPanelModeColorList, |
| 6 => NSColorPanelModeWheel, |
| 7 => NSColorPanelModeCrayon, |
| _ => throw ArgumentError('Unknown value for NSColorPanelMode: $value'), |
| }; |
| } |
| |
| /// NSColorPicker |
| extension type NSColorPicker._(objc.ObjCObject object$) |
| implements objc.ObjCObject, objc.NSObject, NSColorPickingDefault { |
| /// Constructs a [NSColorPicker] that points to the same underlying object as [other]. |
| NSColorPicker.as(objc.ObjCObject other) : object$ = other { |
| objc.checkOsVersionInternal('NSColorPicker', iOS: (true, null)); |
| assert(isA(object$)); |
| } |
| |
| /// Constructs a [NSColorPicker] that wraps the given raw object pointer. |
| NSColorPicker.fromPointer( |
| ffi.Pointer<objc.ObjCObjectImpl> other, { |
| bool retain = false, |
| bool release = false, |
| }) : object$ = objc.ObjCObject(other, retain: retain, release: release) { |
| objc.checkOsVersionInternal('NSColorPicker', iOS: (true, null)); |
| assert(isA(object$)); |
| } |
| |
| /// Returns whether [obj] is an instance of [NSColorPicker]. |
| static bool isA(objc.ObjCObject? obj) => obj == null |
| ? false |
| : _objc_msgSend_19nvye5( |
| obj.ref.pointer, |
| _sel_isKindOfClass_, |
| _class_NSColorPicker, |
| ); |
| |
| /// alloc |
| static NSColorPicker alloc() { |
| final $ret = _objc_msgSend_151sglz(_class_NSColorPicker, _sel_alloc); |
| return NSColorPicker.fromPointer($ret, retain: false, release: true); |
| } |
| |
| /// allocWithZone: |
| static NSColorPicker allocWithZone(ffi.Pointer<objc.NSZone> zone) { |
| final $ret = _objc_msgSend_1cwp428( |
| _class_NSColorPicker, |
| _sel_allocWithZone_, |
| zone, |
| ); |
| return NSColorPicker.fromPointer($ret, retain: false, release: true); |
| } |
| |
| /// new |
| static NSColorPicker new$() { |
| final $ret = _objc_msgSend_151sglz(_class_NSColorPicker, _sel_new); |
| return NSColorPicker.fromPointer($ret, retain: false, release: true); |
| } |
| |
| /// Returns a new instance of NSColorPicker constructed with the default `new` method. |
| NSColorPicker() : this.as(new$().object$); |
| } |
| |
| extension NSColorPicker$Methods on NSColorPicker { |
| /// alphaControlAddedOrRemoved: |
| void alphaControlAddedOrRemoved(objc.ObjCObject? sender) { |
| objc.checkOsVersionInternal( |
| 'NSColorPicker.alphaControlAddedOrRemoved:', |
| iOS: (true, null), |
| ); |
| _objc_msgSend_xtuoz7( |
| object$.ref.pointer, |
| _sel_alphaControlAddedOrRemoved_, |
| sender?.ref.pointer ?? ffi.nullptr, |
| ); |
| } |
| |
| /// attachColorList: |
| void attachColorList(NSColorList colorList) { |
| objc.checkOsVersionInternal( |
| 'NSColorPicker.attachColorList:', |
| iOS: (true, null), |
| ); |
| _objc_msgSend_xtuoz7( |
| object$.ref.pointer, |
| _sel_attachColorList_, |
| colorList.ref.pointer, |
| ); |
| } |
| |
| /// buttonToolTip |
| objc.NSString get buttonToolTip { |
| objc.checkOsVersionInternal( |
| 'NSColorPicker.buttonToolTip', |
| iOS: (true, null), |
| ); |
| final $ret = _objc_msgSend_151sglz(object$.ref.pointer, _sel_buttonToolTip); |
| return objc.NSString.fromPointer($ret, retain: true, release: true); |
| } |
| |
| /// colorPanel |
| NSColorPanel get colorPanel { |
| objc.checkOsVersionInternal('NSColorPicker.colorPanel', iOS: (true, null)); |
| final $ret = _objc_msgSend_151sglz(object$.ref.pointer, _sel_colorPanel); |
| return NSColorPanel.fromPointer($ret, retain: true, release: true); |
| } |
| |
| /// detachColorList: |
| void detachColorList(NSColorList colorList) { |
| objc.checkOsVersionInternal( |
| 'NSColorPicker.detachColorList:', |
| iOS: (true, null), |
| ); |
| _objc_msgSend_xtuoz7( |
| object$.ref.pointer, |
| _sel_detachColorList_, |
| colorList.ref.pointer, |
| ); |
| } |
| |
| /// init |
| NSColorPicker init() { |
| objc.checkOsVersionInternal( |
| 'NSColorPicker.init', |
| iOS: (false, (2, 0, 0)), |
| macOS: (false, (10, 0, 0)), |
| ); |
| final $ret = _objc_msgSend_151sglz( |
| object$.ref.retainAndReturnPointer(), |
| _sel_init, |
| ); |
| return NSColorPicker.fromPointer($ret, retain: false, release: true); |
| } |
| |
| /// initWithPickerMask:colorPanel: |
| NSColorPicker? initWithPickerMask( |
| int mask, { |
| required NSColorPanel colorPanel, |
| }) { |
| objc.checkOsVersionInternal( |
| 'NSColorPicker.initWithPickerMask:colorPanel:', |
| iOS: (true, null), |
| ); |
| final $ret = _objc_msgSend_vbc8p4( |
| object$.ref.retainAndReturnPointer(), |
| _sel_initWithPickerMask_colorPanel_, |
| mask, |
| colorPanel.ref.pointer, |
| ); |
| return $ret.address == 0 |
| ? null |
| : NSColorPicker.fromPointer($ret, retain: false, release: true); |
| } |
| |
| /// insertNewButtonImage:in: |
| void insertNewButtonImage( |
| NSImage newButtonImage, { |
| required NSButtonCell in$, |
| }) { |
| objc.checkOsVersionInternal( |
| 'NSColorPicker.insertNewButtonImage:in:', |
| iOS: (true, null), |
| ); |
| _objc_msgSend_pfv6jd( |
| object$.ref.pointer, |
| _sel_insertNewButtonImage_in_, |
| newButtonImage.ref.pointer, |
| in$.ref.pointer, |
| ); |
| } |
| |
| /// minContentSize |
| objc.CGSize get minContentSize { |
| objc.checkOsVersionInternal( |
| 'NSColorPicker.minContentSize', |
| iOS: (true, null), |
| ); |
| final $ptr = pkg_ffi.calloc<objc.CGSize>(); |
| objc.useMsgSendVariants |
| ? _objc_msgSend_1vdfkenStret( |
| $ptr, |
| object$.ref.pointer, |
| _sel_minContentSize, |
| ) |
| : $ptr.ref = _objc_msgSend_1vdfken( |
| object$.ref.pointer, |
| _sel_minContentSize, |
| ); |
| final $finalizable = $ptr.cast<ffi.Uint8>().asTypedList( |
| ffi.sizeOf<objc.CGSize>(), |
| finalizer: pkg_ffi.calloc.nativeFree, |
| ); |
| return ffi.Struct.create<objc.CGSize>($finalizable); |
| } |
| |
| /// provideNewButtonImage |
| NSImage get provideNewButtonImage { |
| objc.checkOsVersionInternal( |
| 'NSColorPicker.provideNewButtonImage', |
| iOS: (true, null), |
| ); |
| final $ret = _objc_msgSend_151sglz( |
| object$.ref.pointer, |
| _sel_provideNewButtonImage, |
| ); |
| return NSImage.fromPointer($ret, retain: true, release: true); |
| } |
| |
| /// setMode: |
| void setMode(NSColorPanelMode mode) { |
| objc.checkOsVersionInternal('NSColorPicker.setMode:', iOS: (true, null)); |
| _objc_msgSend_190ea64(object$.ref.pointer, _sel_setMode_, mode.value); |
| } |
| |
| /// viewSizeChanged: |
| void viewSizeChanged(objc.ObjCObject? sender) { |
| objc.checkOsVersionInternal( |
| 'NSColorPicker.viewSizeChanged:', |
| iOS: (true, null), |
| ); |
| _objc_msgSend_xtuoz7( |
| object$.ref.pointer, |
| _sel_viewSizeChanged_, |
| sender?.ref.pointer ?? ffi.nullptr, |
| ); |
| } |
| } |
| |
| /// WARNING: NSColorPickingDefault is a stub. To generate bindings for this class, include |
| /// NSColorPickingDefault in your config's objc-protocols list. |
| /// |
| /// NSColorPickingDefault |
| extension type NSColorPickingDefault._(objc.ObjCProtocol object$) |
| implements objc.ObjCProtocol { |
| /// Constructs a [NSColorPickingDefault] that points to the same underlying object as [other]. |
| NSColorPickingDefault.as(objc.ObjCObject other) : object$ = other; |
| |
| /// Constructs a [NSColorPickingDefault] that wraps the given raw object pointer. |
| NSColorPickingDefault.fromPointer( |
| ffi.Pointer<objc.ObjCObjectImpl> other, { |
| bool retain = false, |
| bool release = false, |
| }) : object$ = objc.ObjCProtocol(other, retain: retain, release: release); |
| } |
| |
| /// WARNING: NSImage is a stub. To generate bindings for this class, include |
| /// NSImage in your config's objc-interfaces list. |
| /// |
| /// NSImage |
| extension type NSImage._(objc.ObjCObject object$) implements objc.ObjCObject { |
| /// Constructs a [NSImage] that points to the same underlying object as [other]. |
| NSImage.as(objc.ObjCObject other) : object$ = other {} |
| |
| /// Constructs a [NSImage] that wraps the given raw object pointer. |
| NSImage.fromPointer( |
| ffi.Pointer<objc.ObjCObjectImpl> other, { |
| bool retain = false, |
| bool release = false, |
| }) : object$ = objc.ObjCObject(other, retain: retain, release: release) {} |
| } |
| |
| /// WARNING: NSMenuItemValidation is a stub. To generate bindings for this class, include |
| /// NSMenuItemValidation in your config's objc-protocols list. |
| /// |
| /// NSMenuItemValidation |
| extension type NSMenuItemValidation._(objc.ObjCProtocol object$) |
| implements objc.ObjCProtocol, objc.NSObjectProtocol { |
| /// Constructs a [NSMenuItemValidation] that points to the same underlying object as [other]. |
| NSMenuItemValidation.as(objc.ObjCObject other) : object$ = other; |
| |
| /// Constructs a [NSMenuItemValidation] that wraps the given raw object pointer. |
| NSMenuItemValidation.fromPointer( |
| ffi.Pointer<objc.ObjCObjectImpl> other, { |
| bool retain = false, |
| bool release = false, |
| }) : object$ = objc.ObjCProtocol(other, retain: retain, release: release); |
| } |
| |
| /// WARNING: NSPanel is a stub. To generate bindings for this class, include |
| /// NSPanel in your config's objc-interfaces list. |
| /// |
| /// NSPanel |
| extension type NSPanel._(objc.ObjCObject object$) |
| implements objc.ObjCObject, NSWindow { |
| /// Constructs a [NSPanel] that points to the same underlying object as [other]. |
| NSPanel.as(objc.ObjCObject other) : object$ = other { |
| objc.checkOsVersionInternal('NSPanel', iOS: (true, null)); |
| } |
| |
| /// Constructs a [NSPanel] that wraps the given raw object pointer. |
| NSPanel.fromPointer( |
| ffi.Pointer<objc.ObjCObjectImpl> other, { |
| bool retain = false, |
| bool release = false, |
| }) : object$ = objc.ObjCObject(other, retain: retain, release: release) { |
| objc.checkOsVersionInternal('NSPanel', iOS: (true, null)); |
| } |
| } |
| |
| /// WARNING: NSResponder is a stub. To generate bindings for this class, include |
| /// NSResponder in your config's objc-interfaces list. |
| /// |
| /// NSResponder |
| extension type NSResponder._(objc.ObjCObject object$) |
| implements objc.ObjCObject, objc.NSObject, objc.NSCoding { |
| /// Constructs a [NSResponder] that points to the same underlying object as [other]. |
| NSResponder.as(objc.ObjCObject other) : object$ = other { |
| objc.checkOsVersionInternal('NSResponder', iOS: (true, null)); |
| } |
| |
| /// Constructs a [NSResponder] that wraps the given raw object pointer. |
| NSResponder.fromPointer( |
| ffi.Pointer<objc.ObjCObjectImpl> other, { |
| bool retain = false, |
| bool release = false, |
| }) : object$ = objc.ObjCObject(other, retain: retain, release: release) { |
| objc.checkOsVersionInternal('NSResponder', iOS: (true, null)); |
| } |
| } |
| |
| /// NSTextList |
| extension type NSTextList._(objc.ObjCObject object$) |
| implements |
| objc.ObjCObject, |
| objc.NSObject, |
| objc.NSSecureCoding, |
| objc.NSCopying { |
| /// Constructs a [NSTextList] that points to the same underlying object as [other]. |
| NSTextList.as(objc.ObjCObject other) : object$ = other { |
| objc.checkOsVersionInternal( |
| 'NSTextList', |
| iOS: (false, (7, 0, 0)), |
| macOS: (false, (10, 0, 0)), |
| ); |
| assert(isA(object$)); |
| } |
| |
| /// Constructs a [NSTextList] that wraps the given raw object pointer. |
| NSTextList.fromPointer( |
| ffi.Pointer<objc.ObjCObjectImpl> other, { |
| bool retain = false, |
| bool release = false, |
| }) : object$ = objc.ObjCObject(other, retain: retain, release: release) { |
| objc.checkOsVersionInternal( |
| 'NSTextList', |
| iOS: (false, (7, 0, 0)), |
| macOS: (false, (10, 0, 0)), |
| ); |
| assert(isA(object$)); |
| } |
| |
| /// Returns whether [obj] is an instance of [NSTextList]. |
| static bool isA(objc.ObjCObject? obj) => obj == null |
| ? false |
| : _objc_msgSend_19nvye5( |
| obj.ref.pointer, |
| _sel_isKindOfClass_, |
| _class_NSTextList, |
| ); |
| |
| /// alloc |
| static NSTextList alloc() { |
| final $ret = _objc_msgSend_151sglz(_class_NSTextList, _sel_alloc); |
| return NSTextList.fromPointer($ret, retain: false, release: true); |
| } |
| |
| /// allocWithZone: |
| static NSTextList allocWithZone(ffi.Pointer<objc.NSZone> zone) { |
| final $ret = _objc_msgSend_1cwp428( |
| _class_NSTextList, |
| _sel_allocWithZone_, |
| zone, |
| ); |
| return NSTextList.fromPointer($ret, retain: false, release: true); |
| } |
| |
| /// new |
| static NSTextList new$() { |
| final $ret = _objc_msgSend_151sglz(_class_NSTextList, _sel_new); |
| return NSTextList.fromPointer($ret, retain: false, release: true); |
| } |
| |
| /// supportsSecureCoding |
| static bool getSupportsSecureCoding() { |
| return _objc_msgSend_91o635(_class_NSTextList, _sel_supportsSecureCoding); |
| } |
| |
| /// Returns a new instance of NSTextList constructed with the default `new` method. |
| NSTextList() : this.as(new$().object$); |
| } |
| |
| extension NSTextList$Methods on NSTextList { |
| /// encodeWithCoder: |
| void encodeWithCoder(objc.NSCoder coder) { |
| _objc_msgSend_xtuoz7( |
| object$.ref.pointer, |
| _sel_encodeWithCoder_, |
| coder.ref.pointer, |
| ); |
| } |
| |
| /// init |
| NSTextList init() { |
| objc.checkOsVersionInternal( |
| 'NSTextList.init', |
| iOS: (false, (2, 0, 0)), |
| macOS: (false, (10, 0, 0)), |
| ); |
| final $ret = _objc_msgSend_151sglz( |
| object$.ref.retainAndReturnPointer(), |
| _sel_init, |
| ); |
| return NSTextList.fromPointer($ret, retain: false, release: true); |
| } |
| |
| /// initWithCoder: |
| NSTextList? initWithCoder(objc.NSCoder coder) { |
| final $ret = _objc_msgSend_1sotr3r( |
| object$.ref.retainAndReturnPointer(), |
| _sel_initWithCoder_, |
| coder.ref.pointer, |
| ); |
| return $ret.address == 0 |
| ? null |
| : NSTextList.fromPointer($ret, retain: false, release: true); |
| } |
| |
| /// initWithMarkerFormat:options: |
| NSTextList initWithMarkerFormat( |
| objc.NSString markerFormat, { |
| required int options, |
| }) { |
| objc.checkOsVersionInternal( |
| 'NSTextList.initWithMarkerFormat:options:', |
| iOS: (false, (7, 0, 0)), |
| macOS: (false, (10, 0, 0)), |
| ); |
| final $ret = _objc_msgSend_1k4kd9s( |
| object$.ref.retainAndReturnPointer(), |
| _sel_initWithMarkerFormat_options_, |
| markerFormat.ref.pointer, |
| options, |
| ); |
| return NSTextList.fromPointer($ret, retain: false, release: true); |
| } |
| |
| /// initWithMarkerFormat:options:startingItemNumber: |
| NSTextList initWithMarkerFormat$1( |
| objc.NSString markerFormat, { |
| required int options, |
| required int startingItemNumber, |
| }) { |
| objc.checkOsVersionInternal( |
| 'NSTextList.initWithMarkerFormat:options:startingItemNumber:', |
| iOS: (false, (16, 0, 0)), |
| macOS: (false, (13, 0, 0)), |
| ); |
| final $ret = _objc_msgSend_1bh1vl9( |
| object$.ref.retainAndReturnPointer(), |
| _sel_initWithMarkerFormat_options_startingItemNumber_, |
| markerFormat.ref.pointer, |
| options, |
| startingItemNumber, |
| ); |
| return NSTextList.fromPointer($ret, retain: false, release: true); |
| } |
| |
| /// isOrdered |
| bool get isOrdered { |
| objc.checkOsVersionInternal( |
| 'NSTextList.isOrdered', |
| iOS: (false, (16, 0, 0)), |
| macOS: (false, (13, 0, 0)), |
| ); |
| return _objc_msgSend_91o635(object$.ref.pointer, _sel_isOrdered); |
| } |
| |
| /// listOptions |
| int get listOptions { |
| objc.checkOsVersionInternal( |
| 'NSTextList.listOptions', |
| iOS: (false, (7, 0, 0)), |
| macOS: (false, (10, 0, 0)), |
| ); |
| return _objc_msgSend_exovb9(object$.ref.pointer, _sel_listOptions); |
| } |
| |
| /// markerForItemNumber: |
| objc.NSString markerForItemNumber(int itemNumber) { |
| objc.checkOsVersionInternal( |
| 'NSTextList.markerForItemNumber:', |
| iOS: (false, (7, 0, 0)), |
| macOS: (false, (10, 0, 0)), |
| ); |
| final $ret = _objc_msgSend_qugqlf( |
| object$.ref.pointer, |
| _sel_markerForItemNumber_, |
| itemNumber, |
| ); |
| return objc.NSString.fromPointer($ret, retain: true, release: true); |
| } |
| |
| /// markerFormat |
| objc.NSString get markerFormat { |
| objc.checkOsVersionInternal( |
| 'NSTextList.markerFormat', |
| iOS: (false, (7, 0, 0)), |
| macOS: (false, (10, 0, 0)), |
| ); |
| final $ret = _objc_msgSend_151sglz(object$.ref.pointer, _sel_markerFormat); |
| return objc.NSString.fromPointer($ret, retain: true, release: true); |
| } |
| |
| /// setStartingItemNumber: |
| set startingItemNumber(int value) { |
| objc.checkOsVersionInternal( |
| 'NSTextList.setStartingItemNumber:', |
| iOS: (false, (7, 0, 0)), |
| macOS: (false, (10, 0, 0)), |
| ); |
| _objc_msgSend_4sp4xj( |
| object$.ref.pointer, |
| _sel_setStartingItemNumber_, |
| value, |
| ); |
| } |
| |
| /// startingItemNumber |
| int get startingItemNumber { |
| objc.checkOsVersionInternal( |
| 'NSTextList.startingItemNumber', |
| iOS: (false, (7, 0, 0)), |
| macOS: (false, (10, 0, 0)), |
| ); |
| return _objc_msgSend_1hz7y9r(object$.ref.pointer, _sel_startingItemNumber); |
| } |
| } |
| |
| sealed class NSTextListOptions { |
| static const NSTextListPrependEnclosingMarker = 1; |
| } |
| |
| /// WARNING: NSUserInterfaceItemIdentification is a stub. To generate bindings for this class, include |
| /// NSUserInterfaceItemIdentification in your config's objc-protocols list. |
| /// |
| /// NSUserInterfaceItemIdentification |
| extension type NSUserInterfaceItemIdentification._(objc.ObjCProtocol object$) |
| implements objc.ObjCProtocol { |
| /// Constructs a [NSUserInterfaceItemIdentification] that points to the same underlying object as [other]. |
| NSUserInterfaceItemIdentification.as(objc.ObjCObject other) : object$ = other; |
| |
| /// Constructs a [NSUserInterfaceItemIdentification] that wraps the given raw object pointer. |
| NSUserInterfaceItemIdentification.fromPointer( |
| ffi.Pointer<objc.ObjCObjectImpl> other, { |
| bool retain = false, |
| bool release = false, |
| }) : object$ = objc.ObjCProtocol(other, retain: retain, release: release); |
| } |
| |
| /// WARNING: NSUserInterfaceValidations is a stub. To generate bindings for this class, include |
| /// NSUserInterfaceValidations in your config's objc-protocols list. |
| /// |
| /// NSUserInterfaceValidations |
| extension type NSUserInterfaceValidations._(objc.ObjCProtocol object$) |
| implements objc.ObjCProtocol { |
| /// Constructs a [NSUserInterfaceValidations] that points to the same underlying object as [other]. |
| NSUserInterfaceValidations.as(objc.ObjCObject other) : object$ = other; |
| |
| /// Constructs a [NSUserInterfaceValidations] that wraps the given raw object pointer. |
| NSUserInterfaceValidations.fromPointer( |
| ffi.Pointer<objc.ObjCObjectImpl> other, { |
| bool retain = false, |
| bool release = false, |
| }) : object$ = objc.ObjCProtocol(other, retain: retain, release: release); |
| } |
| |
| /// WARNING: NSWindow is a stub. To generate bindings for this class, include |
| /// NSWindow in your config's objc-interfaces list. |
| /// |
| /// NSWindow |
| extension type NSWindow._(objc.ObjCObject object$) |
| implements |
| objc.ObjCObject, |
| NSResponder, |
| NSAnimatablePropertyContainer, |
| NSMenuItemValidation, |
| NSUserInterfaceValidations, |
| NSUserInterfaceItemIdentification, |
| NSAppearanceCustomization, |
| NSAccessibilityElement, |
| NSAccessibility { |
| /// Constructs a [NSWindow] that points to the same underlying object as [other]. |
| NSWindow.as(objc.ObjCObject other) : object$ = other { |
| objc.checkOsVersionInternal('NSWindow', iOS: (true, null)); |
| } |
| |
| /// Constructs a [NSWindow] that wraps the given raw object pointer. |
| NSWindow.fromPointer( |
| ffi.Pointer<objc.ObjCObjectImpl> other, { |
| bool retain = false, |
| bool release = false, |
| }) : object$ = objc.ObjCObject(other, retain: retain, release: release) { |
| objc.checkOsVersionInternal('NSWindow', iOS: (true, null)); |
| } |
| } |
| |
| /// UIPickerView |
| extension type UIPickerView._(objc.ObjCObject object$) |
| implements objc.ObjCObject, objc.NSCoding { |
| /// Constructs a [UIPickerView] that points to the same underlying object as [other]. |
| UIPickerView.as(objc.ObjCObject other) : object$ = other { |
| objc.checkOsVersionInternal('UIPickerView', iOS: (false, (2, 0, 0))); |
| assert(isA(object$)); |
| } |
| |
| /// Constructs a [UIPickerView] that wraps the given raw object pointer. |
| UIPickerView.fromPointer( |
| ffi.Pointer<objc.ObjCObjectImpl> other, { |
| bool retain = false, |
| bool release = false, |
| }) : object$ = objc.ObjCObject(other, retain: retain, release: release) { |
| objc.checkOsVersionInternal('UIPickerView', iOS: (false, (2, 0, 0))); |
| assert(isA(object$)); |
| } |
| |
| /// Returns whether [obj] is an instance of [UIPickerView]. |
| static bool isA(objc.ObjCObject? obj) => obj == null |
| ? false |
| : _objc_msgSend_19nvye5( |
| obj.ref.pointer, |
| _sel_isKindOfClass_, |
| _class_UIPickerView, |
| ); |
| } |
| |
| extension UIPickerView$Methods on UIPickerView { |
| /// dataSource |
| UIPickerViewDataSource? get dataSource { |
| objc.checkOsVersionInternal( |
| 'UIPickerView.dataSource', |
| iOS: (false, (2, 0, 0)), |
| ); |
| final $ret = _objc_msgSend_151sglz(object$.ref.pointer, _sel_dataSource); |
| return $ret.address == 0 |
| ? null |
| : UIPickerViewDataSource.fromPointer($ret, retain: true, release: true); |
| } |
| |
| /// delegate |
| UIPickerViewDelegate? get delegate { |
| objc.checkOsVersionInternal( |
| 'UIPickerView.delegate', |
| iOS: (false, (2, 0, 0)), |
| ); |
| final $ret = _objc_msgSend_151sglz(object$.ref.pointer, _sel_delegate); |
| return $ret.address == 0 |
| ? null |
| : UIPickerViewDelegate.fromPointer($ret, retain: true, release: true); |
| } |
| |
| /// encodeWithCoder: |
| void encodeWithCoder(objc.NSCoder coder) { |
| _objc_msgSend_xtuoz7( |
| object$.ref.pointer, |
| _sel_encodeWithCoder_, |
| coder.ref.pointer, |
| ); |
| } |
| |
| /// initWithCoder: |
| UIPickerView? initWithCoder(objc.NSCoder coder) { |
| final $ret = _objc_msgSend_1sotr3r( |
| object$.ref.retainAndReturnPointer(), |
| _sel_initWithCoder_, |
| coder.ref.pointer, |
| ); |
| return $ret.address == 0 |
| ? null |
| : UIPickerView.fromPointer($ret, retain: false, release: true); |
| } |
| |
| /// numberOfComponents |
| int get numberOfComponents { |
| objc.checkOsVersionInternal( |
| 'UIPickerView.numberOfComponents', |
| iOS: (false, (2, 0, 0)), |
| ); |
| return _objc_msgSend_1hz7y9r(object$.ref.pointer, _sel_numberOfComponents); |
| } |
| |
| /// numberOfRowsInComponent: |
| int numberOfRowsInComponent(int component) { |
| objc.checkOsVersionInternal( |
| 'UIPickerView.numberOfRowsInComponent:', |
| iOS: (false, (2, 0, 0)), |
| ); |
| return _objc_msgSend_12hwf9n( |
| object$.ref.pointer, |
| _sel_numberOfRowsInComponent_, |
| component, |
| ); |
| } |
| |
| /// reloadAllComponents |
| void reloadAllComponents() { |
| objc.checkOsVersionInternal( |
| 'UIPickerView.reloadAllComponents', |
| iOS: (false, (2, 0, 0)), |
| ); |
| _objc_msgSend_1pl9qdv(object$.ref.pointer, _sel_reloadAllComponents); |
| } |
| |
| /// reloadComponent: |
| void reloadComponent(int component) { |
| objc.checkOsVersionInternal( |
| 'UIPickerView.reloadComponent:', |
| iOS: (false, (2, 0, 0)), |
| ); |
| _objc_msgSend_4sp4xj(object$.ref.pointer, _sel_reloadComponent_, component); |
| } |
| |
| /// rowSizeForComponent: |
| objc.CGSize rowSizeForComponent(int component) { |
| objc.checkOsVersionInternal( |
| 'UIPickerView.rowSizeForComponent:', |
| iOS: (false, (2, 0, 0)), |
| ); |
| final $ptr = pkg_ffi.calloc<objc.CGSize>(); |
| objc.useMsgSendVariants |
| ? _objc_msgSend_17w0i2jStret( |
| $ptr, |
| object$.ref.pointer, |
| _sel_rowSizeForComponent_, |
| component, |
| ) |
| : $ptr.ref = _objc_msgSend_17w0i2j( |
| object$.ref.pointer, |
| _sel_rowSizeForComponent_, |
| component, |
| ); |
| final $finalizable = $ptr.cast<ffi.Uint8>().asTypedList( |
| ffi.sizeOf<objc.CGSize>(), |
| finalizer: pkg_ffi.calloc.nativeFree, |
| ); |
| return ffi.Struct.create<objc.CGSize>($finalizable); |
| } |
| |
| /// selectRow:inComponent:animated: |
| void selectRow(int row, {required int inComponent, required bool animated}) { |
| objc.checkOsVersionInternal( |
| 'UIPickerView.selectRow:inComponent:animated:', |
| iOS: (false, (2, 0, 0)), |
| ); |
| _objc_msgSend_cy4jud( |
| object$.ref.pointer, |
| _sel_selectRow_inComponent_animated_, |
| row, |
| inComponent, |
| animated, |
| ); |
| } |
| |
| /// selectedRowInComponent: |
| int selectedRowInComponent(int component) { |
| objc.checkOsVersionInternal( |
| 'UIPickerView.selectedRowInComponent:', |
| iOS: (false, (2, 0, 0)), |
| ); |
| return _objc_msgSend_12hwf9n( |
| object$.ref.pointer, |
| _sel_selectedRowInComponent_, |
| component, |
| ); |
| } |
| |
| /// setDataSource: |
| set dataSource(UIPickerViewDataSource? value) { |
| objc.checkOsVersionInternal( |
| 'UIPickerView.setDataSource:', |
| iOS: (false, (2, 0, 0)), |
| ); |
| _objc_msgSend_xtuoz7( |
| object$.ref.pointer, |
| _sel_setDataSource_, |
| value?.ref.pointer ?? ffi.nullptr, |
| ); |
| } |
| |
| /// setDelegate: |
| set delegate(UIPickerViewDelegate? value) { |
| objc.checkOsVersionInternal( |
| 'UIPickerView.setDelegate:', |
| iOS: (false, (2, 0, 0)), |
| ); |
| _objc_msgSend_xtuoz7( |
| object$.ref.pointer, |
| _sel_setDelegate_, |
| value?.ref.pointer ?? ffi.nullptr, |
| ); |
| } |
| |
| /// setShowsSelectionIndicator: |
| @Deprecated('This property has no effect on iOS 7 and later.') |
| set showsSelectionIndicator(bool value) { |
| objc.checkOsVersionInternal( |
| 'UIPickerView.setShowsSelectionIndicator:', |
| iOS: (false, (2, 0, 0)), |
| ); |
| _objc_msgSend_1s56lr9( |
| object$.ref.pointer, |
| _sel_setShowsSelectionIndicator_, |
| value, |
| ); |
| } |
| |
| /// showsSelectionIndicator |
| @Deprecated('This property has no effect on iOS 7 and later.') |
| bool get showsSelectionIndicator { |
| objc.checkOsVersionInternal( |
| 'UIPickerView.showsSelectionIndicator', |
| iOS: (false, (2, 0, 0)), |
| ); |
| return _objc_msgSend_91o635( |
| object$.ref.pointer, |
| _sel_showsSelectionIndicator, |
| ); |
| } |
| |
| /// viewForRow:forComponent: |
| objc.ObjCObject viewForRow(int row, {required int forComponent}) { |
| objc.checkOsVersionInternal( |
| 'UIPickerView.viewForRow:forComponent:', |
| iOS: (false, (2, 0, 0)), |
| ); |
| final $ret = _objc_msgSend_1nzyvs1( |
| object$.ref.pointer, |
| _sel_viewForRow_forComponent_, |
| row, |
| forComponent, |
| ); |
| return objc.ObjCObject($ret, retain: true, release: true); |
| } |
| } |
| |
| /// WARNING: UIPickerViewDataSource is a stub. To generate bindings for this class, include |
| /// UIPickerViewDataSource in your config's objc-protocols list. |
| /// |
| /// UIPickerViewDataSource |
| extension type UIPickerViewDataSource._(objc.ObjCProtocol object$) |
| implements objc.ObjCProtocol, objc.NSObjectProtocol { |
| /// Constructs a [UIPickerViewDataSource] that points to the same underlying object as [other]. |
| UIPickerViewDataSource.as(objc.ObjCObject other) : object$ = other; |
| |
| /// Constructs a [UIPickerViewDataSource] that wraps the given raw object pointer. |
| UIPickerViewDataSource.fromPointer( |
| ffi.Pointer<objc.ObjCObjectImpl> other, { |
| bool retain = false, |
| bool release = false, |
| }) : object$ = objc.ObjCProtocol(other, retain: retain, release: release); |
| } |
| |
| /// WARNING: UIPickerViewDelegate is a stub. To generate bindings for this class, include |
| /// UIPickerViewDelegate in your config's objc-protocols list. |
| /// |
| /// UIPickerViewDelegate |
| extension type UIPickerViewDelegate._(objc.ObjCProtocol object$) |
| implements objc.ObjCProtocol, objc.NSObjectProtocol { |
| /// Constructs a [UIPickerViewDelegate] that points to the same underlying object as [other]. |
| UIPickerViewDelegate.as(objc.ObjCObject other) : object$ = other; |
| |
| /// Constructs a [UIPickerViewDelegate] that wraps the given raw object pointer. |
| UIPickerViewDelegate.fromPointer( |
| ffi.Pointer<objc.ObjCObjectImpl> other, { |
| bool retain = false, |
| bool release = false, |
| }) : object$ = objc.ObjCProtocol(other, retain: retain, release: release); |
| } |
| |
| late final _class_NSColorPicker = objc.getClass("NSColorPicker"); |
| late final _class_NSTextList = objc.getClass("NSTextList"); |
| late final _class_UIPickerView = objc.getClass("UIPickerView"); |
| final _objc_msgSend_12hwf9n = objc.msgSendPointer |
| .cast< |
| ffi.NativeFunction< |
| ffi.Long Function( |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ffi.Pointer<objc.ObjCSelector>, |
| ffi.Long, |
| ) |
| > |
| >() |
| .asFunction< |
| int Function( |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ffi.Pointer<objc.ObjCSelector>, |
| int, |
| ) |
| >(); |
| final _objc_msgSend_151sglz = objc.msgSendPointer |
| .cast< |
| ffi.NativeFunction< |
| ffi.Pointer<objc.ObjCObjectImpl> Function( |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ffi.Pointer<objc.ObjCSelector>, |
| ) |
| > |
| >() |
| .asFunction< |
| ffi.Pointer<objc.ObjCObjectImpl> Function( |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ffi.Pointer<objc.ObjCSelector>, |
| ) |
| >(); |
| final _objc_msgSend_17w0i2j = objc.msgSendPointer |
| .cast< |
| ffi.NativeFunction< |
| objc.CGSize Function( |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ffi.Pointer<objc.ObjCSelector>, |
| ffi.Long, |
| ) |
| > |
| >() |
| .asFunction< |
| objc.CGSize Function( |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ffi.Pointer<objc.ObjCSelector>, |
| int, |
| ) |
| >(); |
| final _objc_msgSend_17w0i2jStret = objc.msgSendStretPointer |
| .cast< |
| ffi.NativeFunction< |
| ffi.Void Function( |
| ffi.Pointer<objc.CGSize>, |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ffi.Pointer<objc.ObjCSelector>, |
| ffi.Long, |
| ) |
| > |
| >() |
| .asFunction< |
| void Function( |
| ffi.Pointer<objc.CGSize>, |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ffi.Pointer<objc.ObjCSelector>, |
| int, |
| ) |
| >(); |
| final _objc_msgSend_190ea64 = objc.msgSendPointer |
| .cast< |
| ffi.NativeFunction< |
| ffi.Void Function( |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ffi.Pointer<objc.ObjCSelector>, |
| ffi.Long, |
| ) |
| > |
| >() |
| .asFunction< |
| void Function( |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ffi.Pointer<objc.ObjCSelector>, |
| int, |
| ) |
| >(); |
| final _objc_msgSend_19nvye5 = objc.msgSendPointer |
| .cast< |
| ffi.NativeFunction< |
| ffi.Bool Function( |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ffi.Pointer<objc.ObjCSelector>, |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ) |
| > |
| >() |
| .asFunction< |
| bool Function( |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ffi.Pointer<objc.ObjCSelector>, |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ) |
| >(); |
| final _objc_msgSend_1bh1vl9 = objc.msgSendPointer |
| .cast< |
| ffi.NativeFunction< |
| ffi.Pointer<objc.ObjCObjectImpl> Function( |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ffi.Pointer<objc.ObjCSelector>, |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ffi.UnsignedLong, |
| ffi.Long, |
| ) |
| > |
| >() |
| .asFunction< |
| ffi.Pointer<objc.ObjCObjectImpl> Function( |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ffi.Pointer<objc.ObjCSelector>, |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| int, |
| int, |
| ) |
| >(); |
| final _objc_msgSend_1cwp428 = objc.msgSendPointer |
| .cast< |
| ffi.NativeFunction< |
| ffi.Pointer<objc.ObjCObjectImpl> Function( |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ffi.Pointer<objc.ObjCSelector>, |
| ffi.Pointer<objc.NSZone>, |
| ) |
| > |
| >() |
| .asFunction< |
| ffi.Pointer<objc.ObjCObjectImpl> Function( |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ffi.Pointer<objc.ObjCSelector>, |
| ffi.Pointer<objc.NSZone>, |
| ) |
| >(); |
| final _objc_msgSend_1hz7y9r = objc.msgSendPointer |
| .cast< |
| ffi.NativeFunction< |
| ffi.Long Function( |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ffi.Pointer<objc.ObjCSelector>, |
| ) |
| > |
| >() |
| .asFunction< |
| int Function( |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ffi.Pointer<objc.ObjCSelector>, |
| ) |
| >(); |
| final _objc_msgSend_1k4kd9s = objc.msgSendPointer |
| .cast< |
| ffi.NativeFunction< |
| ffi.Pointer<objc.ObjCObjectImpl> Function( |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ffi.Pointer<objc.ObjCSelector>, |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ffi.UnsignedLong, |
| ) |
| > |
| >() |
| .asFunction< |
| ffi.Pointer<objc.ObjCObjectImpl> Function( |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ffi.Pointer<objc.ObjCSelector>, |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| int, |
| ) |
| >(); |
| final _objc_msgSend_1nzyvs1 = objc.msgSendPointer |
| .cast< |
| ffi.NativeFunction< |
| ffi.Pointer<objc.ObjCObjectImpl> Function( |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ffi.Pointer<objc.ObjCSelector>, |
| ffi.Long, |
| ffi.Long, |
| ) |
| > |
| >() |
| .asFunction< |
| ffi.Pointer<objc.ObjCObjectImpl> Function( |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ffi.Pointer<objc.ObjCSelector>, |
| int, |
| int, |
| ) |
| >(); |
| final _objc_msgSend_1pl9qdv = objc.msgSendPointer |
| .cast< |
| ffi.NativeFunction< |
| ffi.Void Function( |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ffi.Pointer<objc.ObjCSelector>, |
| ) |
| > |
| >() |
| .asFunction< |
| void Function( |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ffi.Pointer<objc.ObjCSelector>, |
| ) |
| >(); |
| final _objc_msgSend_1s56lr9 = objc.msgSendPointer |
| .cast< |
| ffi.NativeFunction< |
| ffi.Void Function( |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ffi.Pointer<objc.ObjCSelector>, |
| ffi.Bool, |
| ) |
| > |
| >() |
| .asFunction< |
| void Function( |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ffi.Pointer<objc.ObjCSelector>, |
| bool, |
| ) |
| >(); |
| final _objc_msgSend_1sotr3r = objc.msgSendPointer |
| .cast< |
| ffi.NativeFunction< |
| ffi.Pointer<objc.ObjCObjectImpl> Function( |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ffi.Pointer<objc.ObjCSelector>, |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ) |
| > |
| >() |
| .asFunction< |
| ffi.Pointer<objc.ObjCObjectImpl> Function( |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ffi.Pointer<objc.ObjCSelector>, |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ) |
| >(); |
| final _objc_msgSend_1vdfken = objc.msgSendPointer |
| .cast< |
| ffi.NativeFunction< |
| objc.CGSize Function( |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ffi.Pointer<objc.ObjCSelector>, |
| ) |
| > |
| >() |
| .asFunction< |
| objc.CGSize Function( |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ffi.Pointer<objc.ObjCSelector>, |
| ) |
| >(); |
| final _objc_msgSend_1vdfkenStret = objc.msgSendStretPointer |
| .cast< |
| ffi.NativeFunction< |
| ffi.Void Function( |
| ffi.Pointer<objc.CGSize>, |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ffi.Pointer<objc.ObjCSelector>, |
| ) |
| > |
| >() |
| .asFunction< |
| void Function( |
| ffi.Pointer<objc.CGSize>, |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ffi.Pointer<objc.ObjCSelector>, |
| ) |
| >(); |
| final _objc_msgSend_4sp4xj = objc.msgSendPointer |
| .cast< |
| ffi.NativeFunction< |
| ffi.Void Function( |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ffi.Pointer<objc.ObjCSelector>, |
| ffi.Long, |
| ) |
| > |
| >() |
| .asFunction< |
| void Function( |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ffi.Pointer<objc.ObjCSelector>, |
| int, |
| ) |
| >(); |
| final _objc_msgSend_91o635 = objc.msgSendPointer |
| .cast< |
| ffi.NativeFunction< |
| ffi.Bool Function( |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ffi.Pointer<objc.ObjCSelector>, |
| ) |
| > |
| >() |
| .asFunction< |
| bool Function( |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ffi.Pointer<objc.ObjCSelector>, |
| ) |
| >(); |
| final _objc_msgSend_cy4jud = objc.msgSendPointer |
| .cast< |
| ffi.NativeFunction< |
| ffi.Void Function( |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ffi.Pointer<objc.ObjCSelector>, |
| ffi.Long, |
| ffi.Long, |
| ffi.Bool, |
| ) |
| > |
| >() |
| .asFunction< |
| void Function( |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ffi.Pointer<objc.ObjCSelector>, |
| int, |
| int, |
| bool, |
| ) |
| >(); |
| final _objc_msgSend_exovb9 = objc.msgSendPointer |
| .cast< |
| ffi.NativeFunction< |
| ffi.UnsignedLong Function( |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ffi.Pointer<objc.ObjCSelector>, |
| ) |
| > |
| >() |
| .asFunction< |
| int Function( |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ffi.Pointer<objc.ObjCSelector>, |
| ) |
| >(); |
| final _objc_msgSend_pfv6jd = objc.msgSendPointer |
| .cast< |
| ffi.NativeFunction< |
| ffi.Void Function( |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ffi.Pointer<objc.ObjCSelector>, |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ) |
| > |
| >() |
| .asFunction< |
| void Function( |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ffi.Pointer<objc.ObjCSelector>, |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ) |
| >(); |
| final _objc_msgSend_qugqlf = objc.msgSendPointer |
| .cast< |
| ffi.NativeFunction< |
| ffi.Pointer<objc.ObjCObjectImpl> Function( |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ffi.Pointer<objc.ObjCSelector>, |
| ffi.Long, |
| ) |
| > |
| >() |
| .asFunction< |
| ffi.Pointer<objc.ObjCObjectImpl> Function( |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ffi.Pointer<objc.ObjCSelector>, |
| int, |
| ) |
| >(); |
| final _objc_msgSend_vbc8p4 = objc.msgSendPointer |
| .cast< |
| ffi.NativeFunction< |
| ffi.Pointer<objc.ObjCObjectImpl> Function( |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ffi.Pointer<objc.ObjCSelector>, |
| ffi.UnsignedLong, |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ) |
| > |
| >() |
| .asFunction< |
| ffi.Pointer<objc.ObjCObjectImpl> Function( |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ffi.Pointer<objc.ObjCSelector>, |
| int, |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ) |
| >(); |
| final _objc_msgSend_xtuoz7 = objc.msgSendPointer |
| .cast< |
| ffi.NativeFunction< |
| ffi.Void Function( |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ffi.Pointer<objc.ObjCSelector>, |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ) |
| > |
| >() |
| .asFunction< |
| void Function( |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ffi.Pointer<objc.ObjCSelector>, |
| ffi.Pointer<objc.ObjCObjectImpl>, |
| ) |
| >(); |
| late final _sel_alloc = objc.registerName("alloc"); |
| late final _sel_allocWithZone_ = objc.registerName("allocWithZone:"); |
| late final _sel_alphaControlAddedOrRemoved_ = objc.registerName( |
| "alphaControlAddedOrRemoved:", |
| ); |
| late final _sel_attachColorList_ = objc.registerName("attachColorList:"); |
| late final _sel_buttonToolTip = objc.registerName("buttonToolTip"); |
| late final _sel_colorPanel = objc.registerName("colorPanel"); |
| late final _sel_dataSource = objc.registerName("dataSource"); |
| late final _sel_delegate = objc.registerName("delegate"); |
| late final _sel_detachColorList_ = objc.registerName("detachColorList:"); |
| late final _sel_encodeWithCoder_ = objc.registerName("encodeWithCoder:"); |
| late final _sel_init = objc.registerName("init"); |
| late final _sel_initWithCoder_ = objc.registerName("initWithCoder:"); |
| late final _sel_initWithMarkerFormat_options_ = objc.registerName( |
| "initWithMarkerFormat:options:", |
| ); |
| late final _sel_initWithMarkerFormat_options_startingItemNumber_ = objc |
| .registerName("initWithMarkerFormat:options:startingItemNumber:"); |
| late final _sel_initWithPickerMask_colorPanel_ = objc.registerName( |
| "initWithPickerMask:colorPanel:", |
| ); |
| late final _sel_insertNewButtonImage_in_ = objc.registerName( |
| "insertNewButtonImage:in:", |
| ); |
| late final _sel_isKindOfClass_ = objc.registerName("isKindOfClass:"); |
| late final _sel_isOrdered = objc.registerName("isOrdered"); |
| late final _sel_listOptions = objc.registerName("listOptions"); |
| late final _sel_markerForItemNumber_ = objc.registerName( |
| "markerForItemNumber:", |
| ); |
| late final _sel_markerFormat = objc.registerName("markerFormat"); |
| late final _sel_minContentSize = objc.registerName("minContentSize"); |
| late final _sel_new = objc.registerName("new"); |
| late final _sel_numberOfComponents = objc.registerName("numberOfComponents"); |
| late final _sel_numberOfRowsInComponent_ = objc.registerName( |
| "numberOfRowsInComponent:", |
| ); |
| late final _sel_provideNewButtonImage = objc.registerName( |
| "provideNewButtonImage", |
| ); |
| late final _sel_reloadAllComponents = objc.registerName("reloadAllComponents"); |
| late final _sel_reloadComponent_ = objc.registerName("reloadComponent:"); |
| late final _sel_rowSizeForComponent_ = objc.registerName( |
| "rowSizeForComponent:", |
| ); |
| late final _sel_selectRow_inComponent_animated_ = objc.registerName( |
| "selectRow:inComponent:animated:", |
| ); |
| late final _sel_selectedRowInComponent_ = objc.registerName( |
| "selectedRowInComponent:", |
| ); |
| late final _sel_setDataSource_ = objc.registerName("setDataSource:"); |
| late final _sel_setDelegate_ = objc.registerName("setDelegate:"); |
| late final _sel_setMode_ = objc.registerName("setMode:"); |
| late final _sel_setShowsSelectionIndicator_ = objc.registerName( |
| "setShowsSelectionIndicator:", |
| ); |
| late final _sel_setStartingItemNumber_ = objc.registerName( |
| "setStartingItemNumber:", |
| ); |
| late final _sel_showsSelectionIndicator = objc.registerName( |
| "showsSelectionIndicator", |
| ); |
| late final _sel_startingItemNumber = objc.registerName("startingItemNumber"); |
| late final _sel_supportsSecureCoding = objc.registerName( |
| "supportsSecureCoding", |
| ); |
| late final _sel_viewForRow_forComponent_ = objc.registerName( |
| "viewForRow:forComponent:", |
| ); |
| late final _sel_viewSizeChanged_ = objc.registerName("viewSizeChanged:"); |
| typedef instancetype = ffi.Pointer<objc.ObjCObjectImpl>; |
| typedef Dartinstancetype = objc.ObjCObject; |