diff options
author | Seth Nickell <snickell@stanford.edu> | 2001-04-12 22:43:38 +0000 |
---|---|---|
committer | Seth Nickell <seth@src.gnome.org> | 2001-04-12 22:43:38 +0000 |
commit | 442f234346c7b4273b25b45ad819f0813e4d713f (patch) | |
tree | 79b9ceb609c8652884ccfe3fdba5dc027d2c357b /libnautilus-private/nautilus-monitor.h | |
parent | bb1cdf5e2f54e584573e63de7687f1b069a62e4a (diff) | |
download | nautilus-442f234346c7b4273b25b45ad819f0813e4d713f.tar.gz |
Add some initial code to deal with file notification and monitoring. This
2001-04-12 Seth Nickell <snickell@stanford.edu>
Add some initial code to deal with file notification and
monitoring. This isn't hooked in yet, but provides interfaces
for Nautilus code to use.
* configure.in:
Add configure checks for FAM.
* libnautilus-extensions/Makefile.am:
Include FAM libraries if they exist.
* libnautilus-extensions/nautilus-monitor.c:
(nautilus_monitor_establish_connection),
(nautilus_monitor_get_fam),
(nautilus_monitor_find_path_from_request),
(nautilus_monitor_find_request_from_path),
(nautilus_monitor_delete_first_request_found),
(nautilus_monitor_get_uri),
(nautilus_monitor_process_fam_notifications),
(nautilus_monitor_add_file), (nautilus_monitor_add_directory),
(nautilus_monitor_remove):
* libnautilus-extensions/nautilus-monitor.h:
The code that actually communicates w/ FAM.
Diffstat (limited to 'libnautilus-private/nautilus-monitor.h')
-rw-r--r-- | libnautilus-private/nautilus-monitor.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/libnautilus-private/nautilus-monitor.h b/libnautilus-private/nautilus-monitor.h new file mode 100644 index 000000000..ca1b3c90e --- /dev/null +++ b/libnautilus-private/nautilus-monitor.h @@ -0,0 +1,35 @@ +/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- + + nautilus-monitor.h: file and directory change monitoring for nautilus + + Copyright (C) 2000 Eazel, Inc. + + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public + License along with this program; if not, write to the + Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. + + Author: Seth Nickell <seth@eazel.com> +*/ + +#ifndef NAUTILUS_MONITOR_H +#define NAUTILUS_MONITOR_H + +#include <glib.h> +#include <gtk/gtk.h> + +void nautilus_monitor_add_file (const char *uri_string); +void nautilus_monitor_add_directory (const char *uri_string); +void nautilus_monitor_remove (const char *uri_string); + +#endif /* NAUTILUS_MONITOR_H */ |