]> git.donarmstrong.com Git - lilypond.git/blob - hdr/bar-reg.hh
release: 0.0.38
[lilypond.git] / hdr / bar-reg.hh
1 /*
2   bar-reg.hh -- declare Bar_register
3
4   source file of the LilyPond music typesetter
5
6   (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
7 */
8
9
10 #ifndef BARREG_HH
11 #define BARREG_HH
12 #include "register.hh"
13
14 /**
15   generate bars. Either user ("|:"), or default (new measure)
16   */
17 class Bar_register : public Request_register {
18     void split_bar(Bar *& pre, Bar * no, Bar * &post);
19 public:
20     Bar_req * bar_req_l_;
21     Bar * bar_p_;
22  
23     virtual bool try_request(Request *req_l);
24     virtual void process_requests();
25     virtual void pre_move_processing();
26     virtual void post_move_processing();
27     Bar_register();
28     NAME_MEMBERS(Bar_register);
29 };
30
31 #endif // BARREG_HH