diff options
author | Perberos <[email protected]> | 2011-11-06 19:30:49 -0300 |
---|---|---|
committer | Perberos <[email protected]> | 2011-11-06 19:30:49 -0300 |
commit | a8d28a6ce7e0c56dacba5d527d9134573a008902 (patch) | |
tree | 8852602004b5a13cc5d1ce3ecd7a314be81d1198 /src/eom-image-private.h | |
download | eom-a8d28a6ce7e0c56dacba5d527d9134573a008902.tar.bz2 eom-a8d28a6ce7e0c56dacba5d527d9134573a008902.tar.xz |
inicial
Diffstat (limited to 'src/eom-image-private.h')
-rw-r--r-- | src/eom-image-private.h | 96 |
1 files changed, 96 insertions, 0 deletions
diff --git a/src/eom-image-private.h b/src/eom-image-private.h new file mode 100644 index 0000000..794d4ad --- /dev/null +++ b/src/eom-image-private.h @@ -0,0 +1,96 @@ +/* Eye Of Mate - Image Private Data + * + * Copyright (C) 2007 The Free Software Foundation + * + * Author: Lucas Rocha <[email protected]> + * + * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ + +#ifndef __EOM_IMAGE_PRIVATE_H__ +#define __EOM_IMAGE_PRIVATE_H__ + +#include "eom-image.h" +#ifdef HAVE_RSVG +#include <librsvg/rsvg.h> +#endif + +G_BEGIN_DECLS + +struct _EomImagePrivate { + GFile *file; + + EomImageStatus status; + EomImageStatus prev_status; + gboolean is_monitored; + EomImageMetadataStatus metadata_status; + + GdkPixbuf *image; + GdkPixbufAnimation *anim; + GdkPixbufAnimationIter *anim_iter; + gboolean is_playing; + GdkPixbuf *thumbnail; +#ifdef HAVE_RSVG + RsvgHandle *svg; +#endif + + gint width; + gint height; + + goffset bytes; + gchar *file_type; + gboolean threadsafe_format; + + /* Holds EXIF raw data */ + guint exif_chunk_len; + guchar *exif_chunk; + + /* Holds IPTC raw data */ + guchar *iptc_chunk; + guint iptc_chunk_len; + + gboolean modified; + +#ifdef HAVE_EXIF + gboolean autorotate; + gint orientation; + 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; + + EomTransform *trans; + EomTransform *trans_autorotate; +}; + +G_END_DECLS + +#endif /* __EOM_IMAGE_PRIVATE_H__ */ |