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

« back to all changes in this revision

Viewing changes to app/plug-in/plug-ins.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-ins.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_INS_H__
22
 
#define __PLUG_INS_H__
23
 
 
24
 
 
25
 
void              plug_ins_init                 (Gimp               *gimp,
26
 
                                                 GimpContext        *context,
27
 
                                                 GimpInitStatusFunc  status_callback);
28
 
void              plug_ins_exit                 (Gimp          *gimp);
29
 
 
30
 
/* Register an internal plug-in.  This is for file load-save
31
 
 * handlers, which are organized around the plug-in data structure.
32
 
 * This could all be done a little better, but oh well.  -josh
33
 
 */
34
 
void              plug_ins_add_internal         (Gimp          *gimp,
35
 
                                                 PlugInProcDef *proc_def);
36
 
 
37
 
/* Add in the file load/save handler fields procedure. */
38
 
PlugInProcDef   * plug_ins_file_register_magic  (Gimp          *gimp,
39
 
                                                 const gchar   *name,
40
 
                                                 const gchar   *extensions,
41
 
                                                 const gchar   *prefixes,
42
 
                                                 const gchar   *magics);
43
 
 
44
 
PlugInProcDef   * plug_ins_file_register_mime   (Gimp          *gimp,
45
 
                                                 const gchar   *name,
46
 
                                                 const gchar   *mime_type);
47
 
 
48
 
PlugInProcDef   * plug_ins_file_register_thumb_loader
49
 
                                                (Gimp          *gimp,
50
 
                                                 const gchar   *load_proc,
51
 
                                                 const gchar   *thumb_proc);
52
 
 
53
 
 
54
 
/* Add a plug-in definition. */
55
 
void              plug_ins_def_add_from_rc      (Gimp          *gimp,
56
 
                                                 PlugInDef     *plug_in_def);
57
 
 
58
 
/* Add/Remove temporary procedures. */
59
 
void              plug_ins_temp_proc_def_add    (Gimp          *gimp,
60
 
                                                 PlugInProcDef *proc_def);
61
 
void              plug_ins_temp_proc_def_remove (Gimp          *gimp,
62
 
                                                 PlugInProcDef *proc_def);
63
 
 
64
 
/* Retrieve a plug-ins locale domain */
65
 
const gchar     * plug_ins_locale_domain        (Gimp          *gimp,
66
 
                                                 const gchar   *prog_name,
67
 
                                                 const gchar  **locale_path);
68
 
 
69
 
/* Retrieve a plug-ins help domain */
70
 
const gchar     * plug_ins_help_domain          (Gimp          *gimp,
71
 
                                                 const gchar   *prog_name,
72
 
                                                 const gchar  **help_uri);
73
 
 
74
 
/* Retrieve all help domains */
75
 
gint              plug_ins_help_domains         (Gimp          *gimp,
76
 
                                                 gchar       ***help_domains,
77
 
                                                 gchar       ***help_uris);
78
 
 
79
 
/* Retreive a plug-ins proc_def from its ProcRecord */
80
 
PlugInProcDef   * plug_ins_proc_def_find        (Gimp          *gimp,
81
 
                                                 ProcRecord    *proc_rec);
82
 
 
83
 
 
84
 
GSList          * plug_ins_extensions_parse     (gchar         *extensions);
85
 
PlugInImageType   plug_ins_image_types_parse    (gchar         *image_types);
86
 
 
87
 
 
88
 
#endif /* __PLUG_INS_H__ */