summaryrefslogtreecommitdiff
path: root/lily/request.cc
blob: 0b177e39ac7697381ab17633f082dcf56ea712a9 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/*
  request.cc -- implement Request

  source file of the GNU LilyPond music typesetter

  (c) 1996,1997 Han-Wen Nienhuys <hanwen@stack.nl>
*/

#include "request.hh"
#include "debug.hh"


IMPLEMENT_IS_TYPE_B1(Request,Music);

void
Request::do_print() const
{
}

MInterval
Request::time_int() const
{
    return MInterval (0, duration());
}


bool
Request::equal_b (Request *r)const
{
    if ( is_type_b ( r->name()) )
	return r->do_equal_b ((Request*)this);
    if ( r->is_type_b (name()))
	return do_equal_b (r);
	 
    return false;
}

bool
Request::do_equal_b (Request*)const
{
    return false;
}