summaryrefslogtreecommitdiff
path: root/backend/epub/epub-document.h
diff options
context:
space:
mode:
Diffstat (limited to 'backend/epub/epub-document.h')
-rw-r--r--backend/epub/epub-document.h33
1 files changed, 14 insertions, 19 deletions
diff --git a/backend/epub/epub-document.h b/backend/epub/epub-document.h
index 157ced04..4b57e178 100644
--- a/backend/epub/epub-document.h
+++ b/backend/epub/epub-document.h
@@ -1,25 +1,20 @@
-#include <gtk/gtk.h>
-#include <glib.h>
-#include <libxml/parser.h>
-#include <libxml/xmlmemory.h>
+#ifndef __EPUB_DOCUMENT_H__
+#define __EPUB_DOCUMENT_H__
-typedef enum
-{
- xmlattribute,
- xmlkeyword
-}XMLparsereturntype;
+#include "ev-document.h"
-gboolean openXmlDocument ( const gchar* filename );
+G_BEGIN_DECLS
-gboolean checkRoot (xmlChar* rootname);
+#define EPUB_TYPE_DOCUMENT (EPUB_document_get_type ())
+#define EPUB_DOCUMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EPUB_TYPE_DOCUMENT, ePubDocument))
+#define EPUB_IS_DOCUMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EPUB_TYPE_DOCUMENT))
-void parseChildren (xmlNodePtr parent,
- xmlChar* parserfor,
- XMLparsereturntype rettype,
- xmlChar* attributename );
+typedef struct _ePubDocument ePubDocument;
-xmlChar* parseXMLchildren (xmlChar* parserfor,
- XMLparsereturntype rettype,
- xmlChar* attributename );
+GType ePub_document_get_type (void) G_GNUC_CONST;
-void xmlFreeAll(); \ No newline at end of file
+G_MODULE_EXPORT GType register_atril_backend (GTypeModule *module);
+
+G_END_DECLS
+
+#endif /* __EPUB_DOCUMENT_H__ */