]> git.donarmstrong.com Git - lilypond.git/commitdiff
partial: 1.3.107.jcn
authorJan Nieuwenhuizen <janneke@gnu.org>
Sun, 12 Nov 2000 22:32:12 +0000 (23:32 +0100)
committerJan Nieuwenhuizen <janneke@gnu.org>
Sun, 12 Nov 2000 22:32:12 +0000 (23:32 +0100)
============

* Cross compilation and info build fixes, really cancel all builtin
rules, sigh.

* Generated documentation fixes: Generate all interface descriptions,
separately, don't list non-set interface properties with element
descriptions.

1.3.106.h

lily/include/lilypond-input-version.hh [new file with mode: 0644]
lily/lilypond-version.cc [new file with mode: 0644]
lily/mudela-version.cc [deleted file]

diff --git a/lily/include/lilypond-input-version.hh b/lily/include/lilypond-input-version.hh
new file mode 100644 (file)
index 0000000..79f7e06
--- /dev/null
@@ -0,0 +1,30 @@
+/*
+  lilypond-version.hh -- declare Lilypond_version
+
+  source file of the GNU LilyPond music typesetter
+
+  (c) 1998--2000 Jan Nieuwenhuizen <janneke@gnu.org>
+
+*/
+
+#ifndef LILYPOND_VERSION_HH
+#define LILYPOND_VERSION_HH
+
+#include "string.hh"
+
+struct Lilypond_version 
+{
+  Lilypond_version (int major, int minor, int patch);
+  Lilypond_version (String str);
+
+  String str () const;
+  operator int () const;
+
+  int major_i_;
+  int minor_i_;
+  int patch_i_;
+};
+
+extern Lilypond_version oldest_version;
+
+#endif // LILYPOND_VERSION_HH
diff --git a/lily/lilypond-version.cc b/lily/lilypond-version.cc
new file mode 100644 (file)
index 0000000..e252710
--- /dev/null
@@ -0,0 +1,42 @@
+/*
+  lilypond-version.cc -- implement Lilypond_version
+
+  source file of the GNU LilyPond music typesetter
+
+  (c) 1998--2000 Jan Nieuwenhuizen <janneke@gnu.org>
+
+*/
+
+#include "lilypond-input-version.hh"
+#include "string-convert.hh"
+#include "array.hh"
+
+Lilypond_version::Lilypond_version (int major, int minor, int patch)
+{
+  major_i_ = major;
+  minor_i_ = minor;
+  patch_i_ = patch;
+}
+
+Lilypond_version::Lilypond_version (String str)
+{
+  Array<String> version;
+  version = String_convert::split_arr (str, '.');
+  assert (version.size () == 3);
+  major_i_ = version[0].value_i ();
+  minor_i_ = version[1].value_i ();
+  patch_i_ = version[2].value_i ();
+}
+
+String
+Lilypond_version::str () const
+{
+  return to_str (major_i_) + "." + to_str (minor_i_) + "." + to_str (patch_i_);
+}
+
+Lilypond_version::operator int () const
+{
+    // ugh
+  return 100000 * major_i_ + 1000 * minor_i_ + patch_i_;
+}
+
diff --git a/lily/mudela-version.cc b/lily/mudela-version.cc
deleted file mode 100644 (file)
index 7b2e9d5..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
-  mudela-version.cc -- implement Mudela_version
-
-  source file of the GNU LilyPond music typesetter
-
-  (c) 1998--2000 Jan Nieuwenhuizen <janneke@gnu.org>
-
-*/
-
-#include "mudela-version.hh"
-#include "string-convert.hh"
-#include "array.hh"
-
-Mudela_version::Mudela_version (int major, int minor, int patch)
-{
-  major_i_ = major;
-  minor_i_ = minor;
-  patch_i_ = patch;
-}
-
-Mudela_version::Mudela_version (String str)
-{
-  Array<String> version;
-  version = String_convert::split_arr (str, '.');
-  assert (version.size () == 3);
-  major_i_ = version[0].value_i ();
-  minor_i_ = version[1].value_i ();
-  patch_i_ = version[2].value_i ();
-}
-
-String
-Mudela_version::str () const
-{
-  return to_str (major_i_) + "." + to_str (minor_i_) + "." + to_str (patch_i_);
-}
-
-Mudela_version::operator int () const
-{
-    // ugh
-  return 100000 * major_i_ + 1000 * minor_i_ + patch_i_;
-}
-