X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fnote-column.cc;h=da52093797fb1f3b98c91f42c07ad0835f70a441;hb=2a6d112286bfaabe36ef54fc655821cd87a91f4b;hp=a49c41b1346dc5ea0b8db014eac8ae1b5dd858fc;hpb=bb8a0a5387af94dd2702877256334b160575a730;p=lilypond.git diff --git a/lily/note-column.cc b/lily/note-column.cc index a49c41b134..da52093797 100644 --- a/lily/note-column.cc +++ b/lily/note-column.cc @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 1997--2011 Han-Wen Nienhuys + Copyright (C) 1997--2012 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 @@ -64,6 +64,18 @@ Note_column::get_stem (Grob *me) return unsmob_item (s); } +Item * +Note_column::get_flag (Grob *me) +{ + Item *stem = get_stem (me); + if (stem) + { + SCM s = stem->get_object ("flag"); + return unsmob_item (s); + } + return 0; +} + Slice Note_column::head_positions_interval (Grob *me) {