diff options
author | Stefano Karapetsas <[email protected]> | 2014-09-21 17:11:13 +0200 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2014-09-21 17:11:13 +0200 |
commit | 5ac452a8a78841bf88dee6e7b0a9ea421299f669 (patch) | |
tree | 9989800bd8b0496fce4687673f8410b63b02a69f /libview/ev-jobs.h | |
parent | 1bdae54253b68f2042f1d7f43ac0f36654c9b432 (diff) | |
parent | 67bb00b6c5105dc840b968db513a1e26bac7b2e0 (diff) | |
download | atril-5ac452a8a78841bf88dee6e7b0a9ea421299f669.tar.bz2 atril-5ac452a8a78841bf88dee6e7b0a9ea421299f669.tar.xz |
Merge pull request #84 from rootAvish/epub
Epub support in Atril
Diffstat (limited to 'libview/ev-jobs.h')
-rw-r--r-- | libview/ev-jobs.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/libview/ev-jobs.h b/libview/ev-jobs.h index e6ae4552..fdc23bae 100644 --- a/libview/ev-jobs.h +++ b/libview/ev-jobs.h @@ -45,6 +45,9 @@ typedef struct _EvJobPageDataClass EvJobPageDataClass; typedef struct _EvJobThumbnail EvJobThumbnail; typedef struct _EvJobThumbnailClass EvJobThumbnailClass; +typedef struct _EvJobWebThumbnail EvJobWebThumbnail; +typedef struct _EvJobWebThumbnailClass EvJobWebThumbnailClass; + typedef struct _EvJobLinks EvJobLinks; typedef struct _EvJobLinksClass EvJobLinksClass; @@ -111,6 +114,11 @@ typedef struct _EvJobPrintClass EvJobPrintClass; #define EV_JOB_THUMBNAIL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), EV_TYPE_JOB_THUMBNAIL, EvJobThumbnailClass)) #define EV_IS_JOB_THUMBNAIL(object) (G_TYPE_CHECK_INSTANCE_TYPE((object), EV_TYPE_JOB_THUMBNAIL)) +#define EV_TYPE_JOB_WEB_THUMBNAIL (ev_job_web_thumbnail_get_type()) +#define EV_JOB_WEB_THUMBNAIL(object) (G_TYPE_CHECK_INSTANCE_CAST((object), EV_TYPE_JOB_WEB_THUMBNAIL, EvJobWebThumbnail)) +#define EV_JOB_WEB_THUMBNAIL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), EV_TYPE_JOB_WEB_THUMBNAIL, EvJobWebThumbnailClass)) +#define EV_IS_JOB_WEB_THUMBNAIL(object) (G_TYPE_CHECK_INSTANCE_TYPE((object), EV_TYPE_JOB_WEB_THUMBNAIL)) + #define EV_TYPE_JOB_FONTS (ev_job_fonts_get_type()) #define EV_JOB_FONTS(object) (G_TYPE_CHECK_INSTANCE_CAST((object), EV_TYPE_JOB_FONTS, EvJobFonts)) #define EV_JOB_FONTS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), EV_TYPE_JOB_FONTS, EvJobFontsClass)) @@ -281,11 +289,10 @@ struct _EvJobPageDataClass struct _EvJobThumbnail { EvJob parent; - gint page; gint rotation; gdouble scale; - + cairo_surface_t *surface; GdkPixbuf *thumbnail; }; @@ -343,6 +350,7 @@ struct _EvJobFind gint current_page; gint n_pages; GList **pages; + guint *results; gchar *text; gboolean case_sensitive; gboolean has_results; @@ -450,6 +458,7 @@ EvJob *ev_job_thumbnail_new (EvDocument *document, gint page, gint rotation, gdouble scale); + /* EvJobFonts */ GType ev_job_fonts_get_type (void) G_GNUC_CONST; EvJob *ev_job_fonts_new (EvDocument *document); |