]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/include/std-string.hh
Imported Upstream version 2.14.2
[lilypond.git] / flower / include / std-string.hh
index 57805bbe21d95206d55d65ea8fc820062a5e43fe..fc4a1d17452304f8ccd1aea733332418e2c24fd0 100644 (file)
@@ -1,15 +1,27 @@
 /*
-  std-string.hh -- declare string
+  This file is part of LilyPond, the GNU music typesetter.
 
-  source file of the GNU LilyPond music typesetter
+  Copyright (C) 2006--2011 Jan Nieuwenhuizen <janneke@gnu.org>
 
-  (c) 2006--2007 Jan Nieuwenhuizen <janneke@gnu.org>
+  LilyPond is free software: you can redistribute it and/or modify
+  it under the terms of the GNU General Public License as published by
+  the Free Software Foundation, either version 3 of the License, or
+  (at your option) any later version.
+
+  LilyPond is distributed in the hope that it will be useful,
+  but WITHOUT ANY WARRANTY; without even the implied warranty of
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+  GNU General Public License for more details.
+
+  You should have received a copy of the GNU General Public License
+  along with LilyPond.  If not, see <http://www.gnu.org/licenses/>.
 */
 
 #ifndef STD_STRING_HH
 #define STD_STRING_HH
  
 #include "compare.hh"
+#include "flower-proto.hh"
 
 #if 0
 /*
@@ -33,13 +45,14 @@ string to_string (int i, char const *format=0);
 string to_string (double f, char const *format=0);
 string to_string (long);
 string to_string (long unsigned);
+string to_string (I64, char const *format=0);
 string to_string (unsigned);
 string to_string (bool b);
 string to_string (char const *format, ...)
   __attribute__ ((format (printf, 1, 2)));
   
-string &replace_all (string &str, string find, string replace);
-string &replace_all (string &str, char find, char replace);
+string &replace_all (string* str, string const &find, string const &replace);
+string &replace_all (stringstr, char find, char replace);
 char *string_copy (string s);
 
 int string_compare (string const &, string const &);