+
/*
general-script-def.cc -- implement General_script_def
source file of the GNU LilyPond music typesetter
- (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
+ (c) 1997--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
*/
-
+#include "molecule.hh"
#include "general-script-def.hh"
#include "debug.hh"
-#include "atom.hh"
+
+
Direction
General_script_def::staff_dir() const
{
bool
General_script_def::equal_b (General_script_def const&g) const
{
- if (name() != g.name ())
- return false;
-
return do_equal_b (&g);
}
void
General_script_def::print() const
{
- DOUT << name() << "{";
+ DOUT << classname(this) << "{";
do_print();
DOUT << "}";
}
{
}
-Atom
-General_script_def::get_atom (Paper_def*, Direction) const
+Molecule
+General_script_def::get_molecule (Paper_def*, Direction) const
{
- Atom s;
- return Atom (s);
+ Molecule s;
+ return Molecule (s);
}
-IMPLEMENT_IS_TYPE_B(General_script_def);
+
+
+
+