]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/custos.hh
Run grand-replace (issue 3765)
[lilypond.git] / lily / include / custos.hh
index 028982f18f0dca6ff0c132bd97da20d20475059c..07cf935459411aefe755c78786229bb7708d7ce9 100644 (file)
@@ -1,25 +1,36 @@
 /*
-  custos.hh
+  This file is part of LilyPond, the GNU music typesetter.
 
-  source file of the GNU LilyPond music typesetter
+  Copyright (C) 2000--2014 Juergen Reuter <reuter@ipd.uka.de>
 
-  (C) 2000 Juergen Reuter <reuterj@ira.uka.de>
+  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 CUSTOS_HH
 #define CUSTOS_HH
 
-#include "lily-guile.hh"
+#include "lily-proto.hh"
+#include "grob-interface.hh"
 
 struct Custos
 {
-  DECLARE_SCHEME_CALLBACK(brew_molecule, (SCM ));
-  static bool has_interface (Grob*);
+  DECLARE_SCHEME_CALLBACK (print, (SCM));
+  DECLARE_GROB_INTERFACE ();
 
 private:
-  static void add_streepjes(Grob* me, int pos, int interspaces, Molecule* custos_p_);
-  static Molecule create_ledger_line (Interval x_extent, Grob *me) ;
-
+  static void add_streepjes (Grob *me, int pos, int interspaces, Stencil *custos_);
+  static Stencil create_ledger_line (Interval x_extent, Grob *me);
 };
 
 #endif // CUSTOS_HH