* configure.in (--enable-std-string): New option.
[lilypond/patrick.git] / flower / include / file-name.hh
blobe6247986f96609f5d0dd398c3d2fae46df9ad5eb
1 /*
2 file-name.hh -- declare File_name
4 source file of the Flower Library
6 (c) 1997--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
7 */
9 #ifndef FILE_NAME_HH
10 #define FILE_NAME_HH
12 #include "array.hh"
13 #include "std-string.hh"
15 #if 0// STD_STRING
16 #include "string.hh"
17 #endif
19 class File_name
21 public:
22 Std_string root_;
23 Std_string dir_;
24 Std_string base_;
25 Std_string ext_;
27 File_name (Std_string);
28 #if 0// STD_STRING
29 File_name (String);
30 #endif
32 bool is_absolute () const;
33 Std_string to_string () const;
36 #endif /* FILE_NAME */