summaryrefslogtreecommitdiff
path: root/libdocument/ev-document.h
diff options
context:
space:
mode:
authorrootavish <[email protected]>2014-06-23 23:42:11 +0530
committerrootavish <[email protected]>2014-06-23 23:42:11 +0530
commit5028995e3725c264b2487a1101c22e941b04c8fd (patch)
treefb8cbf4100bfe3d28e1e128fd82e3c4492c0c55a /libdocument/ev-document.h
parente817bd447789cd670fb00b6507debfe84f8cf64f (diff)
downloadatril-5028995e3725c264b2487a1101c22e941b04c8fd.tar.bz2
atril-5028995e3725c264b2487a1101c22e941b04c8fd.tar.xz
Functions for document info and EvPage,other changes
Summary: I added functions in the backend to get document info. Added a member to evdocument to deal with web documents(ePub) on the frontend. Added a webview to the window, that shall replace the Atril view. Due to removing the view from the main Atril window, I have given rise to various GTK-critical errors in response to signals, will be sure to suppress these in the next commit. Worked towards overall blending in of ePub documents.
Diffstat (limited to 'libdocument/ev-document.h')
-rw-r--r--libdocument/ev-document.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libdocument/ev-document.h b/libdocument/ev-document.h
index d10d261a..940c7c80 100644
--- a/libdocument/ev-document.h
+++ b/libdocument/ev-document.h
@@ -85,6 +85,11 @@ struct _EvDocument
GObject base;
EvDocumentPrivate *priv;
+ /*
+ * Since we can only access the members of this structure from the window frontend,
+ * we need a flag to detemine whether to replace the atril-view with a web-view.
+ */
+ gboolean iswebdocument;
};
struct _EvDocumentClass