]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/bar-grav.hh
28dae424ff33480e0b1553894a055408e4a8a89f
[lilypond.git] / lily / include / bar-grav.hh
1 /*
2   bar-grav.hh -- declare Bar_engraver
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
7 */
8
9
10 #ifndef BARGRAV_HH
11 #define BARGRAV_HH
12 #include "engraver.hh"
13
14 /**
15   generate bars. Either user ("|:"), or default (new measure)
16   */
17 class Bar_engraver : public Engraver {
18   Bar_req * bar_req_l_;
19   Bar * bar_p_;
20
21   void create_bar ();
22 public:
23   TRANSLATOR_CLONE(Bar_engraver);
24   Bar_engraver();
25   DECLARE_MY_RUNTIME_TYPEINFO;
26
27      
28 protected:
29   virtual void do_creation_processing ();
30   virtual void do_removal_processing ();
31   virtual bool do_try_request (Request *req_l);
32   virtual void do_process_requests();
33   virtual void do_pre_move_processing();
34   virtual void do_post_move_processing();
35 };
36
37 #endif // BARGRAV_HH