sharingService_sourceFrameOnScreenForShareItem_ property

ObjCProtocolMethod<NSRect Function(NSSharingService, ObjCObjectBase)> sharingService_sourceFrameOnScreenForShareItem_
final

sharingService:sourceFrameOnScreenForShareItem:

Implementation

static final sharingService_sourceFrameOnScreenForShareItem_ =
    objc.ObjCProtocolMethod<
      NSRect Function(NSSharingService, objc.ObjCObjectBase)
    >(
      _protocol_NSCloudSharingServiceDelegate,
      _sel_sharingService_sourceFrameOnScreenForShareItem_,
      ffi.Native.addressOf<
            ffi.NativeFunction<
              NSRect Function(
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<ffi.Void>,
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<objc.ObjCObject>,
              )
            >
          >(_NativeBindingBindings_protocolTrampoline_bl8dec)
          .cast(),
      objc.getProtocolMethodSignature(
        _protocol_NSCloudSharingServiceDelegate,
        _sel_sharingService_sourceFrameOnScreenForShareItem_,
        isRequired: false,
        isInstanceMethod: true,
      ),
      (NSRect Function(NSSharingService, objc.ObjCObjectBase) func) =>
          ObjCBlock_NSRect_ffiVoid_NSSharingService_objcObjCObject.fromFunction(
            (
              ffi.Pointer<ffi.Void> _,
              NSSharingService arg1,
              objc.ObjCObjectBase arg2,
            ) => func(arg1, arg2),
          ),
    );