1 /* GIMP - The GNU Image Manipulation Program
2  * Copyright (C) 1995 Spencer Kimball and Peter Mattis
3  *
4  * The GIMP Help plug-in
5  * Copyright (C) 1999-2008 Sven Neumann <sven@gimp.org>
6  *                         Michael Natterer <mitch@gimp.org>
7  *                         Henrik Brix Andersen <brix@gimp.org>
8  *
9  * This program is free software: you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation; either version 3 of the License, or
12  * (at your option) any later version.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this program.  If not, see <https://www.gnu.org/licenses/>.
21  */
22 
23 #ifndef __GIMP_HELP_DOMAIN_H__
24 #define __GIMP_HELP_DOMAIN_H__
25 
26 
27 struct _GimpHelpDomain
28 {
29   gchar      *help_domain;
30   gchar      *help_uri;
31   GHashTable *help_locales;
32 };
33 
34 
35 GimpHelpDomain * gimp_help_domain_new           (const gchar       *domain_name,
36                                                  const gchar       *domain_uri);
37 void             gimp_help_domain_free          (GimpHelpDomain    *domain);
38 
39 GimpHelpLocale * gimp_help_domain_lookup_locale (GimpHelpDomain    *domain,
40                                                  const gchar       *locale_id,
41                                                  GimpHelpProgress  *progress);
42 gchar          * gimp_help_domain_map           (GimpHelpDomain    *domain,
43                                                  GList             *help_locales,
44                                                  const gchar       *help_id,
45                                                  GimpHelpProgress  *progress,
46                                                  GimpHelpLocale   **locale,
47                                                  gboolean          *fatal_error);
48 void             gimp_help_domain_exit          (void);
49 
50 
51 #endif /* ! __GIMP_HELP_DOMAIN_H__ */
52