projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
save/restore plugin state with track-template
[ardour.git]
/
libs
/
ardour
/
ardour
/
session_state_utils.h
diff --git
a/libs/ardour/ardour/session_state_utils.h
b/libs/ardour/ardour/session_state_utils.h
index de58d3eff062d3a0bb54ba6a9ade3a7f2eef0c40..f35bbd07787ddfdf6ecce25fad622056dea7ec16 100644
(file)
--- a/
libs/ardour/ardour/session_state_utils.h
+++ b/
libs/ardour/ardour/session_state_utils.h
@@
-22,7
+22,7
@@
#include <vector>
#include <string>
#include <vector>
#include <string>
-#include "
pbd/filesystem
.h"
+#include "
ardour/libardour_visibility
.h"
namespace ARDOUR {
namespace ARDOUR {
@@
-34,7
+34,7
@@
namespace ARDOUR {
*
* @return true if successful, false otherwise.
*/
*
* @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
/**
* 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.
*/
* @param directory_path The absolute path to a directory.
* @param result vector to contain resulting state files.
*/
-
void get_state_files_in_directory (const PBD::sys::path
& directory_path,
-
std::vector<PBD::sys::path
>& 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
/**
* Given a vector of paths to files, return a vector containing
@@
-54,7
+54,7
@@
void get_state_files_in_directory (const PBD::sys::path & directory_path,
* @return a vector containing a list of file names without any
* filename extension.
*/
* @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<PBD::sys::path
> & file_paths);
+
LIBARDOUR_API std::vector<std::string> get_file_names_no_extension (const std::vector<std::string
> & file_paths);
} // namespace ARDOUR
} // namespace ARDOUR