1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
2 /* gnome-vfs-monitor.h - File Monitoring for the GNOME Virtual File System.
4 Copyright (C) 2001 Ian McKellar
6 The Gnome Library is free software; you can redistribute it and/or
7 modify it under the terms of the GNU Library General Public License as
8 published by the Free Software Foundation; either version 2 of the
9 License, or (at your option) any later version.
11 The Gnome Library is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 Library General Public License for more details.
16 You should have received a copy of the GNU Library General Public
17 License along with the Gnome Library; see the file COPYING.LIB. If not,
18 write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA.
21 Author: Ian McKellar <yakk@yakk.net>
24 #ifndef GNOME_VFS_MONITOR_PRIVATE_H
25 #define GNOME_VFS_MONITOR_PRIVATE_H
28 #include <libgnomevfs/gnome-vfs-monitor.h>
29 #include <libgnomevfs/gnome-vfs-method.h>
30 #include <libgnomevfs/gnome-vfs-uri.h>
32 GnomeVFSResult _gnome_vfs_monitor_do_add (GnomeVFSMethod *method,
33 GnomeVFSMonitorHandle **handle,
35 GnomeVFSMonitorType monitor_type,
36 GnomeVFSMonitorCallback callback,
39 GnomeVFSResult _gnome_vfs_monitor_do_cancel (GnomeVFSMonitorHandle *handle);
41 /* this is for modules - should it be in a separate header file? */
42 void gnome_vfs_monitor_callback (GnomeVFSMethodHandle *method_handle,
43 GnomeVFSURI *info_uri,
44 GnomeVFSMonitorEventType event_type);
45 #endif /* GNOME_VFS_MONITOR_PRIVATE_H */