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

« back to all changes in this revision

Viewing changes to app/plug-in/plug-in-def.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
2
 
 * Copyright (C) 1995 Spencer Kimball and Peter Mattis
3
 
 *
4
 
 * plug-in-def.h
5
 
 *
6
 
 * This program is free software; you can redistribute it and/or modify
7
 
 * it under the terms of the GNU General Public License as published by
8
 
 * the Free Software Foundation; either version 2 of the License, or
9
 
 * (at your option) any later version.
10
 
 *
11
 
 * This program is distributed in the hope that it will be useful,
12
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 
 * GNU General Public License for more details.
15
 
 *
16
 
 * You should have received a copy of the GNU General Public License
17
 
 * along with this program; if not, write to the Free Software
18
 
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19
 
 */
20
 
 
21
 
#ifndef __PLUG_IN_DEF_H__
22
 
#define __PLUG_IN_DEF_H__
23
 
 
24
 
#include <time.h>
25
 
 
26
 
struct _PlugInDef
27
 
{
28
 
  gchar    *prog;
29
 
  GSList   *proc_defs;
30
 
  gchar    *locale_domain_name;
31
 
  gchar    *locale_domain_path;
32
 
  gchar    *help_domain_name;
33
 
  gchar    *help_domain_uri;
34
 
  time_t    mtime;
35
 
  gboolean  needs_query;  /* Does the plug-in need to be queried ?     */
36
 
  gboolean  has_init;     /* Does the plug-in need to be initialized ? */
37
 
};
38
 
 
39
 
 
40
 
PlugInDef * plug_in_def_new                    (const gchar   *prog);
41
 
void        plug_in_def_free                   (PlugInDef     *plug_in_def,
42
 
                                                gboolean       free_proc_defs);
43
 
 
44
 
void        plug_in_def_add_proc_def           (PlugInDef     *plug_in_def,
45
 
                                                PlugInProcDef *proc_def);
46
 
 
47
 
void        plug_in_def_set_locale_domain_name (PlugInDef     *plug_in_def,
48
 
                                                const gchar   *domain_name);
49
 
void        plug_in_def_set_locale_domain_path (PlugInDef     *plug_in_def,
50
 
                                                const gchar   *domain_path);
51
 
 
52
 
void        plug_in_def_set_help_domain_name   (PlugInDef     *plug_in_def,
53
 
                                                const gchar   *domain_name);
54
 
void        plug_in_def_set_help_domain_uri    (PlugInDef     *plug_in_def,
55
 
                                                const gchar   *domain_uri);
56
 
 
57
 
void        plug_in_def_set_mtime              (PlugInDef     *plug_in_def,
58
 
                                                time_t         mtime);
59
 
void        plug_in_def_set_needs_query        (PlugInDef     *plug_in_def,
60
 
                                                gboolean       needs_query);
61
 
void        plug_in_def_set_has_init           (PlugInDef     *plug_in_def,
62
 
                                                gboolean       has_init);
63
 
 
64
 
 
65
 
#endif /* __PLUG_IN_DEF_H__ */