X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=flower%2Finclude%2Ffile-path.hh;h=e66ddfa0d4cd38d4873acfc7e63f389b60d6a88e;hb=5b4b0d6e9a197e8f9eb085b7c2ad78b8be3e5cfc;hp=22b943e9c89ac85576f1f91240f020cb1739cf14;hpb=b37e3f652677ae0298423db9fa0e552e5fce0c92;p=lilypond.git diff --git a/flower/include/file-path.hh b/flower/include/file-path.hh index 22b943e9c8..e66ddfa0d4 100644 --- a/flower/include/file-path.hh +++ b/flower/include/file-path.hh @@ -3,13 +3,13 @@ source file of the Flower Library - (c) 1997--2006 Han-Wen Nienhuys + (c) 1997--2008 Han-Wen Nienhuys */ #ifndef FILE_PATH_HH #define FILE_PATH_HH -#include "array.hh" +#include "std-vector.hh" #include "std-string.hh" /** @@ -23,19 +23,20 @@ class File_path { - Array dirs_; + vector dirs_; + public: - Array directories () const; - std::string find (std::string name) const; - std::string find (std::string name, char const *extensions[]); - std::string to_string () const; - bool try_append (std::string str); - void append (std::string str); - void parse_path (std::string); - void prepend (std::string str); + vector directories () const; + string find (string name) const; + string find (string name, char const *extensions[]); + string to_string () const; + bool try_append (string str); + void append (string str); + void parse_path (string); + void prepend (string str); }; -bool is_file (std::string file_name); -bool is_dir (std::string file_name); +bool is_file (string file_name); +bool is_dir (string file_name); #endif /* FILE_PATH */