/*
- text-item.hh -- declare Text_item
-
+ text-item.hh -- declare markup functions
+
source file of the GNU LilyPond music typesetter
- (c) 1998--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
-
+ (c) 1998--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+ Jan Nieuwenhuizen <janneke@gnu.org>
*/
-#ifndef Text_ITEM_HH
-#define Text_ITEM_HH
+#ifndef TEXT_ITEM
+#define TEXT_ITEM
-#include "item.hh"
-/**
- Print a text in specified style.
- */
-class Text_item : public Item
+#include "lily-proto.hh"
+#include "lily-guile.hh"
+#include "stencil.hh"
+
+class Text_item
{
public:
- // junkme.
- String text_str_;
+ DECLARE_SCHEME_CALLBACK (print, (SCM));
+ DECLARE_SCHEME_CALLBACK (interpret_markup, (SCM, SCM, SCM));
+ static bool has_interface (Grob*);
+ static bool markup_p (SCM) ;
- VIRTUAL_COPY_CONS (Score_element);
-protected:
- virtual void do_print () const;
- virtual Molecule *do_brew_molecule_p () const;
};
-#endif /* Text_ITEM_HH */
+
+
+
+#endif /* TEXT_ITEM */