]> git.donarmstrong.com Git - lilypond.git/blob - lily/performer.cc
lilypond-0.0.75
[lilypond.git] / lily / performer.cc
1 /*
2   performer.cc -- declare Performer
3
4   (c) 1996, 1997 Han-Wen Nienhuys <hanwen@stack.nl>
5                  Jan Nieuwenhuizen <jan@digicash.com>
6  */
7
8
9 #include "performer-group-performer.hh"
10 #include "debug.hh"
11
12 IMPLEMENT_STATIC_NAME(Performer);
13 IMPLEMENT_IS_TYPE_B(Performer);
14
15 Performer::Performer()
16 {
17     daddy_perf_l_ = 0;
18 }
19
20 Performer::~Performer()
21 {
22 }
23
24 void
25 Performer::do_print() const
26 {
27 }
28
29 void 
30 Performer::play_event( Midi_item* l ) 
31
32     daddy_perf_l_->play_event( l ); 
33 }
34
35 void
36 Performer::print() const
37 {
38 #ifndef NPRINT
39     mtor << "\n" << name() << " {";
40 //    do_print();
41     mtor << "}";
42 #endif
43 }
44
45 void
46 Performer::process_requests()
47 {
48 }
49
50 bool 
51 Performer::try_request( Request* req_l )
52 {
53 // huh?
54 //    return daddy_perf_l_->try_request( req_l_ );
55     return false;
56 }
57