save version string with session for informational purposes
[ardour.git] / libs / ardour / ardour / session_directory.h
index 72bc731a019a4594edb3012db7a795c1c698d7f4..6f4126e0bbab6b049bed0bf502a63eba627d30b1 100644 (file)
 
 #include <string>
 #include <vector>
+#include <map>
+
+#include "ardour/libardour_visibility.h"
 
 namespace ARDOUR {
 
-class SessionDirectory
+class LIBARDOUR_API SessionDirectory
 {
 public:
 
@@ -85,13 +88,11 @@ public:
         */
        const std::string peak_path () const;
 
-#ifdef WITH_VIDEOTIMELINE
        /**
         * @return The absolute path to the directory in which all
         * video files are stored for a session.
         */
        const std::string video_path () const;
-#endif
 
        /**
         * @return The absolute path to the directory that source
@@ -151,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