When loading sessions, create any missing session directories rather than throwing...
authorTim Mayberry <mojofunk@gmail.com>
Sat, 19 May 2007 11:31:27 +0000 (11:31 +0000)
committerTim Mayberry <mojofunk@gmail.com>
Sat, 19 May 2007 11:31:27 +0000 (11:31 +0000)
commitb99c6c6e1d5a2f8f653f64e1ee3788f77a11a120
treec1558d417203acc553cdb48a0b8f45e0e3f7d1ea
parentfd6408e6baf9094d73a4b6c1b5b24455b11124b2
When loading sessions, create any missing session directories rather than throwing an exception.

Change the meaning of the return value of SessionDirectory::create and add documentation to explain usage.

Add PBD::sys::filesystem_error to indicate a filesystem error and throw it where necessary.

Change the semantics of PBD::sys::create_directory/ies functions to match boost::filesystem

git-svn-id: svn://localhost/ardour2/trunk@1884 d708f5d6-7413-0410-9779-e7cbd77b26cf
libs/ardour/ardour/session_directory.h
libs/ardour/session.cc
libs/ardour/session_directory.cc
libs/pbd/filesystem.cc
libs/pbd/pbd/filesystem.h