2006-12-10 05:33:38 +08:00
|
|
|
/* GIMP - The GNU Image Manipulation Program
|
2004-03-18 10:45:52 +08:00
|
|
|
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
|
|
|
*
|
|
|
|
* The GIMP Help plug-in
|
2008-05-17 00:56:33 +08:00
|
|
|
* Copyright (C) 1999-2008 Sven Neumann <sven@gimp.org>
|
2004-03-18 10:45:52 +08:00
|
|
|
* Michael Natterer <mitch@gimp.org>
|
|
|
|
* Henrik Brix Andersen <brix@gimp.org>
|
|
|
|
*
|
2009-01-18 06:28:01 +08:00
|
|
|
* This program is free software: you can redistribute it and/or modify
|
2004-03-18 10:45:52 +08:00
|
|
|
* it under the terms of the GNU General Public License as published by
|
2009-01-18 06:28:01 +08:00
|
|
|
* the Free Software Foundation; either version 3 of the License, or
|
2004-03-18 10: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-12 05:27:07 +08:00
|
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
2004-03-18 10:45:52 +08:00
|
|
|
*/
|
|
|
|
|
2006-11-21 05:46:21 +08:00
|
|
|
#ifndef __GIMP_HELP_ITEM_H__
|
|
|
|
#define __GIMP_HELP_ITEM_H__
|
2004-03-18 10:45:52 +08:00
|
|
|
|
|
|
|
|
2006-11-21 05:46:21 +08:00
|
|
|
struct _GimpHelpItem
|
|
|
|
{
|
|
|
|
gchar *ref;
|
|
|
|
gchar *title;
|
2012-01-10 03:04:28 +08:00
|
|
|
gchar *sort; /* optional sort key provided by doc team */
|
2006-11-21 05:46:21 +08:00
|
|
|
gchar *parent;
|
2004-03-18 10:45:52 +08:00
|
|
|
|
2008-07-05 01:27:02 +08:00
|
|
|
/* extra fields used by the help-browser */
|
2006-11-21 05:46:21 +08:00
|
|
|
GList *children;
|
2012-01-10 03:04:28 +08:00
|
|
|
gulong index;
|
2006-11-21 05:46:21 +08:00
|
|
|
};
|
2004-08-14 23:47:22 +08:00
|
|
|
|
2004-03-18 10:45:52 +08:00
|
|
|
|
2006-11-21 05:46:21 +08:00
|
|
|
GimpHelpItem * gimp_help_item_new (const gchar *ref,
|
|
|
|
const gchar *title,
|
2012-01-10 03:04:28 +08:00
|
|
|
const gchar *sort,
|
2006-11-21 05:46:21 +08:00
|
|
|
const gchar *parent);
|
|
|
|
void gimp_help_item_free (GimpHelpItem *item);
|
2004-03-18 10:45:52 +08:00
|
|
|
|
2004-12-06 03:50:37 +08:00
|
|
|
|
2006-11-21 05:46:21 +08:00
|
|
|
#endif /* __GIMP_HELP_ITEM_H__ */
|