]> git.donarmstrong.com Git - lilypond.git/blob - flower/include/file-name.hh
* configure.in (--enable-std-string): New option.
[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 #if 0// STD_STRING
16 #include "string.hh"
17 #endif
18
19 class File_name
20 {
21 public:
22   Std_string root_;
23   Std_string dir_;
24   Std_string base_;
25   Std_string ext_;
26
27   File_name (Std_string);
28 #if 0// STD_STRING
29   File_name (String);
30 #endif
31
32   bool is_absolute () const;
33   Std_string to_string () const;
34 };
35
36 #endif /* FILE_NAME */