X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fpbd%2Fpbd%2Fconvert.h;h=d638ab8c8d5080fedcd0df6f58ca4ded2cb32816;hb=5dabe45341781bb917af11745dfc269ce8f747dd;hp=12692549062e9614d05c5148bdb0ebeeb8491877;hpb=b855e5f3220027502a3c88f189d511fe2a5a3c2b;p=ardour.git diff --git a/libs/pbd/pbd/convert.h b/libs/pbd/pbd/convert.h index 1269254906..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;