X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=staff.hh;h=3d39c6e78bdb89dc047436a264398bb1d888f121;hb=748e6176ab755ccf841f408d13d5818260a05d32;hp=cca8c35266412d745ca8397dc92c174bcbfdf507;hpb=74e0f769a23454f038d20270463c734a9c22f5f9;p=lilypond.git diff --git a/staff.hh b/staff.hh index cca8c35266..3d39c6e78b 100644 --- a/staff.hh +++ b/staff.hh @@ -19,6 +19,8 @@ struct Staff { Score *score_; PScore *pscore_; + /****************************************************************/ + void add_voice(Voice *v); void add_staff_column(Staff_column *sp); @@ -28,18 +30,13 @@ struct Staff { /** This routines calls virtual functions from Staff, to delegate the interpretation of requests to a derived class of Staff */ - - - /**************************************************************** - VIRTUALS - ****************************************************************/ - void setup_staffcols(); - virtual void set_output(PScore * destination)=0; - virtual void grant_requests()=0; - - Staff_column * get_col(Mtime,bool); + void OK() const; + void print() const; + Real last() const; + void clean_cols() ; + Staff_column * get_col(Real,bool); void add_commands(PointerListconst & sv); /** @@ -48,12 +45,21 @@ struct Staff { PRE sv is time-ordered. */ + + Staff(); + /** + Should construct with Score as arg, but this isn't known during parsing. + */ + /**************************************************************** + VIRTUALS + ****************************************************************/ + + virtual void set_output(PScore * destination)=0; + virtual void grant_requests()=0; virtual Staff_column * create_col(Score_column * )=0; + virtual ~Staff() { } - void OK() const; - void print() const; - Mtime last() const; - void clean_cols() ; - virtual ~Staff() { } }; #endif + +