diff options
author | Tim Mayberry <mojofunk@gmail.com> | 2007-05-18 02:46:40 +0000 |
---|---|---|
committer | Tim Mayberry <mojofunk@gmail.com> | 2007-05-18 02:46:40 +0000 |
commit | f160408d4bca9139b18faf304d7e3ed30c5e79bf (patch) | |
tree | f4ccb080bc34760258594c78e7cc096acb85d4b1 /libs/ardour/session_directory.cc | |
parent | e36ac4fd2225a0309f38b57d8efbffdee44fdf5b (diff) |
Add SessionDirectory::export_path and make sure it gets created in SessionDirectory::create
git-svn-id: svn://localhost/ardour2/trunk@1878 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/session_directory.cc')
-rw-r--r-- | libs/ardour/session_directory.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libs/ardour/session_directory.cc b/libs/ardour/session_directory.cc index a4dbc286e6..e871b84244 100644 --- a/libs/ardour/session_directory.cc +++ b/libs/ardour/session_directory.cc @@ -111,6 +111,12 @@ SessionDirectory::dead_sound_path () const return path(m_root_path) /= dead_sound_dir_name; } +const path +SessionDirectory::export_path () const +{ + return path(m_root_path) /= export_dir_name; +} + const vector<path> SessionDirectory::sub_directories () const { @@ -119,6 +125,7 @@ SessionDirectory::sub_directories () const tmp_paths.push_back ( sound_path () ); tmp_paths.push_back ( peak_path () ); tmp_paths.push_back ( dead_sound_path () ); + tmp_paths.push_back ( export_path () ); return tmp_paths; } |