X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=flower%2Finclude%2Ffile-path.hh;h=e66ddfa0d4cd38d4873acfc7e63f389b60d6a88e;hb=5b4b0d6e9a197e8f9eb085b7c2ad78b8be3e5cfc;hp=23997002328422f5cdebca12ed1efc65fdfdc397;hpb=d24e58ca5b51877dff138fad2383470707b51a0d;p=lilypond.git diff --git a/flower/include/file-path.hh b/flower/include/file-path.hh index 2399700232..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 */