*/
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 peak_path () const;
/**
- * @return The absolute path to the directory that audio
- * files are moved to when they are no longer part of the
- * session.
- */
- const PBD::sys::path dead_sound_path () const;
-
- /**
- * @return The absolute path to the directory that midi
+ * @return The absolute path to the directory that source
* files are moved to when they are no longer part of the
* session.
*/
- const PBD::sys::path dead_midi_path () const;
+ const PBD::sys::path dead_path () const;
/**
* @return The absolute path to the directory that audio
*/
bool create ();
-protected:
-
- /**
- * @return The path to the old style sound directory.
- * It isn't created by create().
- */
- const PBD::sys::path old_sound_path () const;
-
/**
* @return The path to the directory under which source directories
* are created for different source types.
*/
const PBD::sys::path sources_root() const;
+private:
+
+ /**
+ * @return The path to the old style sound directory.
+ * It isn't created by create().
+ */
+ const PBD::sys::path old_sound_path () const;
+
/**
* @return a vector containing the fullpath of all subdirectories.
*/
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