panel_shouldEnableURL_ property

ObjCProtocolMethod<bool Function(ObjCObjectBase, NSURL)> panel_shouldEnableURL_
final

panel:shouldEnableURL:

Implementation

static final panel_shouldEnableURL_ =
    objc.ObjCProtocolMethod<bool Function(objc.ObjCObjectBase, objc.NSURL)>(
      _protocol_NSOpenSavePanelDelegate,
      _sel_panel_shouldEnableURL_,
      ffi.Native.addressOf<
            ffi.NativeFunction<
              ffi.Bool Function(
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<ffi.Void>,
                NSStoryboardSegueIdentifier,
                ffi.Pointer<objc.ObjCObject>,
              )
            >
          >(_NativeBindingBindings_protocolTrampoline_2n06mv)
          .cast(),
      objc.getProtocolMethodSignature(
        _protocol_NSOpenSavePanelDelegate,
        _sel_panel_shouldEnableURL_,
        isRequired: false,
        isInstanceMethod: true,
      ),
      (bool Function(objc.ObjCObjectBase, objc.NSURL) func) =>
          ObjCBlock_bool_ffiVoid_objcObjCObject_NSURL.fromFunction(
            (
              ffi.Pointer<ffi.Void> _,
              objc.ObjCObjectBase arg1,
              objc.NSURL arg2,
            ) => func(arg1, arg2),
          ),
    );