add a back-pointer to the owner of a Processor
[ardour.git] / libs / ardour / ardour / session_utils.h
index 8a9f6f584cc1ae30dc0d951a4884a5baf2137b78..ab24e976b28edd40ee7dc7cbb0fc768f37285378 100644 (file)
@@ -1,3 +1,22 @@
+/*
+    Copyright (C) 2012 Paul Davis 
+
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 2 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program; if not, write to the Free Software
+    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+
+*/
+
 
 #ifndef __ardour_session_utils_h__
 #define __ardour_session_utils_h__
@@ -6,20 +25,7 @@
 
 namespace ARDOUR {
 
-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);
+int find_session (std::string str, std::string& path, std::string& snapshot, bool& isnew);
 
 };