1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- 2 3 caja-monitor.h: file and directory change monitoring for caja 4 5 Copyright (C) 2000, 2001 Eazel, Inc. 6 7 This program is free software; you can redistribute it and/or 8 modify it under the terms of the GNU General Public License as 9 published by the Free Software Foundation; either version 2 of the 10 License, or (at your option) any later version. 11 12 This program is distributed in the hope that it will be useful, 13 but WITHOUT ANY WARRANTY; without even the implied warranty of 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 General Public License for more details. 16 17 You should have received a copy of the GNU General Public 18 License along with this program; if not, write to the 19 Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, 20 Boston, MA 02110-1301, USA. 21 22 Authors: Seth Nickell <seth@eazel.com> 23 Darin Adler <darin@bentspoon.com> 24 */ 25 26 #ifndef CAJA_MONITOR_H 27 #define CAJA_MONITOR_H 28 29 #include <glib.h> 30 #include <gio/gio.h> 31 32 typedef struct CajaMonitor CajaMonitor; 33 34 gboolean caja_monitor_active (void); 35 CajaMonitor *caja_monitor_directory (GFile *location); 36 void caja_monitor_cancel (CajaMonitor *monitor); 37 38 #endif /* CAJA_MONITOR_H */ 39