Hi All, I'm plumbing in support for launching the macos application via URL scheme drop events/apple events. I'm asking for review. I think the right way to go is to piggy back off of EventTypeDragDropFiles rather than add another kind of event. If so there's a fork in the road. Either use SQDragDrop (see sq.h) and dropRequestFileName and have dropRequestFileName answer a name prefixed with 'url:', or add e.g. SQDropUrl and add primitiveDropRequestURL/dropRequestURL to the DropPlugin. Opinions? _,,,^..^,,,_ best, Eliot |
When we did Sophie we just passed every reference to an asset as a URL so a file: or a url: or a memoryFile: which was very handy to push a blob of data as a file or zip entity. The concrete class for streaming the URL would do the right thing. Sent from ProtonMail Mobile
|
Hi John, On Jan 4, 2021, at 9:43 PM, John M McIntosh <[hidden email]> wrote:
Good to know; thanks. That suggests to me I should add a primitiveDropRequestURL/dropRequestURL primitive to the DropPlugin and that that would answer results in url format, prepending file:// for files etc. primitiveDropRequestFile would remain for backwards compatibility. Make sense?
|
Yes Sent from ProtonMail Mobile Hi John, |
Free forum by Nabble | Edit this page |