]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/bar.hh
release: 1.1.37
[lilypond.git] / lily / include / bar.hh
1 /*
2   bar.hh -- part of GNU LilyPond
3
4   (c) 1996--1999 Han-Wen Nienhuys
5 */
6
7 #ifndef BAR_HH
8 #define BAR_HH
9 #include "item.hh"
10
11 /**
12   A vertical bar.
13  */
14 class Bar:public Item {
15 public:
16   String type_str_;
17   VIRTUAL_COPY_CONS(Score_element);
18   Bar ();
19
20 protected:
21   virtual void do_pre_processing ();
22   virtual Molecule* do_brew_molecule_p () const;
23   virtual Real get_bar_size () const;
24
25 private:
26   void do_print () const;
27 };
28 #endif // BAR_HH
29