projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ensure that Lua DSP scripts are configured (even with 0 channels)
[ardour.git]
/
libs
/
ardour
/
ardour
/
session_directory.h
diff --git
a/libs/ardour/ardour/session_directory.h
b/libs/ardour/ardour/session_directory.h
index 9f4410ce69046197a8bd70f020dc9ad192f62f38..6f4126e0bbab6b049bed0bf502a63eba627d30b1 100644
(file)
--- a/
libs/ardour/ardour/session_directory.h
+++ b/
libs/ardour/ardour/session_directory.h
@@
-21,10
+21,13
@@
#include <string>
#include <vector>
#include <string>
#include <vector>
+#include <map>
+
+#include "ardour/libardour_visibility.h"
namespace ARDOUR {
namespace ARDOUR {
-class SessionDirectory
+class
LIBARDOUR_API
SessionDirectory
{
public:
{
public:
@@
-85,6
+88,12
@@
public:
*/
const std::string peak_path () const;
*/
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
/**
* @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;
/// 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
};
} // namespace ARDOUR