]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/slur-configuration.hh
Fix 884.
[lilypond.git] / lily / include / slur-configuration.hh
index b1b9f9a6e55033009f86c9f6b63a63252a2ce5d7..a1ba3d109a4adf4ae6b1ba4c3faec5a9f9da8413 100644 (file)
@@ -1,17 +1,39 @@
 /*
-  slur-configuration.hh -- declare Slur_configuration
+  This file is part of LilyPond, the GNU music typesetter.
 
-  source file of the GNU LilyPond music typesetter
+  Copyright (C) 2004--2010 Han-Wen Nienhuys <hanwen@xs4all.nl>
 
-  (c) 2004--2006 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 SLUR_CONFIGURATION_HH
 #define SLUR_CONFIGURATION_HH
 
 #include "bezier.hh"
+#include "lily-proto.hh"
 #include "std-vector.hh"
-#include "main.hh"
+
+
+enum Configuration_tag
+  {
+    SLUR_STEM = 0x01,
+    SLUR_HEAD = 0x02,
+    SLUR_FREE = 0x04,
+    SLUR_FREE_HEAD = 0x08,
+    SLUR_FREE_STEM = 0x10,
+    SLUR_STEM_TIP = 0x10,
+  };
 
 class Slur_configuration
 {
@@ -22,7 +44,7 @@ public:
   Drul_array<Offset> attachment_;
   Bezier curve_;
   Real height_;
-
+  unsigned tags_;
   int index_;
 
   Slur_configuration ();