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=3ed5fd0110b4a657f7fbf55f1e2352e70ac8d24b;hb=b03015826c22cb2c28a0d0507963c23b9c9ddcb3;hp=994b65499c267c9ca3e0f77328ada58317e18a3f;hpb=13a06349251874bd35d2f03c3fc93217cee749a2;p=evince.git diff --git a/libdocument/ev-attachment.h b/libdocument/ev-attachment.h index 994b6549..3ed5fd01 100644 --- a/libdocument/ev-attachment.h +++ b/libdocument/ev-attachment.h @@ -14,13 +14,18 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 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