X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fpbd%2Fpbd%2Fconvert.h;h=d638ab8c8d5080fedcd0df6f58ca4ded2cb32816;hb=5dabe45341781bb917af11745dfc269ce8f747dd;hp=6580a6e8e7a7f47eaae845e62d865e401d140bbd;hpb=6bd36896e7d5ab9d80a2be5fd2d097fdd4680b13;p=ardour.git diff --git a/libs/pbd/pbd/convert.h b/libs/pbd/pbd/convert.h index 6580a6e8e7..d638ab8c8d 100644 --- a/libs/pbd/pbd/convert.h +++ b/libs/pbd/pbd/convert.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2002 Paul Davis + Copyright (C) 2002 Paul Davis This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -40,6 +40,8 @@ LIBPBD_API double atof (const std::string&); LIBPBD_API std::string url_decode (std::string const &); LIBPBD_API std::string capitalize (const std::string&); +LIBPBD_API std::string downcase (const std::string&); +LIBPBD_API const char* downcase (const char*); // std::string length2string (const int32_t frames, const float sample_rate); LIBPBD_API std::string length2string (const int64_t frames, const double sample_rate); @@ -47,7 +49,7 @@ LIBPBD_API std::string length2string (const int64_t frames, const double sample_ LIBPBD_API std::vector internationalize (const char *, const char **); LIBPBD_API bool strings_equal_ignore_case (const std::string& a, const std::string& b); -template std::string /*LIBPBD_API*/ +template std::string /*LIBPBD_API*/ to_string (T t, std::ios_base & (*f)(std::ios_base&)) { std::ostringstream oss;