X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fgrob-info.cc;h=f02e836e75389b80d601e7ddb9c12981682fb46d;hb=1d63a3985005a45af468e5c9656de3d17fbb4ee3;hp=be6fd79e17a290f57ca4a206b018a1710f89d259;hpb=a6a4b3fc2009f17a1a48cca0c11bfd3f38645937;p=lilypond.git diff --git a/lily/grob-info.cc b/lily/grob-info.cc index be6fd79e17..f02e836e75 100644 --- a/lily/grob-info.cc +++ b/lily/grob-info.cc @@ -1,9 +1,20 @@ /* - grob-info.cc -- implement Grob_info + This file is part of LilyPond, the GNU music typesetter. - source file of the GNU LilyPond music typesetter + Copyright (C) 1997--2011 Han-Wen Nienhuys - (c) 1997--2008 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 + 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 . */ #include "context.hh" @@ -83,3 +94,9 @@ Grob_info::ultimate_event_cause () const } return unsmob_stream_event (cause); } + +bool +Grob_info::less (Grob_info i, Grob_info j) +{ + return Grob::less (i.grob (), j.grob ()); +}