-/*
- text.hh -- part of LilyPond
+/*
+ text-item.hh -- declare markup functions
- (c) 1996,97 Han-Wen Nienhuys
-*/
+ source file of the GNU LilyPond music typesetter
+
+ (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 "lily-proto.hh"
+#include "lily-guile.hh"
+#include "stencil.hh"
+
+class Text_item
+{
+public:
+ DECLARE_SCHEME_CALLBACK (print, (SCM));
+ DECLARE_SCHEME_CALLBACK (interpret_markup, (SCM, SCM, SCM));
+ DECLARE_SCHEME_CALLBACK (interpret_string, (SCM, SCM, SCM, SCM));
+ static bool has_interface (Grob*);
+ static bool markup_p (SCM) ;
-#include "text-def.hh"
-#include "item.hh"
-
-struct Text_item : Item {
- int pos_i_;
- int staffsize_i_;
- int dir_i_;
- Text_def* tdef_l_;
-
- /* ***************/
- NAME_MEMBERS(Text_item);
- virtual void set_default_index();
- Molecule* brew_molecule_p() const;
- void do_pre_processing();
-
- Text_item(Text_req*,int);
};
-#endif // TEXT_HH
+
+
+#endif /* TEXT_ITEM */