X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fscale.hh;h=7c990e503419ce7db183489fae7ce90c0074d092;hb=378c9a561c8ce179398a88066e803aba6ea00afc;hp=4562d372a7dfd6a251d4b430a49460f5af4b432e;hpb=4a401ca1c60f428daa242dbdd102fdb3f327ebfb;p=lilypond.git diff --git a/lily/include/scale.hh b/lily/include/scale.hh index 4562d372a7..7c990e5034 100644 --- a/lily/include/scale.hh +++ b/lily/include/scale.hh @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 2006--2011 Han-Wen Nienhuys + Copyright (C) 2006--2015 Han-Wen Nienhuys LilyPond is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -24,9 +24,10 @@ #include "rational.hh" #include "std-vector.hh" -struct Scale +struct Scale : public Smob { -public: + static const char * const type_p_name_; // = 0 + virtual ~Scale (); Scale (vector const &); Scale (Scale const &); @@ -35,7 +36,6 @@ public: int step_count () const; int normalize_step (int step) const; - DECLARE_SMOBS (Scale); private: vector step_tones_; @@ -44,4 +44,3 @@ private: extern Scale *default_global_scale; #endif /* SCALE_HH */ -