summaryrefslogtreecommitdiff
path: root/cbz
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2013-06-12 13:46:21 +0200
committerTor Andersson <tor.andersson@artifex.com>2013-06-18 00:06:46 +0200
commit03e5755b93e90cc4c09daad4c79b6016bf4ce43c (patch)
treed2992e30fcddf864ad64bd026884e79d92903977 /cbz
parentb695c87abcdbe0ddc35c5e3a7ee8f5f58ee577f1 (diff)
downloadmupdf-03e5755b93e90cc4c09daad4c79b6016bf4ce43c.tar.xz
Move header files into separate include directory.
Diffstat (limited to 'cbz')
-rw-r--r--cbz/mucbz.c4
-rw-r--r--cbz/mucbz.h51
2 files changed, 2 insertions, 53 deletions
diff --git a/cbz/mucbz.c b/cbz/mucbz.c
index aa3652b3..043b6409 100644
--- a/cbz/mucbz.c
+++ b/cbz/mucbz.c
@@ -1,5 +1,5 @@
-#include "fitz-internal.h"
-#include "mucbz.h"
+#include "mupdf/fitz-internal.h"
+#include "mupdf/cbz.h"
#include <zlib.h>
diff --git a/cbz/mucbz.h b/cbz/mucbz.h
deleted file mode 100644
index 0dd47b6e..00000000
--- a/cbz/mucbz.h
+++ /dev/null
@@ -1,51 +0,0 @@
-#ifndef MUCBZ_H
-#define MUCBZ_H
-
-#include "fitz.h"
-
-typedef struct cbz_document_s cbz_document;
-typedef struct cbz_page_s cbz_page;
-
-/*
- cbz_open_document: Open a document.
-
- Open a document for reading so the library is able to locate
- objects and pages inside the file.
-
- The returned cbz_document should be used when calling most
- other functions. Note that it wraps the context, so those
- functions implicitly get access to the global state in
- context.
-
- filename: a path to a file as it would be given to open(2).
-*/
-cbz_document *cbz_open_document(fz_context *ctx, const char *filename);
-
-/*
- cbz_open_document_with_stream: Opens a document.
-
- Same as cbz_open_document, but takes a stream instead of a
- filename to locate the document to open. Increments the
- reference count of the stream. See fz_open_file,
- fz_open_file_w or fz_open_fd for opening a stream, and
- fz_close for closing an open stream.
-*/
-cbz_document *cbz_open_document_with_stream(fz_context *ctx, fz_stream *file);
-
-/*
- cbz_close_document: Closes and frees an opened document.
-
- The resource store in the context associated with cbz_document
- is emptied.
-
- Does not throw exceptions.
-*/
-void cbz_close_document(cbz_document *doc);
-
-int cbz_count_pages(cbz_document *doc);
-cbz_page *cbz_load_page(cbz_document *doc, int number);
-fz_rect *cbz_bound_page(cbz_document *doc, cbz_page *page, fz_rect *rect);
-void cbz_free_page(cbz_document *doc, cbz_page *page);
-void cbz_run_page(cbz_document *doc, cbz_page *page, fz_device *dev, const fz_matrix *ctm, fz_cookie *cookie);
-
-#endif