lilypond-0.1.54
[lilypond.git] / lily / request.cc
blob488b2cad953d6a6ecdf62167b0b78853f17a7010
1 /*
2 request.cc -- implement Request
4 source file of the GNU LilyPond music typesetter
6 (c) 1996,1997 Han-Wen Nienhuys <hanwen@stack.nl>
7 */
9 #include "request.hh"
10 #include "debug.hh"
13 IMPLEMENT_IS_TYPE_B1(Request,Music);
15 void
16 Request::do_print() const
20 MInterval
21 Request::time_int() const
23 return MInterval (0, duration());
27 bool
28 Request::equal_b (Request *r) const
30 if (is_type_b (r->name()))
31 return r->do_equal_b ((Request*)this);
32 if (r->is_type_b (name()))
33 return do_equal_b (r);
35 return false;
38 bool
39 Request::do_equal_b (Request*) const
41 return false;