]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/scheme-engraver.hh
Issue 4842/6: Don't special-case Scheme_engraver's acknowledgers
[lilypond.git] / lily / include / scheme-engraver.hh
index 103176fc37c6b733636c318bb5611d6ce81d96dc..ffce5fa204f201241610f56062c5a895c289686c 100644 (file)
@@ -46,15 +46,20 @@ protected:
   virtual bool must_be_last () const;
 
 private:
-  void acknowledge_grob_by_hash (Grob_info info, SCM iface_function_hash);
+  virtual SCM get_acknowledger (SCM sym)
+  {
+    return generic_get_acknowledger (sym, interface_acknowledger_hash_);
+  }
+  virtual SCM get_end_acknowledger (SCM sym)
+  {
+    return generic_get_acknowledger (sym, interface_end_acknowledger_hash_);
+  }
+
   void init_acknowledgers (SCM alist, SCM *hash);
   // For now no description.  In future, something derived from the
   // definition might make sense.
   SCM translator_description () const { return SCM_EOL; }
 
-  DECLARE_ACKNOWLEDGER (grob);
-  DECLARE_END_ACKNOWLEDGER (grob);
-
   bool must_be_last_;
 
   SCM acknowledge_grob_function_;