From 81dcfb73186ab358fabd1c4278b590429d616d2d Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Thu, 16 Feb 2006 12:20:15 +0000 Subject: [PATCH] remove file. --- ChangeLog | 2 ++ flower/include/file-storage.hh | 25 ------------------------- flower/include/virtual-methods.hh | 16 ++++++++++------ 3 files changed, 12 insertions(+), 31 deletions(-) delete mode 100644 flower/include/file-storage.hh diff --git a/ChangeLog b/ChangeLog index 27ccc1f260..154c294cc3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2006-02-16 Han-Wen Nienhuys + * flower/include/file-storage.hh: remove file. + * lily/include/midi-item.hh (class Midi_track): idem. * lily/include/source.hh (class Sources): idem. diff --git a/flower/include/file-storage.hh b/flower/include/file-storage.hh deleted file mode 100644 index f13cc47173..0000000000 --- a/flower/include/file-storage.hh +++ /dev/null @@ -1,25 +0,0 @@ -/* - file-storage.hh -- declare File_storage, Mapped_file_storage, Simple_file_storage - - source file of the GNU LilyPond music typesetter - - (c) 1997--2006 Han-Wen Nienhuys -*/ - -#ifndef FILE_STORAGE_HH -#define FILE_STORAGE_HH - -#include "flower-proto.hh" - -/** - store a file in-memory. -*/ -class File_storage -{ -public: - virtual char const *c_str () const = 0; - virtual int length () const = 0; - virtual ~File_storage (){} -}; - -#endif // FILE_STORAGE_HH diff --git a/flower/include/virtual-methods.hh b/flower/include/virtual-methods.hh index 67dabc91d1..bf28b66737 100644 --- a/flower/include/virtual-methods.hh +++ b/flower/include/virtual-methods.hh @@ -17,13 +17,17 @@ using namespace std; char const * demangle_classname (type_info const &); -/* Virtual copy constructor. Make up for C++'s lack of a standard - factory or clone () function. Uses a typeof hack. Usage: +/* + +Virtual copy constructor. Make up for C++'s lack of a standard +factory or clone () function. Usage: - class Foo : Baseclass - { - VIRTUAL_COPY_CONSTRUCTOR (Baseclass, Foo); - }; */ +class Foo : Baseclass +{ +VIRTUAL_COPY_CONSTRUCTOR (Baseclass, Foo); +}; + +*/ #define DECLARE_CLASSNAME(name) \ virtual const char *class_name () const { \ -- 2.39.5