]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/axis.cc
*** empty log message ***
[lilypond.git] / flower / axis.cc
index ff8566988dafe928bcb80209d3d800c4bee22629..d28657aabe0175e75649e48d813dbd0b68a4035b 100644 (file)
@@ -1,39 +1,18 @@
 /*
   axis.cc -- implement Axis
 
-  source file of the GNU LilyPond music typesetter
 
-  (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
+
+  (c) 1997--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
 #include <assert.h>
-
 #include "axes.hh"
 #include "string.hh"
 
 String
-axis_name_str (Axis a)
-{
-  return String (char(a + 'x'));
-}
-
-/*
-  TODO inline these.
- */
-Axis
-post_incr(Axis &a)
-{
-  assert(a < NO_AXES);
-  Axis b= a;
-  a = Axis(int(a) + 1);
-  return b;
-}
-
-Axis
-incr(Axis &a)
+axis_name_string (Axis a)
 {
-  assert(a < NO_AXES);
-  a = Axis(int(a) + 1);
-  return a;
+  return to_string (char (a + 'x'));
 }