13
0

Remove unused utility function ARDOUR::create_session_directory

git-svn-id: svn://localhost/ardour2/branches/3.0@12909 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Tim Mayberry 2012-06-23 07:33:36 +00:00
parent 11cae0333e
commit ef5293398a
3 changed files with 0 additions and 34 deletions

View File

@ -8,17 +8,6 @@ namespace ARDOUR {
int find_session (std::string str, std::string& path, std::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 std::string& session_directory_path);
};
#endif

View File

@ -1,22 +0,0 @@
#include "pbd/error.h"
#include <stdint.h>
#include "ardour/session_directory.h"
#include "i18n.h"
namespace ARDOUR {
using namespace std;
using namespace PBD;
bool
create_session_directory (const string& session_directory_path)
{
SessionDirectory sdir(session_directory_path);
sdir.create();
return true;
}
} // namespace ARDOUR

View File

@ -194,7 +194,6 @@ libardour_sources = [
'session_state_utils.cc',
'session_time.cc',
'session_transport.cc',
'session_utils.cc',
'slave.cc',
'smf_source.cc',
'sndfile_helpers.cc',