/*
volta-spanner.hh -- part of GNU LilyPond
- (c) 1997--1998 Jan Nieuwenhuizen <janneke@gnu.org>
+ (c) 1997--2002 Jan Nieuwenhuizen <janneke@gnu.org>
*/
#ifndef VOLTA_SPANNER_HH
#define VOLTA_SPANNER_HH
-#include "text-def.hh"
-#include "pointer.hh"
-#include "directional-spanner.hh"
-/** Volta bracket with number */
+#include "spanner.hh"
-class Volta_spanner : public Directional_spanner
+/**
+*/
+
+class Volta_spanner
{
public:
- Volta_spanner ();
-
- 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_;
-
-protected:
- virtual Molecule* do_brew_molecule_p () 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*);
+ static void set_interface (Grob*);
+ static bool has_interface (Grob*);
+ DECLARE_SCHEME_CALLBACK (brew_molecule, (SCM ));
+ static void add_column (Grob*, Grob*col);
+ static void add_bar (Grob*me, Item*bar);
};
#endif // VOLTA_SPANNER_HH