]> www.fi.muni.cz Git - evince.git/blobdiff - libdocument/ev-attachment.h
[dualscreen] fix crash on ctrl+w and fix control window closing
[evince.git] / libdocument / ev-attachment.h
index 994b65499c267c9ca3e0f77328ada58317e18a3f..3ed5fd0110b4a657f7fbf55f1e2352e70ac8d24b 100644 (file)
  *
  * 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 <evince-document.h> can be included directly."
+#endif
+
 #ifndef __EV_ATTACHMENT_H__
 #define __EV_ATTACHMENT_H__
 
 #include <glib-object.h>
+#include <gio/gio.h>
 
 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