/* Eye Of Gnome - Image Private Data * * Copyright (C) 2007 The Free Software Foundation * * Author: Lucas Rocha * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * 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., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #pragma once #include "eog-image.h" #ifdef HAVE_RSVG #include #endif #ifdef HAVE_EXEMPI #include #endif G_BEGIN_DECLS struct _EogImagePrivate { GFile *file; EogImageStatus status; EogImageStatus prev_status; EogImageMetadataStatus metadata_status; gboolean is_playing; GdkPixbufAnimation *anim; GdkPixbufAnimationIter *anim_iter; GdkPixbuf *image; GdkPixbuf *thumbnail; #ifdef HAVE_RSVG RsvgHandle *svg; #endif gint width; gint height; goffset bytes; gchar *file_type; /* Holds EXIF raw data */ guchar *exif_chunk; guint exif_chunk_len; gboolean modified; gboolean file_is_changed; gboolean autorotate; gint orientation; guint anim_source; #ifdef HAVE_EXIF ExifData *exif; #endif #ifdef HAVE_EXEMPI XmpPtr xmp; #endif #ifdef HAVE_LCMS cmsHPROFILE profile; #endif gchar *caption; gchar *collate_key; GMutex status_mutex; gboolean cancel_loading; guint data_ref_count; GSList *undo_stack; EogTransform *trans; EogTransform *trans_autorotate; }; G_END_DECLS