[Scummvm-devel] Porters: New method AbstractFilesystemNode::getCurrentDirectory

Max Horn max at quendi.de
Fri May 12 14:58:32 CEST 2006


Dear porters,

I just added a new method to AbstractFilesystemNode:

   static AbstractFilesystemNode::getCurrentDirectory()


The name says it all; the doxygen in abstract-fs.h contains some more  
info. No worries: I already added a default implementation to all FS  
modules I could find (which simply calls getRoot()). But you may want  
to provide a more appropriate implementation soon.

We are now not using getRoot for anything specific anymore, but I am  
considering adding a FilesystemNode API to expose it again, which  
might be useful for the browser dialog (it could get a "go to root  
dir" button... any opinions on that?)


Cheers,
Max




More information about the Scummvm-devel mailing list