1997-11-25 06:05:25 +08:00
|
|
|
/* 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
|
1998-04-13 13:44:11 +08:00
|
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
1997-11-25 06:05:25 +08:00
|
|
|
*/
|
2000-12-29 23:22:01 +08:00
|
|
|
|
1997-11-25 06:05:25 +08:00
|
|
|
#ifndef __APP_PROCS_H__
|
|
|
|
#define __APP_PROCS_H__
|
|
|
|
|
2003-05-29 00:11:29 +08:00
|
|
|
|
2002-12-04 20:26:39 +08:00
|
|
|
#ifndef GIMP_APP_GLUE_COMPILATION
|
2003-11-04 07:24:32 +08:00
|
|
|
#error You must not #include "app_procs.h" from an app/ subdir
|
2002-12-04 20:26:39 +08:00
|
|
|
#endif
|
2000-12-29 23:22:01 +08:00
|
|
|
|
|
|
|
|
2005-02-09 06:57:24 +08:00
|
|
|
void app_libs_init (GOptionContext *context,
|
|
|
|
gboolean no_interface);
|
2004-07-12 22:32:31 +08:00
|
|
|
void app_abort (gboolean no_interface,
|
|
|
|
const gchar *abort_message) G_GNUC_NORETURN;
|
|
|
|
void app_exit (gint status) G_GNUC_NORETURN;
|
|
|
|
|
|
|
|
void app_run (const gchar *full_prog_name,
|
2005-02-03 07:23:33 +08:00
|
|
|
const gchar **filenames,
|
2004-07-12 22:32:31 +08:00
|
|
|
const gchar *alternate_system_gimprc,
|
|
|
|
const gchar *alternate_gimprc,
|
|
|
|
const gchar *session_name,
|
2004-10-06 17:56:15 +08:00
|
|
|
const gchar *batch_interpreter,
|
|
|
|
const gchar **batch_commands,
|
2004-07-12 22:32:31 +08:00
|
|
|
gboolean no_interface,
|
|
|
|
gboolean no_data,
|
|
|
|
gboolean no_fonts,
|
|
|
|
gboolean no_splash,
|
|
|
|
gboolean be_verbose,
|
|
|
|
gboolean use_shm,
|
|
|
|
gboolean use_cpu_accel,
|
|
|
|
gboolean console_messages,
|
|
|
|
GimpStackTraceMode stack_trace_mode,
|
|
|
|
GimpPDBCompatMode pdb_compat_mode);
|
2001-03-30 19:16:05 +08:00
|
|
|
|
|
|
|
|
|
|
|
#endif /* __APP_PROCS_H__ */
|