X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=flower%2Finclude%2Ffile-name.hh;h=46d4724974e5da7f1c36724ded27bcb7009c88bc;hb=f9214bac21e9926dc3248416f58190c98c4167a9;hp=5fcadc2ce3264faf3b57763854ba2ea14f29337b;hpb=31568c504806f35aac420a394c9eab07abd9faa7;p=lilypond.git diff --git a/flower/include/file-name.hh b/flower/include/file-name.hh index 5fcadc2ce3..46d4724974 100644 --- a/flower/include/file-name.hh +++ b/flower/include/file-name.hh @@ -3,7 +3,7 @@ source file of the Flower Library - (c) 1997--2006 Han-Wen Nienhuys + (c) 1997--2007 Han-Wen Nienhuys */ #ifndef FILE_NAME_HH @@ -12,6 +12,9 @@ #include "std-vector.hh" #include "std-string.hh" +std::string dir_name (std::string const file_name); +std::string get_working_directory (); + class File_name { public: @@ -24,6 +27,9 @@ public: bool is_absolute () const; string to_string () const; + + string dir_part () const; + string file_part () const; }; #endif /* FILE_NAME */