X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Finterpretation-context-handle.hh;h=2a1a3641282f8e7787b52413210391d228a190c4;hb=7c62e4c7902481a8b6f1cea755fc30228f2c64c7;hp=fc15f7a19db3efc765d05490e7f1db62928a7c34;hpb=9b34d4afef6dd3f50c8f9cec1e613eb44f8c7913;p=lilypond.git diff --git a/lily/include/interpretation-context-handle.hh b/lily/include/interpretation-context-handle.hh index fc15f7a19d..2a1a364128 100644 --- a/lily/include/interpretation-context-handle.hh +++ b/lily/include/interpretation-context-handle.hh @@ -3,7 +3,7 @@ source file of the GNU LilyPond music typesetter - (c) 1999--2000 Han-Wen Nienhuys + (c) 1999--2004 Han-Wen Nienhuys */ @@ -11,20 +11,28 @@ #define INTERPRETATION_CONTEXT_HANDLE_HH #include "lily-proto.hh" +/* +RENAME ME to Context_handle. +*/ + class Interpretation_context_handle { - Translator_group * report_to_l_; -public: - void down (); - void up (Translator_group*); public: ~Interpretation_context_handle (); Interpretation_context_handle (); - void set_translator (Translator_group*); + + void set_context (Context *); bool try_music (Music *); - void operator =(Interpretation_context_handle const&); + void operator = (Interpretation_context_handle const&); Interpretation_context_handle (Interpretation_context_handle const&); - Translator_group * report_to_l () const; + Context * get_outlet () const; + + int get_count () const; + void quit (); +private: + Context * outlet_; + void down (); + void up (Context *); }; #endif /* INTERPRETATION_CONTEXT_HANDLE_HH */