home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 2002 April / pcpro0402.iso / essentials / graphics / Gimp / gimp-src-20001226.exe / src / gimp / libgimp / gimpenv.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-10-15  |  1.7 KB  |  55 lines

  1. /* LIBGIMP - The GIMP Library 
  2.  * Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
  3.  *
  4.  * gimpenv.h
  5.  *
  6.  * Copyright (C) 1999 Tor Lillqvist <tml@iki.fi>
  7.  *
  8.  * This library is free software; you can redistribute it and/or
  9.  * modify it under the terms of the GNU Lesser General Public
  10.  * License as published by the Free Software Foundation; either
  11.  * version 2 of the License, or (at your option) any later version.
  12.  *
  13.  * This library is distributed in the hope that it will be useful,
  14.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  16.  * Lesser General Public License for more details.
  17.  *
  18.  * You should have received a copy of the GNU Lesser General Public
  19.  * License along with this library; if not, write to the
  20.  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  21.  * Boston, MA 02111-1307, USA.
  22.  */
  23.  
  24. #ifndef __GIMPENV_H__
  25. #define __GIMPENV_H__
  26.  
  27. #ifdef __cplusplus
  28. extern "C" {
  29. #endif /* __cplusplus */
  30.  
  31. /* For information look into the C source or the html documentation */
  32.  
  33.  
  34. gchar * gimp_directory                  (void);
  35. gchar * gimp_personal_rc_file           (gchar     *basename);
  36. gchar * gimp_data_directory             (void);
  37. gchar * gimp_sysconf_directory        (void);
  38. gchar * gimp_gtkrc                      (void);
  39.  
  40. GList * gimp_path_parse                 (gchar     *path,
  41.                      gint       max_paths,
  42.                      gboolean   check,
  43.                      GList    **check_failed);
  44. gchar * gimp_path_to_str                (GList     *path);
  45. void    gimp_path_free                  (GList     *path);
  46.  
  47. gchar * gimp_path_get_user_writable_dir (GList     *path);
  48.  
  49.  
  50. #ifdef __cplusplus
  51. }
  52. #endif /* __cplusplus */
  53.  
  54. #endif  /*  __GIMPENV_H__  */
  55.