]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/include/file-path.hh
2003 -> 2004
[lilypond.git] / flower / include / file-path.hh
index c7eb980c3bb0d5c2e049c814e8e4c66102c6274e..40579d00feae289fa0a280b739f9a6016c45b45c 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the Flower Library
 
-  (c)  1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1997--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
 #ifndef FILE_PATH_HH
@@ -30,7 +30,7 @@ public:
   String base;
   String ext;
 
-  String str () const;
+  String to_string () const;
 };
 
 class File_path : private Array<String>
@@ -39,7 +39,8 @@ public:
   String find (String nm) const;
 
   Array<String>::push;
-  String str ()const;
+  void prepend (String str) { Array<String>::insert (str, 0); }
+  String to_string ()const;
   bool try_add (String str);
   void add (String);
   void parse_path (String);