X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=inline;f=backend%2Fev-document.h;h=044014f370cb8798782d9cd7fca4bea3b7ca7a6f;hb=a50ca0528a09e8e001c4600371048774e4029057;hp=1fd8fe3221eda755b300d6592c32a4aaa12f8df5;hpb=79986dda7231d1ef1c530909bde8e18a507a2a2a;p=evince.git diff --git a/backend/ev-document.h b/backend/ev-document.h index 1fd8fe32..044014f3 100644 --- a/backend/ev-document.h +++ b/backend/ev-document.h @@ -57,7 +57,6 @@ typedef enum typedef enum { - EV_ORIENTATION_DOCUMENT, EV_ORIENTATION_PORTRAIT, EV_ORIENTATION_LANDSCAPE, EV_ORIENTATION_UPSIDEDOWN, @@ -98,6 +97,7 @@ struct _EvDocumentIface GdkPixbuf * (* render_pixbuf) (EvDocument *document, int page, double scale); + EvOrientation (* get_orientation) (EvDocument *document); void (* set_orientation) (EvDocument *document, EvOrientation orientation); EvDocumentInfo * (* get_info) (EvDocument *document); @@ -132,6 +132,7 @@ GList *ev_document_get_links (EvDocument *document, GdkPixbuf *ev_document_render_pixbuf (EvDocument *document, int page, double scale); +EvOrientation ev_document_get_orientation (EvDocument *document); void ev_document_set_orientation (EvDocument *document, EvOrientation orientation);