1
/* The GIMP -- an image manipulation program
2
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
4
* The GIMP Help Browser
5
* Copyright (C) 1999 Sven Neumann <sven@gimp.org>
6
* Michael Natterer <mitschel@cs.tu-berlin.de>
8
* queue.h - a history queue
10
* This program is free software; you can redistribute it and/or modify
11
* it under the terms of the GNU General Public License as published by
12
* the Free Software Foundation; either version 2 of the License, or
13
* (at your option) any later version.
15
* This program is distributed in the hope that it will be useful,
16
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
* GNU General Public License for more details.
20
* You should have received a copy of the GNU General Public License
21
* along with this program; if not, write to the Free Software
22
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25
#ifndef _GIMP_HELP_QUEUE_H_
26
#define _GIMP_HELP_QUEUE_H_
28
typedef struct _Queue Queue;
30
Queue * queue_new (void);
31
void queue_free (Queue *queue);
32
void queue_add (Queue *queue,
34
const gchar * queue_prev (Queue *queue);
35
const gchar * queue_next (Queue *queue);
36
void queue_move_prev (Queue *queue);
37
void queue_move_next (Queue *queue);
38
gboolean queue_has_next (Queue *queue);
39
gboolean queue_has_prev (Queue *queue);
41
#endif /* _GIMP_HELP_QUEUE_H_ */