I'd prefer to not have nsIFile depend on the directory service, myself.
Why not:

  AString persistentRelativePath(in nsIFile base)

so that you can find things relative to whatever path you care about?

I had to do something like that for the xpcom registry relativization, and
it worked pretty well.

Mike

Reply via email to