Page MenuHome

GHOST: Fix to be able to access system paths without GUI
Closed, ArchivedPublicPATCH

Description

This patch introduces a separate Interface ISystemPaths that can be instantiated in background mode. Campbell rightly reported that there was an issue with the previous implementation of the getSystemDir and getUserDir.

Submitted for review and testing on different platforms.

I preferred this solution to implementing these using #ifdefs for the different platforms and just using static member functions doesn't have any advantage since we loose the polymorphic interface.

- Andrea

Event Timeline

Hi Nathan,

I'd like to get this committed. I know we already talked about this and you found it fine to commit. Please confirm.
Please also get Damien Plisson to review and test (for Mac), I'll check the patch on Linux tomorrow.

Cheers,
Andrea

Bastien Montagne (mont29) changed the task status from Unknown Status to Unknown Status.Aug 7 2014, 3:20 PM

Time to archive I guess…