mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-24 06:22:03 +00:00
a3c388149d
2003-01-30 Michael Natterer <mitch@gimp.org> * app/plug-in/plug-in.[ch]: renamed plug_in->busy to plug_in->in_temp_proc. Added a stack of GMainLoops to each plug-in. Added the "current_return_vals" to the PlugIn struct. Renamed plug_in_kill() to plug_in_exit(). Removed the stuff added below. Cleanup. * app/plug-in/Makefile.am * app/plug-in/plug-in-message.[ch] * app/plug-in/plug-in-run.[ch] * app/plug-in/plug-in-shm.[ch]: new files taking out functionality from the overloaded plug-in.c. Added the code back in that implements temp proc return messages (inside an #ifdef) because i don't really get why it was removed on Sep 19 1998. * app/plug-in/plug-ins.c: changed accordingly. * app/plug-in/plug-in-def.c * app/plug-in/plug-in-params.c: removed inclusion of <gtk/gtk.h>. * app/gui/file-save-dialog.c * app/gui/paths-dialog.c * app/gui/plug-in-commands.c * app/gui/plug-in-menus.c * app/pdb/procedural_db.c * app/widgets/gimphelp.c: changed plug-in includes accordingly. * app/gui/plug-in-commands.c: don't use "the_gimp" from "app_procs.h" but get it from the GimpItemFactory that invoked the plug-in callback.
31 lines
1.1 KiB
C
31 lines
1.1 KiB
C
/* The GIMP -- an image manipulation program
|
|
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program 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 General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
*/
|
|
|
|
#ifndef __PLUG_IN_SHM_H__
|
|
#define __PLUG_IN_SHM_H__
|
|
|
|
|
|
void plug_in_shm_init (Gimp *gimp);
|
|
void plug_in_shm_exit (Gimp *gimp);
|
|
|
|
gint plug_in_shm_get_ID (Gimp *gimp);
|
|
guchar * plug_in_shm_get_addr (Gimp *gimp);
|
|
|
|
|
|
#endif /* __PLUG_IN_SHM_H__ */
|