]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/custos-engraver.cc
''
[lilypond.git] / lily / custos-engraver.cc
index faec3cd556d0df940823e532484188f66aa95587..4e9d281743570bb634cbb369d7440d9a918957f2 100644 (file)
@@ -10,7 +10,7 @@
 */
 
 #include "engraver.hh"
-#include "bar.hh"
+#include "bar-line.hh"
 #include "item.hh"
 #include "note-head.hh"
 #include "staff-symbol-referencer.hh"
@@ -26,7 +26,7 @@ public:
 TRANSLATOR_DECLARATIONS(  Custos_engraver);
   virtual void start_translation_timestep ();
   virtual void acknowledge_grob (Grob_info);
-  virtual void create_grobs ();
+  virtual void process_acknowledged_grobs ();
   virtual void stop_translation_timestep ();
   virtual void finalize ();
 
@@ -72,7 +72,7 @@ Custos_engraver::acknowledge_grob (Grob_info info)
   Item *item = dynamic_cast <Item *> (info.grob_l_);
   if (item)
     {
-      if (Bar::has_interface (info.grob_l_))
+      if (Bar_line::has_interface (info.grob_l_))
        custos_permitted = true;
       else if (Note_head::has_interface (info.grob_l_))
        {
@@ -93,7 +93,7 @@ Custos_engraver::acknowledge_grob (Grob_info info)
 }
 
 void
-Custos_engraver::create_grobs ()
+Custos_engraver::process_acknowledged_grobs ()
 {
   if (gh_string_p (get_property ("whichBar")))
     custos_permitted = true;
@@ -125,7 +125,7 @@ Custos_engraver::create_custos ()
   SCM basicProperties = get_property ("Custos");
   Item* custos = new Item (basicProperties);
   
-  announce_grob (custos, 0);
+  announce_grob(custos, SCM_EOL);
   custos_arr_.push (custos);
   
   return custos;