[15496] | 1 | /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ |
---|
| 2 | |
---|
[17127] | 3 | /* gnome-vfs-find-directory.h - Special directory location functions for |
---|
| 4 | the GNOME Virtual File System. |
---|
| 5 | |
---|
[15496] | 6 | Copyright (C) 2000 Eazel, Inc. |
---|
[17127] | 7 | Copyright (C) 2001 Free Software Foundation |
---|
[15496] | 8 | |
---|
| 9 | The Gnome Library is free software; you can redistribute it and/or |
---|
| 10 | modify it under the terms of the GNU Library General Public License as |
---|
| 11 | published by the Free Software Foundation; either version 2 of the |
---|
| 12 | License, or (at your option) any later version. |
---|
| 13 | |
---|
| 14 | The Gnome Library is distributed in the hope that it will be useful, |
---|
| 15 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
| 16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
---|
| 17 | Library General Public License for more details. |
---|
| 18 | |
---|
| 19 | You should have received a copy of the GNU Library General Public |
---|
| 20 | License along with the Gnome Library; see the file COPYING.LIB. If not, |
---|
| 21 | write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
---|
| 22 | Boston, MA 02111-1307, USA. |
---|
| 23 | |
---|
| 24 | Authors: Pavel Cisler <pavel@eazel.com> |
---|
[17127] | 25 | Seth Nickell <snickell@stanford.edu> |
---|
[15496] | 26 | */ |
---|
| 27 | |
---|
[17127] | 28 | #ifndef GNOME_VFS_FIND_DIRECTORY_H |
---|
| 29 | #define GNOME_VFS_FIND_DIRECTORY_H |
---|
[15496] | 30 | |
---|
[17127] | 31 | #include <libgnomevfs/gnome-vfs-result.h> |
---|
| 32 | #include <libgnomevfs/gnome-vfs-uri.h> |
---|
[15496] | 33 | |
---|
[17127] | 34 | typedef enum { |
---|
| 35 | GNOME_VFS_DIRECTORY_KIND_DESKTOP = 1000, |
---|
| 36 | GNOME_VFS_DIRECTORY_KIND_TRASH = 1001 |
---|
| 37 | } GnomeVFSFindDirectoryKind; |
---|
| 38 | |
---|
| 39 | GnomeVFSResult gnome_vfs_find_directory (GnomeVFSURI *near_uri, |
---|
| 40 | GnomeVFSFindDirectoryKind kind, |
---|
| 41 | GnomeVFSURI **result, |
---|
| 42 | gboolean create_if_needed, |
---|
| 43 | gboolean find_if_needed, |
---|
| 44 | guint permissions); |
---|
| 45 | |
---|
[15496] | 46 | #endif |
---|