]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/engraver.hh
Issue 4834: Remove routing information from Grob_info
[lilypond.git] / lily / include / engraver.hh
index 77f55f0e488708e9b404204189ac0936aa21b379..956f49365b6cc17d4e65c8734d4ec4227cb2bb3d 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 1996--2014 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  Copyright (C) 1996--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
@@ -41,8 +41,8 @@ protected:
     Default: ignore the info
   */
   virtual void acknowledge_grob (Grob_info) {}
-  virtual void announce_grob (Grob_info);
-  virtual void announce_end_grob (Grob_info);
+  virtual void announce_grob (Grob_info, Context *reroute_context = 0);
+  virtual void announce_end_grob (Grob_info, Context *reroute_context = 0);
   Engraver_group *get_daddy_engraver () const;
 
 public:
@@ -65,12 +65,6 @@ public:
      override other ctor
   */
   TRANSLATOR_DECLARATIONS (Engraver);
-  static Engraver *unsmob (SCM eng) {
-    return dynamic_cast<Engraver *> (Translator::unsmob (eng));
-  }
-  static bool is_smob (SCM eng) {
-    return Translator::is_smob (eng) && unsmob (eng);
-  }
 };
 
 #define make_item(x, cause) internal_make_item (ly_symbol2scm (x), cause, x, __FILE__, __LINE__, __FUNCTION__)