Schwab,Wilhelm K wrote:
Michael,
So you are saying that rather than put the call in the VM itself, it would go in a plugin that does the right things for the various platforms? Is there a plugin per platform, or one that grows to cover them all??
How am I doing? If I'm at all close, it sounds like a winner. There
Close :-) One plugin with support for the different platforms (see locale plugin for a similar solution). The plugin could support calls like primTempDirectory, primSystemFontFolder(s), primUserDirectory etc. or other platform specific calls (can't think of one right now ;-) ). As I said, we are doing this in Sophie with FFI in Files-Locations, making Sophie a "good citizen" on each platform instead of using "C:\My Squeak" or the VM/image directory. Michael