]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/chord-name.hh
Run `make grand-replace'.
[lilypond.git] / lily / include / chord-name.hh
index 008944569478c8a904bc3fd9e8ec82ab951c9de5..7f062799022df0a48370137288b9161d1bbaa071 100644 (file)
@@ -3,46 +3,20 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 1999 Jan Nieuwenhuizen <janneke@gnu.org>
+  (c) 1999--2008 Jan Nieuwenhuizen <janneke@gnu.org>
 */
 
 #ifndef CHORD_NAME_HH
 #define CHORD_NAME_HH
 
-#include "chord.hh"
-#include "item.hh"
-#include "molecule.hh"
+#include "stencil.hh"
+#include "grob-interface.hh"
 
-class Chord_mol
+class Chord_name
 {
 public:
-  Molecule tonic_mol;
-  Molecule modifier_mol;
-  Molecule addition_mol;
-  Molecule inversion_mol;
-  Molecule bass_mol;
-};
-
-class Chord_name : public Item
-{
-public:
-  VIRTUAL_COPY_CONS (Score_element);
-  Molecule ly_word2molecule (SCM scm) const;
-  Molecule ly_text2molecule (SCM scm) const;
-  Molecule pitch2molecule (Musical_pitch p) const;
-  bool user_chord_name (Array<Musical_pitch> pitch_arr, Chord_mol* name_p) const;
-  void banter (Array<Musical_pitch> pitch_arr, Chord_mol* name_p) const;
-
-  Chord_name (Chord const& c);
-
-  /*
-    ugh. Junkme, I must be elt property.
-   */
-  
-  Chord chord_;
-
-protected:
-  virtual Molecule* do_brew_molecule_p () const;
+  DECLARE_SCHEME_CALLBACK (after_line_breaking, (SCM));
+  DECLARE_GROB_INTERFACE();
 };
 
 #endif // CHORD_NAME_HH