]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/staff-collecting-engraver.cc
($(outdir)/fonts.cache-1): create font cache for
[lilypond.git] / lily / staff-collecting-engraver.cc
index fb9ff7d639f55bd3ce6c0f8fc7e84fdc9d4abe18..f9b97e4c67ff70b0dde52a9c8cc3a5721323ceac 100644 (file)
@@ -1,11 +1,10 @@
-/*   
-staff-collecting-engraver.cc -- implement Staff_collecting_engraver
+/*
+  staff-collecting-engraver.cc -- implement Staff_collecting_engraver
 
-source file of the GNU LilyPond music typesetter
+  source file of the GNU LilyPond music typesetter
 
-(c) 2001--2005  Han-Wen Nienhuys <hanwen@cs.uu.nl>
-
- */
+  (c) 2001--2005  Han-Wen Nienhuys <hanwen@cs.uu.nl>
+*/
 
 #include "staff-symbol.hh"
 #include "engraver.hh"
@@ -21,27 +20,25 @@ public:
 
 Staff_collecting_engraver::Staff_collecting_engraver ()
 {
-  
 }
 
 void
 Staff_collecting_engraver::acknowledge_grob (Grob_info gi)
 {
-  if (Staff_symbol::has_interface (gi.grob_))
+  if (Staff_symbol::has_interface (gi.grob ()))
     {
       SCM staffs = get_property ("stavesFound");
-      staffs = scm_cons (gi.grob_->self_scm (), staffs);
+      staffs = scm_cons (gi.grob ()->self_scm (), staffs);
 
       context ()->set_property ("stavesFound", staffs);
     }
 }
 
-
 ADD_TRANSLATOR (Staff_collecting_engraver,
-/* descr */       "Maintain the stavesFound variable",
+               /* descr */ "Maintain the stavesFound variable",
 
-/* creats*/       "",
-/* accepts */     "",
-/* acks  */      "staff-symbol-interface",
-/* reads */       "stavesFound",
-/* write */       "stavesFound");
+               /* creats*/ "",
+               /* accepts */ "",
+               /* acks  */ "staff-symbol-interface",
+               /* reads */ "stavesFound",
+               /* write */ "stavesFound");