Initial commit
[platform/upstream/glib2.0.git] / gio / fen / gfendirectorymonitor.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  *
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_DIRECTORY_MONITOR_H__
29 #define __G_FEN_DIRECTORY_MONITOR_H__
30
31 #include <glib-object.h>
32 #include <string.h>
33 #include "glocaldirectorymonitor.h"
34 #include "giomodule.h"
35
36 G_BEGIN_DECLS
37
38 #define G_TYPE_FEN_DIRECTORY_MONITOR            (_g_fen_directory_monitor_get_type ())
39 #define G_FEN_DIRECTORY_MONITOR(o)                      (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_FEN_DIRECTORY_MONITOR, GFenDirectoryMonitor))
40 #define G_FEN_DIRECTORY_MONITOR_CLASS(k)                (G_TYPE_CHECK_CLASS_CAST ((k), G_TYPE_FEN_DIRECTORY_MONITOR, GFenDirectoryMonitorClass))
41 #define G_IS_FEN_DIRECTORY_MONITOR(o)           (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_FEN_DIRECTORY_MONITOR))
42 #define G_IS_FEN_DIRECTORY_MONITOR_CLASS(k)     (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_FEN_DIRECTORY_MONITOR))
43
44 typedef struct _GFenDirectoryMonitor      GFenDirectoryMonitor;
45 typedef struct _GFenDirectoryMonitorClass GFenDirectoryMonitorClass;
46
47 struct _GFenDirectoryMonitorClass {
48   GLocalDirectoryMonitorClass parent_class;
49 };
50
51 GType _g_fen_directory_monitor_get_type (void) G_GNUC_CONST;
52
53 G_END_DECLS
54
55 #endif /* __G_FEN_DIRECTORY_MONITOR_H__ */