It is 'registered', not 'registred'
[glib.git] / gio / win32 / gwin32directorymonitor.h
blob810f79760d86dc0792c635032b1b4da9ffdcbda8
1 /* GIO - GLib Input, Output and Streaming Library
2 *
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 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, write to the
17 * Free Software Foundation, Inc., 59 Temple Place, Suite 330,
18 * Boston, MA 02111-1307, USA.
20 * Author: Vlad Grecescu <b100dian@gmail.com>
23 #ifndef __G_WIN32_DIRECTORY_MONITOR_H__
24 #define __G_WIN32_DIRECTORY_MONITOR_H__
26 #include <glib.h>
27 #include <glib-object.h>
28 #include <gio/gio.h>
29 #include <stdlib.h>
30 #include <string.h>
32 #include "gio/glocaldirectorymonitor.h"
33 #include "gio/giomodule.h"
35 G_BEGIN_DECLS
38 #define G_TYPE_WIN32_DIRECTORY_MONITOR (g_win32_directory_monitor_get_type ())
39 #define G_WIN32_DIRECTORY_MONITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), G_TYPE_WIN32_DIRECTORY_MONITOR, GWin32DirectoryMonitor))
40 #define G_WIN32_DIRECTORY_MONITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), G_TYPE_WIN32_DIRECTORY_MONITOR, GWin32DirectoryMonitorClass))
41 #define G_IS_WIN32_DIRECTORY_MONITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), G_TYPE_WIN32_DIRECTORY_MONITOR))
42 #define G_IS_WIN32_DIRECTORY_MONITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), G_TYPE_WIN32_DIRECTORY_MONITOR))
43 #define G_WIN32_DIRECTORY_MONITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), G_TYPE_WIN32_DIRECTORY_MONITOR, GWin32DirectoryMonitorClass))
45 typedef struct _GWin32DirectoryMonitor GWin32DirectoryMonitor;
46 typedef struct _GWin32DirectoryMonitorClass GWin32DirectoryMonitorClass;
47 typedef struct _GWin32DirectoryMonitorPrivate GWin32DirectoryMonitorPrivate;
49 struct _GWin32DirectoryMonitor {
50 GLocalDirectoryMonitor parent_instance;
51 GWin32DirectoryMonitorPrivate * priv;
53 struct _GWin32DirectoryMonitorClass {
54 GLocalDirectoryMonitorClass parent_class;
57 GType g_win32_directory_monitor_get_type (void);
58 void g_win32_directory_monitor_register (GIOModule *module);
60 G_END_DECLS
62 #endif /* __G_WIN32_DIRECTORY_MONITOR_H__ */