[Scummvm-devel] mkdir SAVEPATH or not? And when?
Marcus Comstedt
marcus at mc.pp.se
Sun Jan 21 11:21:59 CET 2007
Max Horn <max at quendi.de> writes:
> So the best place to but it appears (to me) to be the (Default)
> SaveFileManager. As such it would seem best to move the relevant
> mkdir code (still with the "#ifdef UNIX") to
> DefaultSaveFileManager::openForSaving().
>
> Any comment / thoughts on this?
Sounds like a reasonable approach. One might argue that the
DefaultSaveFileManager should not contain a lot of #ifdefs, as
a platform needing some customization can subclass it, but
let's not take the OO masturbation too far... :-)
// Marcus
More information about the Scummvm-devel
mailing list