Move PBD::canonical_path to pbd/file_utils.h/cc and reimplement for Windows
[ardour.git] / libs / pbd / pbd / pathexpand.h
index 2b2639e07eedf9976aee609e3a51f675ea419e7e..b7a0779d5e47e7e5249a71c3cc109796793ebc51 100644 (file)
 #define __libpbd_path_expand_h__
 
 #include <string>
+#include <vector>
+
+#include "pbd/libpbd_visibility.h"
 
 namespace PBD {
-       std::string canonical_path (const std::string& path);
-       std::string path_expand (std::string path);
-       std::string search_path_expand (std::string path);
+       LIBPBD_API std::string canonical_path (const std::string& path);
+       LIBPBD_API std::string path_expand (std::string path);
+       LIBPBD_API std::string search_path_expand (std::string path);
+       LIBPBD_API std::vector<std::string> parse_path(std::string path, bool check_if_exists = false);
 }
 
 #endif /* __libpbd_path_expand_h__ */