/*
crescendo.hh -- declare Crescendo
- source file of the LilyPond music typesetter
+ source file of the GNU LilyPond music typesetter
- (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
+ (c) 1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
*/
#ifndef CRESCENDO_HH
#define CRESCENDO_HH
-#include "spanner.hh"
-
-class Crescendo : public Spanner {
- int staff_size_i_;
+#include "lily-guile.hh"
+/**
+ The hairpin symbol.
+ */
+struct Crescendo
+{
public:
- int grow_dir_i_;
- int dir_i_;
- Crescendo(int staff_size_i);
-private:
- Spanner* do_break_at( PCol*, PCol*) const;
- Molecule*brew_molecule_p()const;
- NAME_MEMBERS(Crescendo);
+ DECLARE_SCHEME_CALLBACK (brew_molecule, (SCM));
+ static bool has_interface (Score_element*);
};
#endif // CRESCENDO_HH