Mac OS X support question
Bert Freudenberg
bert at impara.de
Wed Apr 6 11:53:13 UTC 2005
I'd guess FFI would get you there faster? The functions in
http://developer.apple.com/documentation/Carbon/Reference/
Folder_Manager/index.html look promising ...
- Bert -
Am 05.04.2005 um 23:44 schrieb John M McIntosh:
> When I looked at it a couple of years ago the problem was
>
> a) X windows interfacing (well that can be #ifdef out)
> b) main(args) That was put into the source code
> c) HFS+ file names. However we now have an internal vm api to convert
> HFS+ to Posix UTF-8 file names, and posix to HFS+ (this to be pushed
> out later this week).
>
> Worst case is you can use applescript to invoke shell scripts to
> return values.
>
> On Apr 5, 2005, at 1:32 PM, Cees de Groot wrote:
>
>> Our app has some OS-dependent classes that return, for that platform,
>> the directory where data should be stored, a directory where
>> documents can be temporarily created, etcetera. For Unix, we use the
>> OSProcessPlugin (so we can return ${HOME}/.dgv, for example); for
>> Windows, we use FFI and Win32 API calls.
>>
>> I'm now trying to 'port' the thing to Mac OS X. Assuming that we can
>> just crash&burn on classic Mac OS for the time being (if that would
>> make a difference...), what would be the easiest way to implement
>> this on Mac OS X?
>>
>> TIA,
>>
>> Cees
>>
>>
> --
> =======================================================================
> ====
> John M. McIntosh <johnmci at smalltalkconsulting.com> 1-800-477-2659
> Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com
> =======================================================================
> ====
>
>
More information about the Squeak-dev
mailing list
|