diff options
Diffstat (limited to 'libs/ardour/ardour/session_directory.h')
-rw-r--r-- | libs/ardour/ardour/session_directory.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libs/ardour/ardour/session_directory.h b/libs/ardour/ardour/session_directory.h index 49ef879ea1..16d7115aee 100644 --- a/libs/ardour/ardour/session_directory.h +++ b/libs/ardour/ardour/session_directory.h @@ -36,6 +36,11 @@ public: SessionDirectory (const PBD::sys::path& session_path); /** + * Change the root path of this SessionDirectory object + */ + SessionDirectory& operator= (const std::string& path); + + /** * @return the absolute path to the root directory of the session */ const PBD::sys::path root_path() const { return m_root_path; } @@ -124,7 +129,7 @@ protected: const std::vector<PBD::sys::path> sub_directories () const; /// The path to the root of the session directory. - const PBD::sys::path m_root_path; + PBD::sys::path m_root_path; }; } // namespace ARDOUR |