X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Ftype-swallow-translator.hh;h=ec53a7019f1cebd529a4a979bfd2dcd76e36f94a;hb=79d510aebf1d131d3023a2a8639b98236cefb8f2;hp=4179e7cc34210cef8223265a8284afbecf61f1a1;hpb=94375d04f45b415ad705fd444fdb344416f116d9;p=lilypond.git diff --git a/lily/include/type-swallow-translator.hh b/lily/include/type-swallow-translator.hh index 4179e7cc34..ec53a7019f 100644 --- a/lily/include/type-swallow-translator.hh +++ b/lily/include/type-swallow-translator.hh @@ -3,7 +3,7 @@ source file of the GNU LilyPond music typesetter - (c) 1997--2001 Han-Wen Nienhuys + (c) 1997--2004 Han-Wen Nienhuys */ @@ -12,28 +12,29 @@ #include "translator.hh" -/** eat a certain type of request. +/** eat a certain type of event (Duh, it's good for your skin) */ class Type_swallow_translator : public virtual Translator { protected: - String swallow_str_; + String swallow_string_; bool try_music (Music*); public: VIRTUAL_COPY_CONS (Translator); }; -#define DECLARE_REQUEST_SWALLOWER(TYPE) \ +#define DECLARE_EVENT_SWALLOWER(TYPE) \ struct TYPE ## _swallow_translator : public Type_swallow_translator { \ TRANSLATOR_DECLARATIONS (TYPE ## _swallow_translator); \ }; \ TYPE ## _swallow_translator :: TYPE ## _swallow_translator() {\ - swallow_str_ = #TYPE; \ + swallow_string_ = #TYPE; \ } \ ENTER_DESCRIPTION(TYPE ## _swallow_translator, \ - "Swallow requests of " #TYPE " type.", \ + "Swallow events of " #TYPE " type.", \ "", \ + "general-music",\ "", \ "", \ "");