[kdbus] KDBUS_ITEM_PAYLOAD_OFF items are (once again) relative to msg header
[platform/upstream/glib.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, see <http://www.gnu.org/licenses/>.
22  *
23  * Authors: Alexander Larsson <alexl@redhat.com>
24  *          John McCutchan <john@johnmccutchan.com> 
25  *          Sebastian Dröge <slomo@circular-chaos.org>
26  *          Lin Ma <lin.ma@sun.com>
27  */
28
29 #ifndef __G_FEN_FILE_MONITOR_H__
30 #define __G_FEN_FILE_MONITOR_H__
31
32 #include <glib-object.h>
33 #include <string.h>
34 #include <gio/gfilemonitor.h>
35 #include <gio/glocalfilemonitor.h>
36 #include <gio/giomodule.h>
37
38 G_BEGIN_DECLS
39
40 #define G_TYPE_FEN_FILE_MONITOR         (_g_fen_file_monitor_get_type ())
41 #define G_FEN_FILE_MONITOR(o)           (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_FEN_FILE_MONITOR, GFenFileMonitor))
42 #define G_FEN_FILE_MONITOR_CLASS(k)             (G_TYPE_CHECK_CLASS_CAST ((k), G_TYPE_FEN_FILE_MONITOR, GFenFileMonitorClass))
43 #define G_IS_FEN_FILE_MONITOR(o)                (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_FEN_FILE_MONITOR))
44 #define G_IS_FEN_FILE_MONITOR_CLASS(k)  (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_FEN_FILE_MONITOR))
45
46 typedef struct _GFenFileMonitor      GFenFileMonitor;
47 typedef struct _GFenFileMonitorClass GFenFileMonitorClass;
48
49 struct _GFenFileMonitorClass {
50   GLocalFileMonitorClass parent_class;
51 };
52
53 GType _g_fen_file_monitor_get_type (void);
54
55 G_END_DECLS
56
57 #endif /* __G_FEN_FILE_MONITOR_H__ */