>>>>> "Mael" == Mael Hilléreau <[EMAIL PROTECTED]> writes:

Mael> Le 29 mai 07 à 12:17, Jean-Marc Lasgouttes a écrit :
>> I think it would be better to real OSX code to determine whether a
>> directory is a bundle (maybe CFBundleCreate?).

Mael> Surely. But I don't really know how to manage this since I'm not
Mael> a Mac developer. What headers do we need to #include?

With qt 4.3 (which we may assume for lyx/mac), QFileInfo::isBundle
returns this information. The problem is to find a way to convey this
information in a platform independent way. 

>> Otherwise, there would be the solution to always accept a directory
>> as a file (and use a isReadable instead of isFileReadable), but
>> then CRC should be computed by iterating on the files inside the
>> directory.

Mael> Yes and at this point, more code needs to be written.

Yes.

JMarc

Reply via email to