X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Foutput-def.hh;h=c7c4248ea4bb3a1a9ac4969ef46a8cead4495687;hb=89b76c367754570218e76a116127225f89f41212;hp=2b0a0aadbc8b5a34287a13cfb9a2a3fd0dc58d8c;hpb=5d1ddaf889233f8e5c32a118f9e843e1becca2d2;p=lilypond.git diff --git a/lily/include/output-def.hh b/lily/include/output-def.hh index 2b0a0aadbc..c7c4248ea4 100644 --- a/lily/include/output-def.hh +++ b/lily/include/output-def.hh @@ -3,13 +3,12 @@ source file of the GNU LilyPond music typesetter - (c) 1997--2005 Han-Wen Nienhuys + (c) 1997--2008 Han-Wen Nienhuys */ #ifndef MUSIC_OUTPUT_DEF_HH #define MUSIC_OUTPUT_DEF_HH -#include "string.hh" #include "lily-proto.hh" #include "virtual-methods.hh" #include "smobs.hh" @@ -38,22 +37,25 @@ */ class Output_def { + public: VIRTUAL_COPY_CONSTRUCTOR (Output_def, Output_def); - DECLARE_SMOBS (Output_def, ); + DECLARE_SMOBS (Output_def); + public: SCM scope_; - Output_def * parent_; + Output_def *parent_; + Input input_origin_; - String user_key_; + string user_key_; Output_def (Output_def const&); Output_def (); - + /* variables. */ - SCM c_variable (String id) const; + SCM c_variable (string id) const; SCM lookup_variable (SCM sym) const; void set_variable (SCM sym, SCM val); Real get_dimension (SCM symbol) const; @@ -62,9 +64,6 @@ SCM get_font_table (Output_def *def); void assign_context_def (Output_def *m, SCM transdef); SCM find_context_def (Output_def const *m, SCM name); -int get_tempo (Output_def*def, Moment moment); -void set_tempo (Output_def*def, Moment moment, int count_per_minute_i); - Interval line_dimensions_int (Output_def*def, int);