]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/engraver-group.hh
Run grand replace for 2015.
[lilypond.git] / lily / include / engraver-group.hh
index d894c9ada6cad02783598a2eb171870ee70ba8ca..bbb759b1ace6acbe03220b82087f934a619f0803 100644 (file)
@@ -1,9 +1,20 @@
 /*
-  engraver-group.hh -- declare Engraver_group
+  This file is part of LilyPond, the GNU music typesetter.
 
-  source file of the GNU LilyPond music typesetter
+  Copyright (C) 1997--2015 Han-Wen Nienhuys <hanwen@xs4all.nl>
 
-  (c) 1997--2006 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
+  the Free Software Foundation, either version 3 of the License, or
+  (at your option) any later version.
+
+  LilyPond is distributed in the hope that it will be useful,
+  but WITHOUT ANY WARRANTY; without even the implied warranty of
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+  GNU General Public License for more details.
+
+  You should have received a copy of the GNU General Public License
+  along with LilyPond.  If not, see <http://www.gnu.org/licenses/>.
 */
 
 #ifndef ENGRAVER_GROUP_HH
 #include "engraver.hh"
 #include "translator-group.hh"
 
-class Engraver_group : public virtual Translator_group
+class Engraver_group : public Translator_group
 {
 protected:
-  std::vector<Grob_info> announce_infos_;
-  SCM acknowledge_hash_table_;
+  vector<Grob_info> announce_infos_;
+  Drul_array<SCM> acknowledge_hash_table_drul_;
+  DECLARE_LISTENER (override);
+  DECLARE_LISTENER (revert);
 public:
-  VIRTUAL_COPY_CONSTRUCTOR (Translator_group, Engraver_group);
+  DECLARE_CLASSNAME (Engraver_group);
   Engraver_group ();
   virtual void derived_mark () const;
   void do_announces ();
+  virtual void connect_to_context (Context *c);
+  virtual void disconnect_from_context ();
   virtual void announce_grob (Grob_info);
   int pending_grob_count () const;
 private:
@@ -34,4 +49,3 @@ void engraver_each (SCM list, Engraver_method method);
 
 #endif /* ENGRAVERGROUP_HH */
 
-