]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/stem-tremolo.hh
* lily/text-item.cc (text_to_molecule): new function
[lilypond.git] / lily / include / stem-tremolo.hh
index ef23aadfde82ec64d910386afabae784676d0471..781d575016e2490496c9facbea5e5d1405c60c11 100644 (file)
@@ -3,27 +3,25 @@
   
   source file of the GNU LilyPond music typesetter
   
-  (c)  1997--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c)  1997--2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
   
  */
 
 #ifndef ABBREV_HH
 #define ABBREV_HH
 
-#include "item.hh"
+#include "lily-proto.hh"
+#include "lily-guile.hh"
 
-
-class Stem_tremolo : public Item {
-protected:
-  Stem * stem_l () const;
-  virtual void do_print () const;
-  virtual Molecule *do_brew_molecule_p () const;
-
-  static Interval dim_callback (Dimension_cache const*);
+class Stem_tremolo
+{
 public:
-  int abbrev_flags_i_;
-  Stem_tremolo ();
-  void set_stem (Stem *);
+  
+  static bool has_interface (Grob*);
+  DECLARE_SCHEME_CALLBACK (dim_callback, (SCM smob, SCM axis));
+  DECLARE_SCHEME_CALLBACK (brew_molecule, (SCM ));
+  DECLARE_SCHEME_CALLBACK (height, (SCM,SCM));
+  static void set_stem (Grob*me, Grob *st);
 };
 
 #endif /* ABBREV_HH */