diff options
Diffstat (limited to 'decoder/decoder.h')
-rw-r--r-- | decoder/decoder.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/decoder/decoder.h b/decoder/decoder.h index 5dd6e1aa..2a1a43ce 100644 --- a/decoder/decoder.h +++ b/decoder/decoder.h @@ -12,6 +12,8 @@ struct Hypergraph; struct DecoderImpl; struct DecoderObserver { + virtual ~DecoderObserver(); + virtual void NotifyDecodingStart(const SentenceMetadata& smeta); virtual void NotifySourceParseFailure(const SentenceMetadata& smeta); virtual void NotifyTranslationForest(const SentenceMetadata& smeta, Hypergraph* hg); virtual void NotifyAlignmentFailure(const SentenceMetadata& semta); |