X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=sidebyside;f=libdocument%2Fev-attachment.h;h=ccc41ba2e0689020f26d750ef190f6d558ecf315;hb=f9c2880d31bb2f5d4411849b9207c5d26a5c616a;hp=994b65499c267c9ca3e0f77328ada58317e18a3f;hpb=13a06349251874bd35d2f03c3fc93217cee749a2;p=evince.git diff --git a/libdocument/ev-attachment.h b/libdocument/ev-attachment.h index 994b6549..ccc41ba2 100644 --- a/libdocument/ev-attachment.h +++ b/libdocument/ev-attachment.h @@ -17,10 +17,15 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. */ +#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION) +#error "Only can be included directly." +#endif + #ifndef __EV_ATTACHMENT_H__ #define __EV_ATTACHMENT_H__ #include +#include G_BEGIN_DECLS @@ -62,9 +67,11 @@ GTime ev_attachment_get_modification_date (EvAttachment *attachment); GTime ev_attachment_get_creation_date (EvAttachment *attachment); const gchar *ev_attachment_get_mime_type (EvAttachment *attachment); gboolean ev_attachment_save (EvAttachment *attachment, - const gchar *uri, + GFile *file, GError **error); gboolean ev_attachment_open (EvAttachment *attachment, + GdkScreen *screen, + guint32 timestamp, GError **error); G_END_DECLS