diff options
author | Robin Watts <robin.watts@artifex.com> | 2014-01-03 16:50:41 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2014-01-07 10:25:42 +0000 |
commit | 7f009acebb75ff88c1ee934b03fa2d15f7785b32 (patch) | |
tree | 7be547523d730d104c62e4b5d43685dd8bb5bd40 /platform/win32 | |
parent | 016adfa063293281a0896c62bf22e406b09ddf21 (diff) | |
download | mupdf-7f009acebb75ff88c1ee934b03fa2d15f7785b32.tar.xz |
Introduce 'document handlers'.
We define a document handler for each file type (2 in the case of PDF, one
to handle files with the ability to 'run' them, and one without).
We then register these handlers with the context at startup, and then
call fz_open_document... as usual. This enables people to select the
document types they want at will (and even to extend the library with more
document types should they wish).
Diffstat (limited to 'platform/win32')
-rw-r--r-- | platform/win32/libmupdf.vcproj | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/platform/win32/libmupdf.vcproj b/platform/win32/libmupdf.vcproj index 74f6df79..e8dc6fc6 100644 --- a/platform/win32/libmupdf.vcproj +++ b/platform/win32/libmupdf.vcproj @@ -434,6 +434,10 @@ > </File> <File + RelativePath="..\..\source\fitz\document-all.c" + > + </File> + <File RelativePath="..\..\source\fitz\document.c" > </File> @@ -989,6 +993,10 @@ > </File> <File + RelativePath="..\..\source\fitz\document-no-run.c" + > + </File> + <File RelativePath="..\..\include\mupdf\fitz\document.h" > </File> |