~ubuntu-branches/ubuntu/maverick/gimp/maverick-updates

« back to all changes in this revision

Viewing changes to plug-ins/helpbrowser/queue.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2005-12-09 19:44:52 UTC
  • Revision ID: james.westby@ubuntu.com-20051209194452-yggpemjlofpjqyf4
Tags: upstream-2.2.9
ImportĀ upstreamĀ versionĀ 2.2.9

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* The GIMP -- an image manipulation program
 
2
 * Copyright (C) 1995 Spencer Kimball and Peter Mattis
 
3
 *
 
4
 * The GIMP Help Browser
 
5
 * Copyright (C) 1999 Sven Neumann <sven@gimp.org>
 
6
 *                    Michael Natterer <mitschel@cs.tu-berlin.de>
 
7
 *
 
8
 * queue.h - a history queue
 
9
 *
 
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.
 
14
 *
 
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.
 
19
 *
 
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.
 
23
 */
 
24
 
 
25
#ifndef _GIMP_HELP_QUEUE_H_
 
26
#define _GIMP_HELP_QUEUE_H_
 
27
 
 
28
typedef struct _Queue Queue;
 
29
 
 
30
Queue       * queue_new       (void);
 
31
void          queue_free      (Queue       *queue);
 
32
void          queue_add       (Queue       *queue,
 
33
                               const gchar *ref);
 
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);
 
40
 
 
41
#endif /* _GIMP_HELP_QUEUE_H_ */