1
/* The GIMP -- an image manipulation program
2
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
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.
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.
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.
21
#ifndef __PLUG_IN_PROC_DEF_H__
22
#define __PLUG_IN_PROC_DEF_H__
24
#include <time.h> /* time_t */
26
#include <gdk-pixbuf/gdk-pixbuf.h>
28
#include "pdb/procedural_db.h" /* ProcRecord */
37
GimpIconType icon_type;
38
gint icon_data_length;
41
PlugInImageType image_types_val;
43
gboolean installed_during_init;
46
/* file proc specific members */
51
GSList *extensions_list;
52
GSList *prefixes_list;
58
PlugInProcDef * plug_in_proc_def_new (void);
59
void plug_in_proc_def_free (PlugInProcDef *proc_def);
61
const ProcRecord * plug_in_proc_def_get_proc (const PlugInProcDef *proc_def);
62
const gchar * plug_in_proc_def_get_progname (const PlugInProcDef *proc_def);
63
gchar * plug_in_proc_def_get_label (const PlugInProcDef *proc_def,
64
const gchar *locale_domain);
65
const gchar * plug_in_proc_def_get_stock_id (const PlugInProcDef *proc_def);
66
GdkPixbuf * plug_in_proc_def_get_pixbuf (const PlugInProcDef *proc_def);
67
gchar * plug_in_proc_def_get_help_id (const PlugInProcDef *proc_def,
68
const gchar *help_domain);
69
gboolean plug_in_proc_def_get_sensitive (const PlugInProcDef *proc_def,
70
GimpImageType image_type);
73
#endif /* __PLUG_IN_PROC_DEF_H__ */