]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/axis.cc
* configure.in (NCSB_DIR): fix --with-ncsb-dir option.
[lilypond.git] / flower / axis.cc
index 73b8a8ec1a735af8bd147e633f2de9ce56088606..269a196d97c5d5a74da484f61a2136444c916463 100644 (file)
@@ -1,37 +1,15 @@
 /*
   axis.cc -- implement Axis
 
-  source file of the GNU LilyPond music typesetter
-
-  (c)  1997--1998 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1997--2005 Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
 
-#include <assert.h>
-#include "axes.hh"
-
-String
-axis_name_str (Axis a)
-{
-  return to_str (char(a + 'x'));
-}
+#include "axis.hh"
 
-/*
-  TODO inline these.
- */
-Axis
-post_incr(Axis &a)
-{
-  assert(a < NO_AXES);
-  Axis b= a;
-  a = Axis(int(a) + 1);
-  return b;
-}
+#include "string.hh"
 
-Axis
-incr(Axis &a)
+String
+axis_name_string (Axis a)
 {
-  assert(a < NO_AXES);
-  a = Axis(int(a) + 1);
-  return a;
+  return to_string (char (a + 'x'));
 }
-