Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(397)

Unified Diff: lily/completion-rest-engraver.cc

Issue 294650043: Move translator initializations to X::boot () (Closed)
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lily/completion-note-heads-engraver.cc ('k') | lily/concurrent-hairpin-engraver.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lily/completion-rest-engraver.cc
diff --git a/lily/completion-rest-engraver.cc b/lily/completion-rest-engraver.cc
index 8f809fde7021f9cd7cc9a175602ef6cbc1435b61..2f9dc5603065db94f274d18c7cbf87ad34018735 100644
--- a/lily/completion-rest-engraver.cc
+++ b/lily/completion-rest-engraver.cc
@@ -85,7 +85,6 @@ Completion_rest_engraver::initialize ()
is_first_ = false;
}
-IMPLEMENT_TRANSLATOR_LISTENER (Completion_rest_engraver, rest);
void
Completion_rest_engraver::listen_rest (Stream_event *ev)
{
@@ -258,6 +257,12 @@ Completion_rest_engraver::Completion_rest_engraver ()
{
}
+void
+Completion_rest_engraver::boot ()
+{
+ ADD_LISTENER (Completion_rest_engraver, rest);
+}
+
ADD_TRANSLATOR (Completion_rest_engraver,
/* doc */
"This engraver replaces @code{Rest_engraver}. It plays"
« no previous file with comments | « lily/completion-note-heads-engraver.cc ('k') | lily/concurrent-hairpin-engraver.cc » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b