Implemented sub-second W32 filesystem interface by new: CaptiveFileInfoObject
[captive.git] / src / libcaptive / sandbox / parent-Directory.h
1 /* $Id$
2  * Include file for CORBA/ORBit server side of Directory object of sandbox_parent()
3  * Copyright (C) 2003 Jan Kratochvil <project-captive@jankratochvil.net>
4  * 
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; exactly version 2 of June 1991 is required
8  * 
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  * GNU General Public License for more details.
13  * 
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, write to the Free Software
16  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17  */
18
19
20 #ifndef _PARENT_DIRECTORY_H
21 #define _PARENT_DIRECTORY_H 1
22
23
24 #include <glib/gmacros.h>
25 #include <glib-object.h>
26 #include <libgnomevfs/gnome-vfs-result.h>       /* for GnomeVFSResult */
27 #include "../client/directory-parent.h"
28
29
30 G_BEGIN_DECLS
31
32 GnomeVFSResult captive_sandbox_parent_directory_new_open
33                 (CaptiveDirectoryParentObject *captive_directory_parent_object);
34 GnomeVFSResult captive_sandbox_parent_directory_new_make
35                 (CaptiveDirectoryParentObject *captive_directory_parent_object,guint perm);
36 GnomeVFSResult captive_sandbox_parent_directory_close(CaptiveDirectoryParentObject *captive_directory_parent_object);
37 GnomeVFSResult captive_sandbox_parent_directory_read
38                 (CaptiveDirectoryParentObject *captive_directory_parent_object,CaptiveFileInfoObject **file_info_captive_return);
39 GnomeVFSResult captive_sandbox_parent_directory_remove(CaptiveDirectoryParentObject *captive_directory_parent_object);
40
41 G_END_DECLS
42
43
44 #endif /* _PARENT_DIRECTORY_H */