diff options
author | Darin Adler <darin@src.gnome.org> | 2001-04-16 22:07:01 +0000 |
---|---|---|
committer | Darin Adler <darin@src.gnome.org> | 2001-04-16 22:07:01 +0000 |
commit | e2027710694668d07c229427b60d9c4898090a9f (patch) | |
tree | fe52d38270c66b2ed581846897dace30b168e8fb /libnautilus-private/nautilus-monitor.h | |
parent | 41b1aeb02f2d55caf14433b6be639776aaec0280 (diff) | |
download | nautilus-e2027710694668d07c229427b60d9c4898090a9f.tar.gz |
Some work on FAM.
* libnautilus-extensions/nautilus-monitor.h:
* libnautilus-extensions/nautilus-monitor.c: (get_fam_connection),
(get_request_hash_table), (get_event_uri),
(process_fam_notifications), (nautilus_monitor_file),
(nautilus_monitor_directory), (nautilus_monitor_cancel): Improved
API, fixed some storage leaks, simplified some code, made it
handle URI escaping properly, use the file changes queue. Almost
ready for prime time!
* libnautilus-extensions/nautilus-file-changes-queue.h:
* libnautilus-extensions/nautilus-file-changes-queue.c:
(nautilus_file_changes_queue_file_changed),
(nautilus_file_changes_consume_changes):
* libnautilus-extensions/nautilus-directory-notify.h:
* libnautilus-extensions/nautilus-directory.c:
(call_files_changed_unref_free_list),
(nautilus_directory_notify_files_changed):
Added a new kind of notification for the file changed case.
Diffstat (limited to 'libnautilus-private/nautilus-monitor.h')
-rw-r--r-- | libnautilus-private/nautilus-monitor.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libnautilus-private/nautilus-monitor.h b/libnautilus-private/nautilus-monitor.h index ca1b3c90e..8c535ff6e 100644 --- a/libnautilus-private/nautilus-monitor.h +++ b/libnautilus-private/nautilus-monitor.h @@ -2,7 +2,7 @@ nautilus-monitor.h: file and directory change monitoring for nautilus - Copyright (C) 2000 Eazel, Inc. + Copyright (C) 2000, 2001 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 @@ -19,17 +19,17 @@ Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - Author: Seth Nickell <seth@eazel.com> + Authors: Seth Nickell <seth@eazel.com> + Darin Adler <darin@eazel.com> */ #ifndef NAUTILUS_MONITOR_H #define NAUTILUS_MONITOR_H -#include <glib.h> -#include <gtk/gtk.h> +typedef struct NautilusMonitor NautilusMonitor; -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); +NautilusMonitor *nautilus_monitor_file (const char *uri); +NautilusMonitor *nautilus_monitor_directory (const char *uri); +void nautilus_monitor_cancel (NautilusMonitor *monitor); #endif /* NAUTILUS_MONITOR_H */ |