X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fdirectional-element-interface.hh;h=898f6f1d89a21eb7b06dad0a029f2c52e0409fba;hb=47db9a3883d726ca53e2133a3b2298f78dd6a32e;hp=b77ef71754660c3406f17b0c325eeacb0b3a6890;hpb=df4a7c4a55148e065d878dcc2f7e09ac27ea9c32;p=lilypond.git diff --git a/lily/include/directional-element-interface.hh b/lily/include/directional-element-interface.hh index b77ef71754..898f6f1d89 100644 --- a/lily/include/directional-element-interface.hh +++ b/lily/include/directional-element-interface.hh @@ -1,26 +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 "grob.hh" - -struct Directional_element_interface -{ -public: - static SCM direction_sym ; - static void set (Grob*,Direction d); - static Direction get (Grob*) ; - static bool has_interface (Grob*) ; -}; +#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 */