From 4b74f952e5eb11af9dfaa481f92fb61170f68c11 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Tue, 9 Oct 2007 10:07:17 +0000 Subject: Implement file monitor in client 2007-10-09 Alexander Larsson * client/Makefile.am: * client/gdaemonfile.c: * client/gdaemonfilemonitor.[ch]: Implement file monitor in client * common/gvfsdaemonprotocol.h: * daemon/gvfsbackend.c: Implement file monitor in daemon * daemon/gvfsbackendtrash.c: Implement file monitor in trash backend Make trash filename escaping nicer svn path=/trunk/; revision=973 --- client/gdaemonfilemonitor.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'client/gdaemonfilemonitor.h') diff --git a/client/gdaemonfilemonitor.h b/client/gdaemonfilemonitor.h index cb607513..39cab120 100644 --- a/client/gdaemonfilemonitor.h +++ b/client/gdaemonfilemonitor.h @@ -8,7 +8,7 @@ G_BEGIN_DECLS #define G_TYPE_DAEMON_FILE_MONITOR (g_daemon_file_monitor_get_type ()) #define G_DAEMON_FILE_MONITOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_DAEMON_FILE_MONITOR, GDaemonFileMonitor)) -#define G_DAEMON_FILE_MONITOR_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), G_TYPE_DAEMON_FILE_MONITOR, GDaemonFileMonitorClass)) +#define G_DAEMON_FILE_MONITOR_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), G_TYPE_DAEMON_FILE_MONITOR, GDaemonFileMonitorClass)) #define G_IS_DAEMON_FILE_MONITOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_DAEMON_FILE_MONITOR)) #define G_IS_DAEMON_FILE_MONITOR_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_DAEMON_FILE_MONITOR)) @@ -21,8 +21,9 @@ struct _GDaemonFileMonitorClass { GType g_daemon_file_monitor_get_type (void) G_GNUC_CONST; -GFileMonitor* g_daemon_file_monitor_new (void); -char * g_daemon_directory_monitor_get_object_path (GDaemonDirectoryMonitor *monitor); +GFileMonitor* g_daemon_file_monitor_new (const char *remote_id, + const char *remote_obj_path); + G_END_DECLS -- cgit v1.2.1