]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/change-iterator.hh
Imported Upstream version 2.19.45
[lilypond.git] / lily / include / change-iterator.hh
index 2c9cb33125a7de97454a9b9500c5c4aebb6daa46..1ba16c09071916727300214f903ffbb6d83ea6e5 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 1997--2012 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  Copyright (C) 1997--2015 Han-Wen Nienhuys <hanwen@xs4all.nl>
 
   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,6 +30,10 @@ 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 (const string&);
 };