X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fitem.hh;h=d00541a8bf26fe35a19e90f43f03515de50eaadd;hb=87eedcd59f4082cb0841528ad5bc82cb1d1191e3;hp=7c28a35240f5f212b6ee0c654b9acde45e8bbbe6;hpb=920dccaf627f00ec2d5bbd49ffeb9ad01236da3b;p=lilypond.git diff --git a/lily/include/item.hh b/lily/include/item.hh index 7c28a35240..d00541a8bf 100644 --- a/lily/include/item.hh +++ b/lily/include/item.hh @@ -3,12 +3,11 @@ source file of the GNU LilyPond music typesetter - (c) 1997--2006 Han-Wen Nienhuys + (c) 1997--2007 Han-Wen Nienhuys */ #ifndef ITEM_HH #define ITEM_HH -#include "box.hh" #include "grob.hh" /** @@ -23,10 +22,10 @@ class Item : public Grob DECLARE_CLASSNAME(Item); public: - Item (SCM, Object_key const *); - Item (Item const &, int count); + Item (SCM); + Item (Item const &); - virtual Grob *clone (int count) const; + virtual Grob *clone () const; static bool is_non_musical (Grob *); bool is_broken () const; @@ -40,7 +39,7 @@ public: virtual Paper_column *get_column () const; virtual void handle_prebroken_dependencies (); virtual Interval_t spanned_rank_iv (); - static bool has_interface (Grob *); + DECLARE_GROB_INTERFACE(); protected: virtual void discretionary_processing (); void copy_breakable_items ();