1 /* GIO - GLib Input, Output and Streaming Library
3 * Copyright (C) 2006-2007 Red Hat, Inc.
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General
16 * Public License along with this library; if not, see <http://www.gnu.org/licenses/>.
18 * Author: Chun-wei Fan <fanc999@yahoo.com.tw>
21 #ifndef __G_WIN32_FILE_MONITOR_H__
22 #define __G_WIN32_FILE_MONITOR_H__
25 #include <glib-object.h>
30 #include "gio/gfilemonitor.h"
31 #include "gio/glocalfilemonitor.h"
32 #include "gio/giomodule.h"
34 #include "gwin32fsmonitorutils.h"
38 #define G_TYPE_WIN32_FILE_MONITOR (g_win32_file_monitor_get_type ())
39 #define G_WIN32_FILE_MONITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), G_TYPE_WIN32_FILE_MONITOR, GWin32FileMonitor))
40 #define G_WIN32_FILE_MONITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), G_TYPE_WIN32_FILE_MONITOR, GWin32FileMonitorClass))
41 #define G_IS_WIN32_FILE_MONITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), G_TYPE_WIN32_FILE_MONITOR))
42 #define G_IS_WIN32_FILE_MONITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), G_TYPE_WIN32_FILE_MONITOR))
43 #define G_WIN32_FILE_MONITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), G_TYPE_WIN32_FILE_MONITOR, GWin32FileMonitorClass))
45 typedef struct _GWin32FileMonitor GWin32FileMonitor
;
46 typedef struct _GWin32FileMonitorClass GWin32FileMonitorClass
;
47 typedef struct _GWin32FileMonitorPrivate GWin32FileMonitorPrivate
;
49 struct _GWin32FileMonitor
{
50 GLocalFileMonitor parent_instance
;
51 GWin32FSMonitorPrivate
* priv
;
53 struct _GWin32FileMonitorClass
{
54 GLocalFileMonitorClass parent_class
;
57 GType
g_win32_file_monitor_get_type (void);
58 void g_win32_file_monitor_register (GIOModule
*module
);
62 #endif /* __G_WIN32_FILE_MONITOR_H__ */