]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/beaming-pattern.hh
Merge branch 'lilypond/translation' of ssh://git.sv.gnu.org/srv/git/lilypond into...
[lilypond.git] / lily / include / beaming-pattern.hh
index eb813da275517094b8d8a645722362ace58bd2e8..a9bb44ae9f19f6d122ff53fd3f2f1775268d805b 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 1999--2009 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  Copyright (C) 1999--2010 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
@@ -28,11 +28,11 @@ struct Beaming_options
 {
   SCM grouping_;
   bool subdivide_beams_;
-  Moment beat_length_;
+  Moment base_moment_;
   Moment measure_length_;
 
   Beaming_options ();
-  void from_context (Context*);  
+  void from_context (Context*);
 };
 
 struct Beam_rhythmic_element
@@ -42,7 +42,7 @@ struct Beam_rhythmic_element
 
   int rhythmic_importance_;
   bool invisible_;
-  
+
   Beam_rhythmic_element (Moment, int, bool);
   Beam_rhythmic_element ();
 
@@ -58,12 +58,16 @@ class Beaming_pattern
 {
 public:
   Beaming_pattern ();
-  
+
   void beamify (Beaming_options const&);
   void de_grace ();
   void add_stem (Moment d, int beams, bool invisible);
   int beamlet_count (int idx, Direction d) const;
-  
+  bool invisibility (int idx) const;
+  Moment start_moment (int idx) const;
+  Moment end_moment (int idx) const;
+  Beaming_pattern* split_pattern(int idx);
+
 private:
   vector<Beam_rhythmic_element> infos_;
   Direction flag_direction (Beaming_options const&, vsize) const;