Re: start: Support getting the file to open by AppleEvent.
Per Johansson <pelle(a)morth.org> writes:
Series goal: Implement app bundle start menu / file type associations on OS X.
From 681ea02fb9e3df819f812e359d3fe76c77423e32 Mon Sep 17 00:00:00 2001 From: Per Johansson <per(a)morth.org> Date: Tue, 17 Apr 2012 21:29:13 +0200 Subject: start: Support getting the file to open by AppleEvent. To: wine-patches <wine-patches(a)winehq.org> Reply-To: wine-devel <wine-devel(a)winehq.org>
Uses a private API.
You really don't want to do that. -- Alexandre Julliard julliard(a)winehq.org
19 jul 2012 kl. 18:11 skrev Alexandre Julliard <julliard(a)winehq.org>:
Per Johansson <pelle(a)morth.org> writes:
Uses a private API.
You really don't want to do that.
Alright, but like I said earlier there's really no other good way to support associations without using Objective-C. I'll send a new version without associations support in a few days.
19 jul 2012 kl. 20:00 skrev Per Johansson:
19 jul 2012 kl. 18:11 skrev Alexandre Julliard <julliard(a)winehq.org>:
You really don't want to do that.
Alright, but like I said earlier there's really no other good way to support associations without using Objective-C. I'll send a new version without associations support in a few days.
I've sent in a new series without associations support, so this one can be discarded (noticed it's still in new status). I've also managed to write a function which fetches the AppleEvent using Objective-C, which can be seen here: <https://github.com/morth/molae/blob/master/molae.m>. I suppose if there's no way to get this file into wine I could make it into a library and check for it in configure. Would that be the most proper approach? Regrads, -- Per Johansson
24 jul 2012 kl. 17:49 skrev Per Johansson:
I've also managed to write a function which fetches the AppleEvent using Objective-C, which can be seen here: <https://github.com/morth/molae/blob/master/molae.m>.
I suppose if there's no way to get this file into wine I could make it into a library and check for it in configure. Would that be the most proper approach?
Sorry, I googled some and brought myself up to date with the Obj-C discussions in 2009 and 2010. I knew Obj-C is not allowed but I hadn't realized it was such an heated debate. At the risk of bringing it up even more, I don't necessarily think a QuartDriver is necessary, or at least not a primary goal. I would like to see some better integration with the OS X desktop though. The good news is I think I might've found a path through the CoreServices (C API) code which will also fetch the initial AppleEvent. Still investigating... Regards, -- Per Johansson
participants (3)
-
Alexandre Julliard -
Per Johansson -
Per Johansson