2006-12-09 13:33:38 -08:00
|
|
|
/* GIMP - The GNU Image Manipulation Program
|
2004-03-17 18:45:52 -08:00
|
|
|
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
|
|
|
|
*
|
|
|
|
|
* The GIMP Help plug-in
|
2008-05-16 09:56:33 -07:00
|
|
|
* Copyright (C) 1999-2008 Sven Neumann <sven@gimp.org>
|
2004-03-17 18:45:52 -08:00
|
|
|
* Michael Natterer <mitch@gimp.org>
|
|
|
|
|
* Henrik Brix Andersen <brix@gimp.org>
|
|
|
|
|
*
|
2009-01-17 14:28:01 -08:00
|
|
|
* This program is free software: you can redistribute it and/or modify
|
2004-03-17 18:45:52 -08:00
|
|
|
* it under the terms of the GNU General Public License as published by
|
2009-01-17 14:28:01 -08:00
|
|
|
* the Free Software Foundation; either version 3 of the License, or
|
2004-03-17 18:45:52 -08:00
|
|
|
* (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
|
2018-07-11 14:27:07 -07:00
|
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
2004-03-17 18:45:52 -08:00
|
|
|
*/
|
|
|
|
|
|
2006-11-20 13:46:21 -08:00
|
|
|
#ifndef __GIMP_HELP_H__
|
|
|
|
|
#define __GIMP_HELP_H__
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include "gimphelptypes.h"
|
|
|
|
|
|
|
|
|
|
#include "gimphelpdomain.h"
|
|
|
|
|
#include "gimphelpitem.h"
|
|
|
|
|
#include "gimphelplocale.h"
|
2008-05-16 09:56:33 -07:00
|
|
|
#include "gimphelpprogress.h"
|
2004-03-17 18:45:52 -08:00
|
|
|
|
|
|
|
|
|
2018-07-14 05:13:22 -07:00
|
|
|
#define GIMP_HELP_DEFAULT_DOMAIN "https://www.gimp.org/help"
|
2004-03-17 18:45:52 -08:00
|
|
|
#define GIMP_HELP_DEFAULT_ID "gimp-main"
|
|
|
|
|
#define GIMP_HELP_DEFAULT_LOCALE "en"
|
|
|
|
|
|
2004-08-14 08:47:22 -07:00
|
|
|
#define GIMP_HELP_PREFIX "help"
|
|
|
|
|
#define GIMP_HELP_ENV_URI "GIMP2_HELP_URI"
|
|
|
|
|
|
2006-11-23 12:36:17 -08:00
|
|
|
/* #define GIMP_HELP_DEBUG */
|
2006-11-20 13:46:21 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
gboolean gimp_help_init (gint n_domain_names,
|
|
|
|
|
gchar **domain_names,
|
|
|
|
|
gint n_domain_uris,
|
|
|
|
|
gchar **domain_uris);
|
|
|
|
|
void gimp_help_exit (void);
|
2004-03-17 18:45:52 -08:00
|
|
|
|
2006-11-20 13:46:21 -08:00
|
|
|
void gimp_help_register_domain (const gchar *domain_name,
|
2008-04-02 03:30:58 -07:00
|
|
|
const gchar *domain_uri);
|
2006-11-20 13:46:21 -08:00
|
|
|
GimpHelpDomain * gimp_help_lookup_domain (const gchar *domain_name);
|
2004-03-17 18:45:52 -08:00
|
|
|
|
2006-11-20 13:46:21 -08:00
|
|
|
GList * gimp_help_parse_locales (const gchar *help_locales);
|
2004-12-05 11:50:37 -08:00
|
|
|
|
|
|
|
|
|
2006-11-20 13:46:21 -08:00
|
|
|
#endif /* ! __GIMP_HELP_H__ */
|