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:47:19 -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_ITEM_H__
|
|
|
|
|
#define __GIMP_HELP_ITEM_H__
|
2004-03-17 18:45:52 -08:00
|
|
|
|
|
|
|
|
|
2006-11-20 13:46:21 -08:00
|
|
|
struct _GimpHelpItem
|
|
|
|
|
{
|
|
|
|
|
gchar *ref;
|
|
|
|
|
gchar *title;
|
2012-01-09 11:04:28 -08:00
|
|
|
gchar *sort; /* optional sort key provided by doc team */
|
2006-11-20 13:46:21 -08:00
|
|
|
gchar *parent;
|
2004-03-17 18:45:52 -08:00
|
|
|
|
2008-07-04 10:27:02 -07:00
|
|
|
/* extra fields used by the help-browser */
|
2006-11-20 13:46:21 -08:00
|
|
|
GList *children;
|
2012-01-09 11:04:28 -08:00
|
|
|
gulong index;
|
2006-11-20 13:46:21 -08:00
|
|
|
};
|
2004-08-14 08:47:22 -07:00
|
|
|
|
2004-03-17 18:45:52 -08:00
|
|
|
|
2006-11-20 13:46:21 -08:00
|
|
|
GimpHelpItem * gimp_help_item_new (const gchar *ref,
|
|
|
|
|
const gchar *title,
|
2012-01-09 11:04:28 -08:00
|
|
|
const gchar *sort,
|
2006-11-20 13:46:21 -08:00
|
|
|
const gchar *parent);
|
|
|
|
|
void gimp_help_item_free (GimpHelpItem *item);
|
2004-03-17 18:45:52 -08:00
|
|
|
|
2004-12-05 11:50:37 -08:00
|
|
|
|
2006-11-20 13:46:21 -08:00
|
|
|
#endif /* __GIMP_HELP_ITEM_H__ */
|