home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 2002 April / pcpro0402.iso / essentials / graphics / Gimp / gimp-src-20001226.exe / src / gimp / plug-ins / helpbrowser / queue.h < prev   
Encoding:
C/C++ Source or Header  |  1999-06-28  |  1.6 KB  |  44 lines

  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.  * Some code & ideas stolen from the GNOME help browser.
  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. #include <glib.h>
  29.  
  30. typedef struct _Queue Queue;
  31.  
  32. Queue    * queue_new          (void);
  33. void       queue_free         (Queue *h);
  34. gchar    * queue_prev         (Queue *h, gint *pos);
  35. gchar    * queue_next         (Queue *h, gint *pos);
  36. void       queue_move_prev    (Queue *h);
  37. void       queue_move_next    (Queue *h);
  38. void       queue_add          (Queue *h, gchar *ref, gint pos);
  39. void       queue_mark_current (Queue *h, gint pos);
  40. gboolean   queue_isnext       (Queue *h);
  41. gboolean   queue_isprev       (Queue *h);
  42.  
  43. #endif /* _GIMP_HELP_QUEUE_H_ */
  44.