1
/* GIMP - The GNU Image Manipulation Program
2
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
4
* gimppluginmanager-call.h
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 __GIMP_PLUG_IN_MANAGER_CALL_H__
22
#define __GIMP_PLUG_IN_MANAGER_CALL_H__
24
#ifndef __YES_I_NEED_GIMP_PLUG_IN_MANAGER_CALL__
25
#error Do not use gimp_plug_in_manager_call_run*(), use gimp_procedure_execute*() instead.
29
/* Call the plug-in's query() function
31
void gimp_plug_in_manager_call_query (GimpPlugInManager *manager,
33
GimpPlugInDef *plug_in_def);
35
/* Call the plug-in's init() function
37
void gimp_plug_in_manager_call_init (GimpPlugInManager *manager,
39
GimpPlugInDef *plug_in_def);
41
/* Run a plug-in as if it were a procedure database procedure
43
GValueArray * gimp_plug_in_manager_call_run (GimpPlugInManager *manager,
45
GimpProgress *progress,
46
GimpPlugInProcedure *procedure,
49
gboolean destroy_return_vals,
52
/* Run a temp plug-in proc as if it were a procedure database procedure
54
GValueArray * gimp_plug_in_manager_call_run_temp (GimpPlugInManager *manager,
56
GimpProgress *progress,
57
GimpTemporaryProcedure *procedure,
61
#endif /* __GIMP_PLUG_IN_MANAGER_CALL_H__ */