1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
3 /* gnome-vfs-find-directory.h - Special directory location functions for
4 the GNOME Virtual File System.
6 Copyright (C) 2000 Eazel, Inc.
7 Copyright (C) 2001 Free Software Foundation
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.
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.
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.
24 Authors: Pavel Cisler <pavel@eazel.com>
25 Seth Nickell <snickell@stanford.edu>
28 #ifndef GNOME_VFS_FIND_DIRECTORY_H
29 #define GNOME_VFS_FIND_DIRECTORY_H
31 #include <libgnomevfs/gnome-vfs-result.h>
32 #include <libgnomevfs/gnome-vfs-uri.h>
37 GNOME_VFS_DIRECTORY_KIND_DESKTOP = 1000,
38 GNOME_VFS_DIRECTORY_KIND_TRASH = 1001
39 } GnomeVFSFindDirectoryKind;
41 GnomeVFSResult gnome_vfs_find_directory (GnomeVFSURI *near_uri,
42 GnomeVFSFindDirectoryKind kind,
44 gboolean create_if_needed,
45 gboolean find_if_needed,