]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/directional-element-interface.hh
Run grand replace for 2015.
[lilypond.git] / lily / include / directional-element-interface.hh
index 9fa0e0692dbe365b6b59abf17f0849cb681d8551..898f6f1d89a21eb7b06dad0a029f2c52e0409fba 100644 (file)
@@ -1,31 +1,31 @@
-/*   
-  directional-element.hh -- declare Directional_element
-  
-  source file of the GNU LilyPond music typesetter
-  
-  (c) 1999--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
-  
- */
+/*
+  This file is part of LilyPond, the GNU music typesetter.
+
+  Copyright (C) 1999--2015 Han-Wen Nienhuys <hanwen@xs4all.nl>
+
+  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 <http://www.gnu.org/licenses/>.
+*/
 
 #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 */