]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/volta-spanner.hh
release: 1.3.55
[lilypond.git] / lily / include / volta-spanner.hh
index 1a9a2803c457c02937fa5754ac1ff4db9fb155b0..a1f9b0ebfef62eab5422deb2ebf81c0dd6c9ca65 100644 (file)
@@ -1,39 +1,32 @@
 /*
   volta-spanner.hh -- part of GNU LilyPond
 
-  (c) 1997--1998 Jan Nieuwenhuizen <janneke@gnu.org>
+  (c) 1997--2000 Jan Nieuwenhuizen <janneke@gnu.org>
 */
 
 #ifndef VOLTA_SPANNER_HH
 #define VOLTA_SPANNER_HH
 
-#include "text-def.hh"
+
 #include "pointer.hh"
-#include "directional-spanner.hh"
+#include "spanner.hh"
 
 /** Volta bracket with number */
 
-class Volta_spanner : public Directional_spanner
+class Volta_spanner : public Spanner
 {
 public:
-  Volta_spanner ();
+  Volta_spanner (SCM);
  
   void add_column (Note_column*);
-  void add_column (Bar*);
-  P<Text_def>  number_p_;
-  P<Text_def>  dot_p_;
-  Link_array<Bar> column_arr_;
-  Link_array<Note_column> note_column_arr_;
-  bool last_b_;
+  void add_bar (Bar*);
  
 protected:
-  virtual Molecule* brew_molecule_p () const;
-  VIRTUAL_COPY_CONS(Score_element);
+  virtual Molecule do_brew_molecule () const;
+  VIRTUAL_COPY_CONS (Score_element);
 
   virtual void do_add_processing ();
-  virtual void do_post_processing ();
-  virtual void do_substitute_dependency (Score_element*,Score_element*);
+  virtual void after_line_breaking ();
 };
 
 #endif // VOLTA_SPANNER_HH