]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/include/file-path.hh
Run `make grand-replace'.
[lilypond.git] / flower / include / file-path.hh
index 23997002328422f5cdebca12ed1efc65fdfdc397..e66ddfa0d4cd38d4873acfc7e63f389b60d6a88e 100644 (file)
@@ -3,13 +3,13 @@
 
   source file of the Flower Library
 
-  (c) 1997--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  (c) 1997--2008 Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
 
 #ifndef FILE_PATH_HH
 #define FILE_PATH_HH
 
-#include "array.hh"
+#include "std-vector.hh"
 #include "std-string.hh"
 
 /**
 
 class File_path
 {
-  Array<Std_string> dirs_;
+  vector<string> dirs_;
+
 public:
-  Array<Std_string> 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<string> 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 */