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:
parent
11cae0333e
commit
ef5293398a
@ -8,17 +8,6 @@ namespace ARDOUR {
|
|||||||
|
|
||||||
int find_session (std::string str, std::string& path, std::string& snapshot, bool& isnew);
|
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
|
#endif
|
||||||
|
@ -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
|
|
@ -194,7 +194,6 @@ libardour_sources = [
|
|||||||
'session_state_utils.cc',
|
'session_state_utils.cc',
|
||||||
'session_time.cc',
|
'session_time.cc',
|
||||||
'session_transport.cc',
|
'session_transport.cc',
|
||||||
'session_utils.cc',
|
|
||||||
'slave.cc',
|
'slave.cc',
|
||||||
'smf_source.cc',
|
'smf_source.cc',
|
||||||
'sndfile_helpers.cc',
|
'sndfile_helpers.cc',
|
||||||
|
Loading…
Reference in New Issue
Block a user