diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-07-14 17:41:06 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-07-14 17:41:06 +0000 |
commit | a5efa9a500d2c1b592656e91e9ea7ef7d535dcb3 (patch) | |
tree | 02203a2821f22bd5d1b346484c97d400276076c7 /libs/ardour/ardour/session_directory.h | |
parent | 2d83ffc45a2a144181d0f3449345868da11efff5 (diff) |
initial pass at session-renaming functionality
git-svn-id: svn://localhost/ardour2/branches/3.0@9876 d708f5d6-7413-0410-9779-e7cbd77b26cf
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 |