source: trunk/third/gnome-vfs/libgnomevfs/gnome-vfs-find-directory.h @ 17128

Revision 17128, 1.7 KB checked in by ghudson, 23 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r17127, which included commits to RCS files with non-trunk default branches.
Line 
1/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
2
3/* gnome-vfs-find-directory.h - Special directory location functions for
4   the GNOME Virtual File System.
5
6   Copyright (C) 2000 Eazel, Inc.
7   Copyright (C) 2001 Free Software Foundation
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>
25            Seth Nickell <snickell@stanford.edu>
26*/
27
28#ifndef GNOME_VFS_FIND_DIRECTORY_H
29#define GNOME_VFS_FIND_DIRECTORY_H
30
31#include <libgnomevfs/gnome-vfs-result.h>
32#include <libgnomevfs/gnome-vfs-uri.h>
33
34typedef enum {
35        GNOME_VFS_DIRECTORY_KIND_DESKTOP = 1000,
36        GNOME_VFS_DIRECTORY_KIND_TRASH = 1001
37} GnomeVFSFindDirectoryKind;
38
39GnomeVFSResult 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
46#endif
Note: See TracBrowser for help on using the repository browser.