fix up wscript/build issues in exportvis after merge with master
[ardour.git] / libs / ardour / ardour / session_directory.h
index 3f6d5d5e7c1d7a2546c68509f4fee62f6fabdedd..685f0870dd4e43c9881eb6323938730d1d07912c 100644 (file)
 #include <string>
 #include <vector>
 
+#include "ardour/libardour_visibility.h"
+
 namespace ARDOUR {
 
-class SessionDirectory
+class LIBARDOUR_API SessionDirectory
 {
 public:
 
@@ -54,6 +56,17 @@ public:
         */
        const std::string sound_path () const;
 
+       /**
+        * @return the absolute path to the directory in which
+        * the session stores audio files for Ardour 2.X.
+        *
+        * If the session is an older session with an existing
+        * "sounds" directory then it will return a path to that
+        * directory otherwise it will return the new location
+        * of root_path()/interchange/session_name/audiofiles
+        */
+       const std::string sound_path_2X () const;
+
        /**
         * @return the absolute path to the directory in which
         * the session stores MIDI files, ie
@@ -74,6 +87,12 @@ public:
         */
        const std::string peak_path () const;
 
+       /**
+        * @return The absolute path to the directory in which all
+        * video files are stored for a session.
+        */
+       const std::string video_path () const;
+
        /**
         * @return The absolute path to the directory that source
         * files are moved to when they are no longer part of the
@@ -96,8 +115,8 @@ public:
        /**
         * Create the session directory and all the subdirectories.
         *
-        * @return true If a new session directory was created, otherwise
-        * (if it already existed) false.
+        * @return true If a new session directory and subdirectories were
+        * created, otherwise false.
         *
         * @post is_valid ()
         */
@@ -110,6 +129,13 @@ public:
         */
        const std::string sources_root() const;
 
+       /**
+        * @return The path to the directory under which source directories
+        * are created for different source types in Ardour 2.X
+        * i.e root_path()/interchange/session_name
+        */
+       const std::string sources_root_2X() const;
+
 private:
 
        /**