X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fobject-key-dumper.hh;h=afea4556011301e4442b22349232dcccd5cf451e;hb=bcc48624c73e6036255b5d4f6aaad61f0edd90c3;hp=1dd1e6c1138654f0e4bbcbdd00768adba035b7ab;hpb=6d10791f358dc637ee7d8858fb61f959f1262b3c;p=lilypond.git diff --git a/lily/include/object-key-dumper.hh b/lily/include/object-key-dumper.hh index 1dd1e6c113..afea455601 100644 --- a/lily/include/object-key-dumper.hh +++ b/lily/include/object-key-dumper.hh @@ -3,22 +3,20 @@ source file of the GNU LilyPond music typesetter - (c) 2004 Han-Wen Nienhuys - + (c) 2004--2006 Han-Wen Nienhuys */ #ifndef OBJECT_KEY_DUMPER_HH #define OBJECT_KEY_DUMPER_HH #include +using namespace std; -#include "lily-guile.hh" #include "object-key.hh" -#include "smobs.hh" -typedef std::map Key_to_key_map; -typedef std::map Pointer_to_int_map; -typedef std::map Int_to_key_map; +typedef map Key_to_key_map; +typedef map Pointer_to_int_map; +typedef map Int_to_key_map; class Object_key_dumper { @@ -26,17 +24,17 @@ class Object_key_dumper Key_to_key_map serialized_keys_; Pointer_to_int_map key_serial_numbers_; int next_available_; - + SCM key_serial (int); SCM serialize_key (Object_key const *); DECLARE_SMOBS (Object_key_dumper,); public: - Object_key_dumper (); + Object_key_dumper (); SCM get_file_contents () const; SCM dump_key (Object_key const *); }; -DECLARE_UNSMOB(Object_key_dumper, key_dumper); +DECLARE_UNSMOB (Object_key_dumper, key_dumper); #endif /* OBJECT_KEY_DUMPER_HH */