2006-12-09 21:33:38 +00:00
|
|
|
/* GIMP - The GNU Image Manipulation Program
|
2002-02-25 02:52:33 +00:00
|
|
|
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
|
|
|
*
|
2008-03-28 07:34:38 +00:00
|
|
|
* tips-parser.h - Parse the gimp-tips.xml file.
|
2008-03-27 21:02:15 +00:00
|
|
|
* Copyright (C) 2002, 2008 Sven Neumann <sven@gimp.org>
|
2002-02-25 02:52:33 +00:00
|
|
|
*
|
2009-01-17 22:28:01 +00:00
|
|
|
* This program is free software: you can redistribute it and/or modify
|
2002-02-25 02:52:33 +00:00
|
|
|
* it under the terms of the GNU General Public License as published by
|
2009-01-17 22:28:01 +00:00
|
|
|
* the Free Software Foundation; either version 3 of the License, or
|
2002-02-25 02:52:33 +00: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 23:27:07 +02:00
|
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
2002-02-25 02:52:33 +00:00
|
|
|
*/
|
|
|
|
|
2025-07-13 03:15:46 +02:00
|
|
|
#pragma once
|
2002-02-25 02:52:33 +00:00
|
|
|
|
|
|
|
|
|
|
|
typedef struct _GimpTip GimpTip;
|
|
|
|
|
|
|
|
struct _GimpTip
|
|
|
|
{
|
2008-08-04 13:56:07 +00:00
|
|
|
gchar *text;
|
|
|
|
gchar *help_id;
|
2002-02-25 02:52:33 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
2008-03-28 07:50:11 +00:00
|
|
|
GimpTip * gimp_tip_new (const gchar *title,
|
|
|
|
const gchar *format,
|
|
|
|
...) G_GNUC_PRINTF(2, 3);
|
2002-02-25 02:52:33 +00:00
|
|
|
void gimp_tip_free (GimpTip *tip);
|
|
|
|
|
2014-07-23 23:40:01 +02:00
|
|
|
GList * gimp_tips_from_file (GFile *file,
|
2002-02-25 02:52:33 +00:00
|
|
|
GError **error);
|
|
|
|
void gimp_tips_free (GList *tips);
|