Gimp/libgimp/gimpprogress_pdb.h
Sven Neumann 37fdbeacad tools/pdbgen/pdb/progress.pdb applied slightly modified patch from
2006-02-20  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/progress.pdb
	* libgimp/gimpprogress.[ch]: applied slightly modified patch from
	Stephane Chauveau.  Wraps the gimp_progress_update() PDB call so
	that redundant progress updates are suppressed in libgimp.  This
	gives a noticeable speedup for all plug-ins that update the
	progress too often (bug #331470).

	* libgimp/gimpprogress_pdb.[ch]: regenerated.
2006-02-20 07:35:42 +00:00

44 lines
1.7 KiB
C

/* LIBGIMP - The GIMP Library
* Copyright (C) 1995-2003 Peter Mattis and Spencer Kimball
*
* gimpprogress_pdb.h
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
/* NOTE: This file is autogenerated by pdbgen.pl */
#ifndef __GIMP_PROGRESS_PDB_H__
#define __GIMP_PROGRESS_PDB_H__
G_BEGIN_DECLS
/* For information look into the C source or the html documentation */
gboolean _gimp_progress_init (const gchar *message) G_GNUC_INTERNAL;
gboolean _gimp_progress_update (gdouble percentage) G_GNUC_INTERNAL;
gboolean gimp_progress_pulse (void);
gboolean gimp_progress_set_text (const gchar *message);
gint gimp_progress_get_window_handle (void);
gboolean _gimp_progress_install (const gchar *progress_callback) G_GNUC_INTERNAL;
gboolean _gimp_progress_uninstall (const gchar *progress_callback) G_GNUC_INTERNAL;
gboolean gimp_progress_cancel (const gchar *progress_callback);
G_END_DECLS
#endif /* __GIMP_PROGRESS_PDB_H__ */