X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fdirectional-element-interface.hh;h=898f6f1d89a21eb7b06dad0a029f2c52e0409fba;hb=97a0169312a260933246ab224e4f8b0969871dd5;hp=c21a89d2ec3db7b95ffe898dc6592116b0baef9d;hpb=f6e3a77381e8eb67aa01195ec3945bd978f86aa8;p=lilypond.git diff --git a/lily/include/directional-element-interface.hh b/lily/include/directional-element-interface.hh index c21a89d2ec..898f6f1d89 100644 --- a/lily/include/directional-element-interface.hh +++ b/lily/include/directional-element-interface.hh @@ -1,31 +1,31 @@ -/* - directional-element.hh -- declare Directional_element - - source file of the GNU LilyPond music typesetter - - (c) 1999 Han-Wen Nienhuys - - */ +/* + This file is part of LilyPond, the GNU music typesetter. + + Copyright (C) 1999--2015 Han-Wen Nienhuys + + 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 DIRECTIONAL_ELEMENT_HH #define DIRECTIONAL_ELEMENT_HH -#include "score-element.hh" - -struct Directional_element_interface -{ - -public: - Score_element *elt_l_; - - Directional_element_interface (Score_element const *); - void set (Direction d); - Direction get () const; - bool has_interface_b () const; - // bool set_interface (); -}; - -Directional_element_interface directional_element (Score_element const*); +#include "lily-proto.hh" +#include "direction.hh" + +// what is the advantage not having these two as STATICs of GROB -- jcn +void set_grob_direction (Grob *, Direction); +Direction get_grob_direction (Grob *); #endif /* DIRECTIONAL_ELEMENT_HH */