1 /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ 2 /* vim:set expandtab ts=4 shiftwidth=4: */ 3 /* GIO - GLib Input, Output and Streaming Library 4 * 5 * Copyright (C) 2006-2007 Red Hat, Inc. 6 * Copyright (C) 2007 Sebastian Dröge. 7 * 8 * This library is free software; you can redistribute it and/or 9 * modify it under the terms of the GNU Lesser General Public 10 * License as published by the Free Software Foundation; either 11 * version 2 of the License, or (at your option) any later version. 12 * 13 * This library is distributed in the hope that it will be useful, 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 * Lesser General Public License for more details. 17 * 18 * You should have received a copy of the GNU Lesser General 19 * Public License along with this library; if not, write to the 20 * Free Software Foundation, Inc., 59 Temple Place, Suite 330, 21 * Boston, MA 02111-1307, USA. 22 * 23 * Authors: Alexander Larsson <alexl@redhat.com> 24 * John McCutchan <john@johnmccutchan.com> 25 * Sebastian Dröge <slomo@circular-chaos.org> 26 */ 27 28 #ifndef __G_FEN_FILE_MONITOR_H__ 29 #define __G_FEN_FILE_MONITOR_H__ 30 31 #include <glib-object.h> 32 #include <string.h> 33 #include <gio/gfilemonitor.h> 34 #include <gio/glocalfilemonitor.h> 35 #include <gio/giomodule.h> 36 37 G_BEGIN_DECLS 38 39 #define G_TYPE_FEN_FILE_MONITOR (_g_fen_file_monitor_get_type ()) 40 #define G_FEN_FILE_MONITOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_FEN_FILE_MONITOR, GFenFileMonitor)) 41 #define G_FEN_FILE_MONITOR_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), G_TYPE_FEN_FILE_MONITOR, GFenFileMonitorClass)) 42 #define G_IS_FEN_FILE_MONITOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_FEN_FILE_MONITOR)) 43 #define G_IS_FEN_FILE_MONITOR_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_FEN_FILE_MONITOR)) 44 45 typedef struct _GFenFileMonitor GFenFileMonitor; 46 typedef struct _GFenFileMonitorClass GFenFileMonitorClass; 47 48 struct _GFenFileMonitorClass { 49 GLocalFileMonitorClass parent_class; 50 }; 51 52 GType _g_fen_file_monitor_get_type (void); 53 54 G_END_DECLS 55 56 #endif /* __G_FEN_FILE_MONITOR_H__ */ 57