2 mapped-file-storage.hh -- declare Mapped_file_storage
4 source file of the GNU LilyPond music typesetter
6 (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
10 #ifndef MAPPED_FILE_STORAGE_HH
11 #define MAPPED_FILE_STORAGE_HH
15 #include "file-storage.hh"
18 Use mmap to "copy" a file into memory
20 class Mapped_file_storage:public File_storage
23 Mapped_file_storage (String);
25 virtual char const* ch_C () const;
26 virtual int length_i () const;
27 virtual ~Mapped_file_storage ();
29 void open (String name);
39 #endif /* MAPPED_FILE_STORAGE_HH */