-/*
+/*
percent-repeat-item.hh -- declare Percent_repeat_item_interface
-
+
source file of the GNU LilyPond music typesetter
-
- (c) 2001--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
-
- */
+
+ (c) 2001--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
+*/
#ifndef PERCENT_REPEAT_ITEM_HH
#define PERCENT_REPEAT_ITEM_HH
-#include "grob.hh"
+#include "grob-interface.hh"
+#include "lily-proto.hh"
class Percent_repeat_item_interface
{
public:
- static bool has_interface (Grob*);
- DECLARE_SCHEME_CALLBACK (beat_slash, (SCM ));
- DECLARE_SCHEME_CALLBACK (double_percent, (SCM ));
- static Molecule x_percent (Grob*,int,Real,Real );
- static Molecule brew_slash (Grob*);
+ DECLARE_GROB_INTERFACE();
+ DECLARE_SCHEME_CALLBACK (beat_slash, (SCM));
+ DECLARE_SCHEME_CALLBACK (double_percent, (SCM));
+ static Stencil x_percent (Grob *, int, Real, Real);
+ static Stencil brew_slash (Grob *);
};
#endif /* PERCENT_REPEAT_ITEM_HH */