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

Max Horn max at quendi.de
Sat May 13 03:02:04 CEST 2006


[Like Torbjörn I tried to email this yesterday, but it didn't arrive,  
so I am resending...]

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