]> git.donarmstrong.com Git - lilypond.git/blob - flower/include/file-name.hh
* flower/include/std-string.hh: String/std::string compatibility:
[lilypond.git] / flower / include / file-name.hh
1 /*
2   file-name.hh -- declare File_name
3
4   source file of the Flower Library
5
6   (c) 1997--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
7 */
8
9 #ifndef FILE_NAME_HH
10 #define FILE_NAME_HH
11
12 #include "array.hh"
13 #include "std-string.hh"
14
15 class File_name
16 {
17 public:
18   Std_string root_;
19   Std_string dir_;
20   Std_string base_;
21   Std_string ext_;
22
23   File_name (Std_string);
24 #if 0// STD_STRING
25   File_name (String);
26 #endif
27
28   bool is_absolute () const;
29   Std_string to_string () const;
30 };
31
32 #endif /* FILE_NAME */