Implementing LaunchServices inside corebase

2016-04-13 Thread Sergio L. Pascual
Hi, While working on an implementation of LaunchServices, I've noticed that I need to define a bunch of static CFStringRef objects (like kUTTypeText,  kUTTypeRTF...). Looking at corebase sources, those static CFStringRef seem to be somewhat special, as they're defined with the CONST_STRING_DECL m

Re: Implementing LaunchServices inside corebase

2016-04-13 Thread Luboš Doležel
Dne 13.4.2016 v 19:38 Sergio L. Pascual napsal(a): > Hi, > > While working on an implementation of LaunchServices, I've noticed that > I need to define a bunch of static CFStringRef objects (like kUTTypeText, > kUTTypeRTF...). > > Looking at corebase sources, those static CFStringRef seem to be

Re: Implementing LaunchServices inside corebase

2016-04-13 Thread Sergio L. Pascual
On Wed, 2016-04-13 at 21:08 +0200, Luboš Doležel wrote: > LaunchServices absolutely does not belong into CoreBase. > > The simplest way to define such a constant is to use the @"xxx" > syntax > and thus make use of toll-free bridging. > Hi Luboš, Stefan has said the same (off-list). I'll do it

Re: Implementing LaunchServices inside corebase

2016-04-13 Thread Stefan Bidigaray
Yes, I need to start remembering to hit reply to all. On Apr 13, 2016 3:30 PM, "Sergio L. Pascual" wrote: > On Wed, 2016-04-13 at 21:08 +0200, Luboš Doležel wrote: > > LaunchServices absolutely does not belong into CoreBase. > > > > The simplest way to define such a constant is to use the @"xxx"

Re: Implementing LaunchServices inside corebase

2016-04-14 Thread Ivan Vučica
If you happen to use Gmail, you can change the default behaviour in settings. On Wed, Apr 13, 2016, 20:59 Stefan Bidigaray wrote: > Yes, I need to start remembering to hit reply to all. > On Apr 13, 2016 3:30 PM, "Sergio L. Pascual" wrote: > >> On Wed, 2016-04-13 at 21:08 +0200, Luboš Doležel w