#include <glibmm/pattern.h>
-#include <pbd/search_path.h>
+#include "pbd/search_path.h"
namespace PBD {
-using std::string;
-using std::vector;
-
/**
* Get a list of files in a directory.
* @note You must join path with result to get the absolute path
*/
void
get_files_in_directory (const sys::path& path,
- vector<string>& result);
+ std::vector<std::string>& result);
/**
* Takes a directory path and returns all the files in the directory
void
find_matching_files_in_directory (const sys::path& directory,
const Glib::PatternSpec& pattern,
- vector<sys::path>& result);
+ std::vector<sys::path>& result);
/**
* Takes a number of directory paths and returns all the files matching
* @param result A vector in which to place the resulting matches.
*/
void
-find_matching_files_in_directories (const vector<sys::path>& directory_paths,
+find_matching_files_in_directories (const std::vector<sys::path>& directory_paths,
const Glib::PatternSpec& pattern,
- vector<sys::path>& result);
+ std::vector<sys::path>& result);
/**
* Takes a SearchPath and puts a list of all the files in the search path
void
find_matching_files_in_search_path (const SearchPath& search_path,
const Glib::PatternSpec& pattern,
- vector<sys::path>& result);
+ std::vector<sys::path>& result);
/**
* Takes a search path and a file name and place the full path
*/
bool
find_file_in_search_path (const SearchPath& search_path,
- const string& filename,
+ const std::string& filename,
sys::path& result);
} // namespace PBD