]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/binary-source-file.hh
Fix some bugs in the dynamic engraver and PostScript backend
[lilypond.git] / lily / include / binary-source-file.hh
1 //
2 //  binary-source-file.hh -- declare Binary_source_file
3 //
4 //  (c) 1997--2006 Jan Nieuwenhuizen <janneke@gnu.org>
5
6 #ifndef BINARY_SOURCE_FILE_HH
7 #define BINARY_SOURCE_FILE_HH
8
9 #include "source-file.hh"
10
11 class Binary_source_file : public Source_file
12 {
13 public:
14   Binary_source_file (string &file_name_string);
15   virtual ~Binary_source_file ();
16
17   U8 get_U8 ();
18   U16 get_U16 ();
19   U32 get_U32 ();
20   Byte get_Byte () {return get_U8 (); }
21   int get_int () { return get_U32 (); }
22
23   virtual string quote_input (char const *pos_str0) const;
24   virtual int get_line (char const *pos_str0) const;
25 };
26
27 #endif // BINARY_SOURCE_FILE_HH