diff options
author | Ian Hulin <ian@hulin.org.uk> | 2010-05-08 19:58:36 -0600 |
---|---|---|
committer | Carl Sorensen <c_sorensen@byu.edu> | 2010-05-08 20:00:27 -0600 |
commit | 8b2c05295e13b8000833627a5d5e3dcaaa8e5a7b (patch) | |
tree | f7fdebe590cb5ee152dca97a674ae5d966ad9eef /flower | |
parent | 1bbf0592eb6997cdd642a3a045039bb133615e26 (diff) |
Have LilyPond issue a success/failure termination message
Diffstat (limited to 'flower')
-rw-r--r-- | flower/include/warn.hh | 1 | ||||
-rw-r--r-- | flower/warn.cc | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/flower/include/warn.hh b/flower/include/warn.hh index 170fbca827..10c800c443 100644 --- a/flower/include/warn.hh +++ b/flower/include/warn.hh @@ -28,5 +28,6 @@ void non_fatal_error (string); void programming_error (string s); void progress_indication (string s); void warning (string s); +void successful (string s); #endif /* WARN_HH */ diff --git a/flower/warn.cc b/flower/warn.cc index 0bf8983c7a..37751f7bde 100644 --- a/flower/warn.cc +++ b/flower/warn.cc @@ -52,6 +52,13 @@ message (string s) progress_indication (s); } +/* Display a success message. Always starts on a new line. */ +void +successful (string s) +{ + message (_f ("success: %s", s.c_str ()) + "\n"); +} + /* Display a warning message. Always starts on a new line. */ void warning (string s) |