source file of the GNU LilyPond music typesetter
- (c) 1999--2002 Jan Nieuwenhuizen <janneke@gnu.org>
+ (c) 1999--2008 Jan Nieuwenhuizen <janneke@gnu.org>
*/
-#include "config.h"
-#include "version.hh"
#include "lily-version.hh"
-String
-version_str ()
+#include "config.hh"
+#include "version.hh"
+
+string
+version_string ()
{
- String str (MAJOR_VERSION "." MINOR_VERSION "." PATCH_LEVEL);
- String mpl ("." MY_PATCH_LEVEL);
+ string str = MAJOR_VERSION "." MINOR_VERSION "." PATCH_LEVEL;
+ string mpl ("." MY_PATCH_LEVEL);
if (mpl != ".")
str += mpl;
return str;
}
-String
-gnu_lilypond_str ()
+string
+gnu_lilypond_string ()
{
- String str = "GNU LilyPond";
+ string str = "GNU LilyPond";
return str;
}
-String
-gnu_lilypond_version_str ()
+string
+gnu_lilypond_version_string ()
{
- String str = gnu_lilypond_str () + " " + version_str ();
+ string str = gnu_lilypond_string () + " " + version_string ();
return str;
}