]> 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 482f53d970d34164f493a55cf102c45005f211e5..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,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