mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-23 04:51:44 +00:00
5221d4daa6
2003-11-15 Michael Natterer <mitch@gimp.org> * libgimpbase/Makefile.am * libgimpbase/gimpbase-private.[ch] * libgimpbase/gimpunit.c: new files implementing GimpUnitVTable (formerly known as GimpWidgetsVTable). Now the unit functions finally live in the same library as their header declarations. * libgimpbase/gimpunit.h: removed comment about being a header for two different files. * libgimpwidgets/gimpwidgets-private.[ch]: removed GimpWidgetsVTable. * libgimpwidgets/gimpsizeentry.c * libgimpwidgets/gimpunitmenu.c * libgimpwidgets/gimpwidgets.c: use normal gimp_unit functions again. * libgimp/gimpui.c * app/gui/gui.c: removed GimpWidgetVTable stuff. * libgimp/Makefile.am * libgimp/gimpunitcache.[ch]: new files. * libgimp/gimpunit.c: removed (moved to gimpunitcache.c). * libgimp/gimp.c (gimp_main): initialize GimpUnitVTable using the gimp_unit_cache functions. * app/Makefile.am * app/units.[ch]: new files implementing GimpUnitVTable. * app/libgimp_glue.[ch]: removed. * app/app_procs.[ch]: made "the_gimp" a static variable. Call units_init(). * app/main.c: changed accordingly.
51 lines
2.1 KiB
C
51 lines
2.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 __APP_PROCS_H__
|
|
#define __APP_PROCS_H__
|
|
|
|
|
|
#ifndef GIMP_APP_GLUE_COMPILATION
|
|
#error You must not #include "app_procs.h" from an app/ subdir
|
|
#endif
|
|
|
|
|
|
gboolean app_gui_libs_init (gint *gimp_argc,
|
|
gchar ***gimp_argv);
|
|
|
|
void app_init (const gchar *full_prog_name,
|
|
gint gimp_argc,
|
|
gchar **gimp_argv,
|
|
const gchar *alternate_system_gimprc,
|
|
const gchar *alternate_gimprc,
|
|
const gchar *session_name,
|
|
const gchar **batch_cmds,
|
|
gboolean no_interface,
|
|
gboolean no_data,
|
|
gboolean no_fonts,
|
|
gboolean no_splash,
|
|
gboolean no_splash_image,
|
|
gboolean be_verbose,
|
|
gboolean use_shm,
|
|
gboolean use_mmx,
|
|
gboolean console_messages,
|
|
GimpStackTraceMode stack_trace_mode);
|
|
|
|
|
|
#endif /* __APP_PROCS_H__ */
|