X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fchord-name.hh;h=f9e82ef41f75705efdf73456ea4cc30c7921fb1d;hb=32a34dcef0c0041c6d62677487a380b5c8b85712;hp=2f77bb4b1d9ccc9ac6479b6b5e367a3f5160c6cd;hpb=76f13ab50fc726c89fa7c96f3deed519d2d773dc;p=lilypond.git diff --git a/lily/include/chord-name.hh b/lily/include/chord-name.hh index 2f77bb4b1d..f9e82ef41f 100644 --- a/lily/include/chord-name.hh +++ b/lily/include/chord-name.hh @@ -1,34 +1,33 @@ /* - chord-name.hh -- declare Chord_name + This file is part of LilyPond, the GNU music typesetter. - source file of the GNU LilyPond music typesetter + Copyright (C) 1999--2012 Jan Nieuwenhuizen - (c) 1999--2000 Jan Nieuwenhuizen + 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 . */ #ifndef CHORD_NAME_HH #define CHORD_NAME_HH -#include "chord.hh" -#include "item.hh" -#include "molecule.hh" - -/** - elt_properties: - pitches: list of musical-pitch - inversion(optional): musical-pitch - bass(optional): musical-pitch - */ -class Chord_name : public Item +#include "stencil.hh" +#include "grob-interface.hh" + +class Chord_name { public: - VIRTUAL_COPY_CONS (Score_element); - Molecule ly_word2molecule (SCM scm) const; - Molecule ly_text2molecule (SCM scm) const; - Chord_name(SCM s); -protected: - virtual Molecule do_brew_molecule () const; - + DECLARE_SCHEME_CALLBACK (after_line_breaking, (SCM)); + DECLARE_GROB_INTERFACE (); }; #endif // CHORD_NAME_HH