Tizen 2.1 base
[platform/upstream/glib2.0.git] / gio / fen / gfenfilemonitor.h
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  * Copyright (c) 2008, 2010 Oracle and/or its affiliates, Inc. All rights
8  * reserved.
9  *
10  * This library is free software; you can redistribute it and/or
11  * modify it under the terms of the GNU Lesser General Public
12  * License as published by the Free Software Foundation; either
13  * version 2 of the License, or (at your option) any later version.
14  *
15  * This library is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18  * Lesser General Public License for more details.
19  *
20  * You should have received a copy of the GNU Lesser General
21  * Public License along with this library; if not, write to the
22  * Free Software Foundation, Inc., 59 Temple Place, Suite 330,
23  * Boston, MA 02111-1307, USA.
24  *
25  * Authors: Alexander Larsson <alexl@redhat.com>
26  *          John McCutchan <john@johnmccutchan.com> 
27  *          Sebastian Dröge <slomo@circular-chaos.org>
28  *          Lin Ma <lin.ma@sun.com>
29  */
30
31 #ifndef __G_FEN_FILE_MONITOR_H__
32 #define __G_FEN_FILE_MONITOR_H__
33
34 #include <glib-object.h>
35 #include <string.h>
36 #include <gio/gfilemonitor.h>
37 #include <gio/glocalfilemonitor.h>
38 #include <gio/giomodule.h>
39
40 G_BEGIN_DECLS
41
42 #define G_TYPE_FEN_FILE_MONITOR         (_g_fen_file_monitor_get_type ())
43 #define G_FEN_FILE_MONITOR(o)           (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_FEN_FILE_MONITOR, GFenFileMonitor))
44 #define G_FEN_FILE_MONITOR_CLASS(k)             (G_TYPE_CHECK_CLASS_CAST ((k), G_TYPE_FEN_FILE_MONITOR, GFenFileMonitorClass))
45 #define G_IS_FEN_FILE_MONITOR(o)                (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_FEN_FILE_MONITOR))
46 #define G_IS_FEN_FILE_MONITOR_CLASS(k)  (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_FEN_FILE_MONITOR))
47
48 typedef struct _GFenFileMonitor      GFenFileMonitor;
49 typedef struct _GFenFileMonitorClass GFenFileMonitorClass;
50
51 struct _GFenFileMonitorClass {
52   GLocalFileMonitorClass parent_class;
53 };
54
55 GType _g_fen_file_monitor_get_type (void);
56
57 G_END_DECLS
58
59 #endif /* __G_FEN_FILE_MONITOR_H__ */