Move Session::find_session into a session_utils.h header

git-svn-id: svn://localhost/ardour2/trunk@1865 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Tim Mayberry
2007-05-18 02:41:44 +00:00
parent 09d6a96321
commit 1ca0e752fd
8 changed files with 188 additions and 156 deletions

View File

@@ -44,6 +44,7 @@
#include "i18n.h"
#include <ardour/session.h>
#include <ardour/session_utils.h>
#include <unistd.h>
@@ -2062,7 +2063,7 @@ ImageFrameSocketHandler::handle_open_session(const char* msg)
std::string path, name ;
bool isnew;
if (ARDOUR::Session::find_session(session_name, path, name, isnew) == 0) {
if (ARDOUR::find_session(session_name, path, name, isnew) == 0) {
if (ARDOUR_UI::instance()->load_session (path, name) == 0) {
send_return_success() ;
} else {