class DjVuInterface

Decoder progress notifier.

Public Methods

[more]virtual void notify_chunk(const char *chkid, const char *msg)
This function is called after decoding each chunk.
[more]virtual void notify_relayout(void)
This function is called after decoding the INFO chunk.
[more]virtual void notify_redisplay(void)
This function is called whenever the image should be redrawn.


Documentation

Decoder progress notifier. The DjVu decoder keeps a pointer to an instance of this abstract class. The virtual functions defined by this class are called during the decoding process. This callback system provides a way to monitor the decoding thread and implement a progressive display program.
ovirtual void notify_chunk(const char *chkid, const char *msg)
This function is called after decoding each chunk. Argument chkid contains the chunk id. Argument msg contains a message describing the chunk data.

ovirtual void notify_relayout(void)
This function is called after decoding the INFO chunk. It indicates that the size of the image is now known.

ovirtual void notify_redisplay(void)
This function is called whenever the image should be redrawn. It indicates that enough new data has been received and that the image can be redisplayed with increased quality.


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java