13
0

Add an method for to accessing a Session's SessionDirectory

git-svn-id: svn://localhost/ardour2/trunk@1999 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Tim Mayberry 2007-06-17 00:46:12 +00:00
parent 3ee59d437f
commit 8755e8a609

View File

@ -258,6 +258,8 @@ class Session : public PBD::StatefulDestructible
bool deletion_in_progress() const { return _state_of_the_state & Deletion; } bool deletion_in_progress() const { return _state_of_the_state & Deletion; }
sigc::signal<void> DirtyChanged; sigc::signal<void> DirtyChanged;
const SessionDirectory& session_directory () const { return *(_session_dir.get()); }
std::string sound_dir (bool with_path = true) const; std::string sound_dir (bool with_path = true) const;
std::string peak_dir () const; std::string peak_dir () const;
std::string automation_dir () const; std::string automation_dir () const;