Fix a few return types.
[ardour.git] / libs / ardour / ardour / session_directory.h
index ae6aa256cbc098254683f6f61d464d1345f2e54b..1972aa40395f54eb01786c26a9a4032f0283ccb2 100644 (file)
@@ -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
         */
@@ -72,18 +77,11 @@ public:
        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
@@ -110,14 +108,6 @@ public:
         */
        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.
@@ -125,13 +115,21 @@ protected:
         */
        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