1
/* GIMP - The GNU Image Manipulation Program
2
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
4
* gimppluginprocframe.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_PROC_FRAME_H__
22
#define __GIMP_PLUG_IN_PRON_FRAME_H__
25
struct _GimpPlugInProcFrame
29
GimpContext *main_context;
32
GimpProcedure *procedure;
35
GValueArray *return_vals;
37
GimpProgress *progress;
38
gboolean progress_created;
39
gulong progress_cancel_id;
41
/* lists of things to clean up on dispose */
46
GimpPlugInProcFrame * gimp_plug_in_proc_frame_new (GimpContext *context,
47
GimpProgress *progress,
48
GimpPlugInProcedure *procedure);
49
void gimp_plug_in_proc_frame_init (GimpPlugInProcFrame *proc_frame,
51
GimpProgress *progress,
52
GimpPlugInProcedure *procedure);
54
void gimp_plug_in_proc_frame_dispose (GimpPlugInProcFrame *proc_frame,
57
GimpPlugInProcFrame * gimp_plug_in_proc_frame_ref (GimpPlugInProcFrame *proc_frame);
58
void gimp_plug_in_proc_frame_unref (GimpPlugInProcFrame *proc_frame,
61
GValueArray * gimp_plug_in_proc_frame_get_return_vals (GimpPlugInProcFrame *proc_frame);
64
#endif /* __GIMP_PLUG_IN_PROC_FRAME_H__ */