]> git.donarmstrong.com Git - lilypond.git/blob - flower/include/file-storage.hh
1a7d7b61cb3a24370358601e1df74316ba3737b5
[lilypond.git] / flower / include / file-storage.hh
1 /*
2   file-storage.hh -- declare File_storage, Mapped_file_storage, Simple_file_storage
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 1997--2005 Han-Wen Nienhuys <hanwen@xs4all.nl>
7 */
8
9 #ifndef FILE_STORAGE_HH
10 #define FILE_STORAGE_HH
11
12 #include "flower-proto.hh"
13
14 /**
15    store a file in-memory.
16 */
17 class File_storage
18 {
19 public:
20   virtual char const *to_str0 () const = 0;
21   virtual int length () const = 0;
22   virtual ~File_storage (){}
23 };
24
25 #endif // FILE_STORAGE_HH