home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 February / CMCD0205.ISO / Linux / gimp-2.2.0.tar.gz / gimp-2.2.0.tar / gimp-2.2.0 / libgimpthumb / gimpthumb-error.h < prev    next >
C/C++ Source or Header  |  2004-11-04  |  2KB  |  48 lines

  1. /* LIBGIMP - The GIMP Library
  2.  * Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
  3.  *
  4.  * Thumbnail handling according to the Thumbnail Managing Standard.
  5.  * http://triq.net/~pearl/thumbnail-spec/
  6.  *
  7.  * Copyright (C) 2001-2003  Sven Neumann <sven@gimp.org>
  8.  *                          Michael Natterer <mitch@gimp.org>
  9.  *
  10.  * This library is free software; you can redistribute it and/or
  11.  * modify it under the terms of the GNU Lesser General Public
  12.  * License as published by the Free Software Foundation; either
  13.  * version 2 of the License, or (at your option) any later version.
  14.  *
  15.  * This library 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 GNU
  18.  * Lesser General Public License for more details.
  19.  *
  20.  * You should have received a copy of the GNU Lesser General Public
  21.  * License along with this library; if not, write to the
  22.  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  23.  * Boston, MA 02111-1307, USA.
  24.  */
  25.  
  26. #ifndef __GIMP_THUMB_ERROR_H__
  27. #define __GIMP_THUMB_ERROR_H__
  28.  
  29. G_BEGIN_DECLS
  30.  
  31.  
  32. typedef enum
  33. {
  34.   GIMP_THUMB_ERROR_OPEN,         /*  open failed                            */
  35.   GIMP_THUMB_ERROR_OPEN_ENOENT,  /*  file does not exist                    */
  36.   GIMP_THUMB_ERROR_MKDIR         /*  mkdir failed                           */
  37. } GimpThumbError;
  38.  
  39.  
  40. #define GIMP_THUMB_ERROR (gimp_thumb_error_quark ())
  41.  
  42. GQuark  gimp_thumb_error_quark (void) G_GNUC_CONST;
  43.  
  44.  
  45. G_END_DECLS
  46.  
  47. #endif  /* __GIMP_THUMB_ERROR_H__ */
  48.