X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=backend%2Fdvi%2Fmdvi-lib%2Fmdvi.h;h=37664a766b1afa56eeff48cb2dcbc49f58b02daa;hb=74ba36be76a1d0e01cf5f7458dc1637f15c6f9c1;hp=78244a4cddf2ab81123ad30c40775bc408803ab5;hpb=d24b16f917ca749e9ffebbec8eca0ee791e1b67a;p=evince.git diff --git a/backend/dvi/mdvi-lib/mdvi.h b/backend/dvi/mdvi-lib/mdvi.h index 78244a4c..37664a76 100644 --- a/backend/dvi/mdvi-lib/mdvi.h +++ b/backend/dvi/mdvi-lib/mdvi.h @@ -13,7 +13,7 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _MDVI_DVI_H #define _MDVI_DVI_H 1 @@ -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; @@ -490,7 +492,7 @@ extern void flush_font_metrics __PROTO((void)); extern void mdvi_sort_pages __PROTO((DviContext *, DviPageSort)); -extern void mdvi_init_kpathsea __PROTO((const char *, const char *, const char *, int)); +extern void mdvi_init_kpathsea __PROTO((const char *, const char *, const char *, int, const char *)); extern DviContext* mdvi_init_context __PROTO((DviParams *, DviPageSpec *, const char *)); extern void mdvi_destroy_context __PROTO((DviContext *));