diff options
author | Tim Mayberry <mojofunk@gmail.com> | 2007-06-17 00:45:58 +0000 |
---|---|---|
committer | Tim Mayberry <mojofunk@gmail.com> | 2007-06-17 00:45:58 +0000 |
commit | ee29fcacfb750e8880ccafc88fff360e2331950e (patch) | |
tree | d57727ff086206d649626686622a9838004c53e0 /libs/ardour/ardour/session_utils.h | |
parent | 0346cdc2810b5bca69e9754fa3865e2eb3035807 (diff) |
Replace Session::discover_best_sound/midi_dir with Session::get_best_session_directory_for_new_source
git-svn-id: svn://localhost/ardour2/trunk@1997 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/session_utils.h')
-rw-r--r-- | libs/ardour/ardour/session_utils.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libs/ardour/ardour/session_utils.h b/libs/ardour/ardour/session_utils.h index 8aa4505fe5..8a9f6f584c 100644 --- a/libs/ardour/ardour/session_utils.h +++ b/libs/ardour/ardour/session_utils.h @@ -10,6 +10,17 @@ using std::string; int find_session (string str, string& path, string& snapshot, bool& isnew); +/** + * Create a SessionDirectory at the path specified by + * session_directory_path, this includes all subdirectories. + * + * @return true if the session directory was able to be created + * or if it already existed, false otherwise. + * + * @see SessionDirectory + */ +bool create_session_directory (const string& session_directory_path); + }; #endif |