X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Ftie-formatting-problem.hh;h=830ced2960b824847a49f3ffbb7b0490f4088251;hb=5b4b0d6e9a197e8f9eb085b7c2ad78b8be3e5cfc;hp=69b49322b01c9073525b067cfd2bece76d5e02a1;hpb=33937d86b00568597f3ecff89249811874a6b4e4;p=lilypond.git diff --git a/lily/include/tie-formatting-problem.hh b/lily/include/tie-formatting-problem.hh index 69b49322b0..830ced2960 100644 --- a/lily/include/tie-formatting-problem.hh +++ b/lily/include/tie-formatting-problem.hh @@ -3,7 +3,7 @@ source file of the GNU LilyPond music typesetter - (c) 2005--2007 Han-Wen Nienhuys + (c) 2005--2008 Han-Wen Nienhuys */ @@ -21,11 +21,14 @@ #include typedef map< Tuple, Tie_configuration *> Tie_configuration_map; + struct Tie_configuration_variation { - int index_; - Tie_configuration *suggestion_; - Tie_configuration_variation (); + vector > index_suggestion_pairs_; + void add_suggestion(int index, Tie_configuration* suggestion) + { + index_suggestion_pairs_.push_back (make_pair (index, suggestion)); + } }; typedef map < Tuple, Skyline> Chord_outline_map;