From: fred Date: Mon, 2 Dec 1996 21:51:01 +0000 (+0000) Subject: lilypond-0.0.14 X-Git-Tag: release/1.5.59~6694 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=f82841a15ec42df260c78052170ede243d032d87;p=lilypond.git lilypond-0.0.14 --- diff --git a/hdr/staff.hh b/hdr/staff.hh index 803bf87388..9f1ba1f498 100644 --- a/hdr/staff.hh +++ b/hdr/staff.hh @@ -19,13 +19,10 @@ struct Staff { Score *score_; PScore *pscore_; - svec input_commands_; - /****************************************************************/ - void add(svec &s); void add(PointerList &s); - void process_input_commands(svec &s, Real l); - + void process_commands(Real l); + Staff(const Staff&src); void add_voice(Voice *v); void add_staff_column(Staff_column *sp); @@ -45,13 +42,11 @@ struct Staff { Staff_column * get_col(Real,bool); Staff(); - /** - Should construct with Score as arg, but this isn't known during parsing. - */ + /**************************************************************** VIRTUALS ****************************************************************/ - virtual Staff*clone()const=0; + virtual void set_output(PScore * destination)=0; virtual void walk()=0; virtual Staff_column * create_col(Score_column * )=0; diff --git a/src/rhythmstaff.cc b/src/rhythmstaff.cc index 6c986a62cc..d5f26dcd43 100644 --- a/src/rhythmstaff.cc +++ b/src/rhythmstaff.cc @@ -59,10 +59,3 @@ get_new_rhythmstaff() return new Rhythmic_staff; } - - -Rhythmic_staff* -Rhythmic_staff::clone() const -{ - return new Rhythmic_staff(*this); -}