Remove now unused PBD::string_is_affirmative function
[ardour.git] / libs / pbd / pbd / convert.h
index 12692549062e9614d05c5148bdb0ebeeb8491877..af40446a81715d5482297021ce87efe77dabb90c 100644 (file)
@@ -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<std::string> internationalize (const char *, const char **);
 LIBPBD_API bool strings_equal_ignore_case (const std::string& a, const std::string& b);
 
-template <class T> std::string LIBPBD_API 
+template <class T> std::string /*LIBPBD_API*/
 to_string (T t, std::ios_base & (*f)(std::ios_base&))
 {
        std::ostringstream oss;
@@ -55,8 +57,6 @@ to_string (T t, std::ios_base & (*f)(std::ios_base&))
        return oss.str();
 }
 
-LIBPBD_API bool string_is_affirmative (const std::string&);
-
 LIBPBD_API const char* sgettext (const char *, const char *);
 
 } //namespace PBD