]> www.fi.muni.cz Git - evince.git/blobdiff - backend/dvi/mdvi-lib/mdvi.h
dvi: Add image_done method to DviDevice to notify that the image is finished
[evince.git] / backend / dvi / mdvi-lib / mdvi.h
index 327e61fe39572b852e0e4cb4131eed439f4940b0..37664a766b1afa56eeff48cb2dcbc49f58b02daa 100644 (file)
@@ -99,6 +99,7 @@ typedef void *(*DviCreateImage)       __PROTO((void *device_data,
                                         Uint bpp));
 typedef void (*DviFreeImage)   __PROTO((void *image));
 typedef void (*DviPutPixel)    __PROTO((void *image, int x, int y, Ulong color));
+typedef void (*DviImageDone)    __PROTO((void *image));
 typedef void (*DviDevDestroy)   __PROTO((void *data));
 typedef void (*DviRefresh)      __PROTO((DviContext *dvi, void *device_data));
 typedef void (*DviSetColor)    __PROTO((void *device_data, Ulong, Ulong));
@@ -114,6 +115,7 @@ struct _DviDevice {
        DviCreateImage  create_image;
        DviFreeImage    free_image;
        DviPutPixel     put_pixel;
+        DviImageDone    image_done;
        DviDevDestroy   dev_destroy;
        DviRefresh      refresh;
        DviSetColor     set_color;