Expose sources_root() for Session and make everything else private rather than protected.
[ardour.git] / libs / ardour / ardour / session_directory.h
index 16d7115aee3d3c1695fc76551a83d71fa12de833..1972aa40395f54eb01786c26a9a4032f0283ccb2 100644 (file)
@@ -108,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.
@@ -123,6 +115,14 @@ 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.
         */