X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fdirectional-element-interface.hh;h=898f6f1d89a21eb7b06dad0a029f2c52e0409fba;hb=ec9544e67d66912801c9004f417b00e7867e10b5;hp=d3e6434529c801fa47a37627ce64349c22cb5166;hpb=b638d530ac5a32a832646cdd2b680ce52d0764f0;p=lilypond.git diff --git a/lily/include/directional-element-interface.hh b/lily/include/directional-element-interface.hh index d3e6434529..898f6f1d89 100644 --- a/lily/include/directional-element-interface.hh +++ b/lily/include/directional-element-interface.hh @@ -1,30 +1,31 @@ -/* - directional-element.hh -- declare Directional_element - - source file of the GNU LilyPond music typesetter - - (c) 1999--2000 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 (); -}; +#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 */