~ubuntu-branches/ubuntu/jaunty/gimp/jaunty-security

« back to all changes in this revision

Viewing changes to app/core/gimpdata.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2007-05-02 16:33:03 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070502163303-bvzhjzbpw8qglc4y
Tags: 2.3.16-1ubuntu1
* Resynchronized with Debian, remaining Ubuntu changes:
  - debian/rules: i18n magic.
* debian/control.in:
  - Maintainer: Ubuntu Core Developers <ubuntu-devel@lists.ubuntu.com>
* debian/patches/02_help-message.patch,
  debian/patches/03_gimp.desktop.in.in.patch,
  debian/patches/10_dont_show_wizard.patch: updated.
* debian/patches/04_composite-signedness.patch,
  debian/patches/05_add-letter-spacing.patch: dropped, used upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* The GIMP -- an image manipulation program
 
1
/* GIMP - The GNU Image Manipulation Program
2
2
 * Copyright (C) 1995 Spencer Kimball and Peter Mattis
3
3
 *
4
4
 * gimpdata.h
22
22
#ifndef __GIMP_DATA_H__
23
23
#define __GIMP_DATA_H__
24
24
 
 
25
#include <time.h>      /* time_t */
25
26
 
26
27
#include "gimpviewable.h"
27
28
 
50
51
  GimpViewable  parent_instance;
51
52
 
52
53
  gchar        *filename;
 
54
  GQuark        mime_type;
53
55
  guint         writable  : 1;
54
56
  guint         deletable : 1;
55
57
  guint         dirty     : 1;
56
58
  guint         internal  : 1;
57
59
  gint          freeze_count;
 
60
  time_t        mtime;
58
61
};
59
62
 
60
63
struct _GimpDataClass
68
71
  gboolean   (* save)          (GimpData  *data,
69
72
                                GError   **error);
70
73
  gchar    * (* get_extension) (GimpData  *data);
71
 
  GimpData * (* duplicate)     (GimpData  *data,
72
 
                                gboolean   stingy_memory_use);
 
74
  GimpData * (* duplicate)     (GimpData  *data);
73
75
};
74
76
 
75
77
 
92
94
                                          gboolean      writable,
93
95
                                          gboolean      deletable);
94
96
void          gimp_data_create_filename  (GimpData     *data,
95
 
                                          const gchar  *dest_dir);
96
 
 
97
 
GimpData    * gimp_data_duplicate        (GimpData     *data,
98
 
                                          gboolean      stingy_memory_use);
 
97
                                          const gchar  *dest_dir);
 
98
 
 
99
const gchar * gimp_data_get_mime_type    (GimpData     *data);
 
100
 
 
101
GimpData    * gimp_data_duplicate        (GimpData     *data);
99
102
 
100
103
void          gimp_data_make_internal    (GimpData     *data);
101
104