change name of a Session method to makes its intended function clear
[ardour.git] / libs / ardour / ardour / session_state_utils.h
index 57fcf54ac4957e97779c72f7cd388bbae00e17ef..f35bbd07787ddfdf6ecce25fad622056dea7ec16 100644 (file)
@@ -22,7 +22,7 @@
 #include <vector>
 #include <string>
 
-#include "pbd/filesystem.h"
+#include "ardour/libardour_visibility.h"
 
 namespace ARDOUR {
 
@@ -34,7 +34,7 @@ namespace ARDOUR {
  *
  * @return true if successful, false otherwise.
  */
-bool create_backup_file (const PBD::sys::path & file_path);
+LIBARDOUR_API bool create_backup_file (const std::string & file_path);
 
 /**
  * Get the absolute paths to all state files in the directory
@@ -43,8 +43,8 @@ bool create_backup_file (const PBD::sys::path & file_path);
  * @param directory_path The absolute path to a directory.
  * @param result vector to contain resulting state files.
  */
-void get_state_files_in_directory (const std::string& directory_path,
-               std::vector<std::string>& result);
+LIBARDOUR_API void get_state_files_in_directory (const std::string& directory_path,
+                                                std::vector<std::string>& result);
 
 /**
  * Given a vector of paths to files, return a vector containing
@@ -54,7 +54,7 @@ void get_state_files_in_directory (const std::string& directory_path,
  * @return a vector containing a list of file names without any
  * filename extension.
  */
-std::vector<std::string> get_file_names_no_extension (const std::vector<std::string> & file_paths);
+LIBARDOUR_API std::vector<std::string> get_file_names_no_extension (const std::vector<std::string> & file_paths);
 
 } // namespace ARDOUR