From a5efa9a500d2c1b592656e91e9ea7ef7d535dcb3 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 14 Jul 2011 17:41:06 +0000 Subject: initial pass at session-renaming functionality git-svn-id: svn://localhost/ardour2/branches/3.0@9876 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/ardour/session_directory.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'libs/ardour/ardour/session_directory.h') 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 @@ -35,6 +35,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 */ @@ -124,7 +129,7 @@ protected: const std::vector 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 -- cgit v1.2.3