X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fchange-iterator.hh;h=1ba16c09071916727300214f903ffbb6d83ea6e5;hb=4051d4410364b9984faa181659a3bfe2763a9736;hp=c05d4c3e30c79b888733a682e451936c0243cbb5;hpb=bc95f4434f760d41191341ab4508b2064eb19025;p=lilypond.git diff --git a/lily/include/change-iterator.hh b/lily/include/change-iterator.hh index c05d4c3e30..1ba16c0907 100644 --- a/lily/include/change-iterator.hh +++ b/lily/include/change-iterator.hh @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 1997--2010 Han-Wen Nienhuys + Copyright (C) 1997--2015 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 @@ -28,10 +28,14 @@ public: /* constructor is public */ virtual void process (Moment); DECLARE_SCHEME_CALLBACK (constructor, ()); - DECLARE_CLASSNAME(Change_iterator); + DECLARE_CLASSNAME (Change_iterator); + + // returns an error message (empty on success) + static string change_to (Music_iterator &it, + SCM to_type, const string &to_id); private: - void error (string); + void error (const string&); }; #endif