X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fchange-iterator.hh;h=1ba16c09071916727300214f903ffbb6d83ea6e5;hb=8deff48226b1f608d7949c6198f0965222b6cb8d;hp=482f53d970d34164f493a55cf102c45005f211e5;hpb=08560a1b8076630c4fc6cb9b902614d8b74fd6fc;p=lilypond.git diff --git a/lily/include/change-iterator.hh b/lily/include/change-iterator.hh index 482f53d970..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--2012 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 @@ -30,8 +30,12 @@ public: DECLARE_SCHEME_CALLBACK (constructor, ()); 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