save version string with session for informational purposes
[ardour.git] / libs / ardour / ardour / session_directory.h
index 9f4410ce69046197a8bd70f020dc9ad192f62f38..6f4126e0bbab6b049bed0bf502a63eba627d30b1 100644 (file)
 
 #include <string>
 #include <vector>
+#include <map>
+
+#include "ardour/libardour_visibility.h"
 
 namespace ARDOUR {
 
-class SessionDirectory
+class LIBARDOUR_API SessionDirectory
 {
 public:
 
@@ -85,6 +88,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
@@ -143,6 +152,8 @@ private:
 
        /// The path to the root of the session directory.
        std::string m_root_path;
+
+       static std::map<std::string,std::string> root_cache;
 };
 
 } // namespace ARDOUR