glib/gio/win32/gwin32directorymonitor.h

63 lines
2.4 KiB
C
Raw Normal View History

/* GIO - GLib Input, Output and Streaming Library
*
* Copyright (C) 2006-2007 Red Hat, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General
* Public License along with this library; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307, USA.
*
* Author: Vlad Grecescu <b100dian@gmail.com>
*
*/
#ifndef __G_WIN32_DIRECTORY_MONITOR_H__
#define __G_WIN32_DIRECTORY_MONITOR_H__
#include <glib.h>
#include <glib-object.h>
#include <gio/gio.h>
#include <stdlib.h>
#include <string.h>
#include "glocaldirectorymonitor.h"
#include "giomodule.h"
G_BEGIN_DECLS
#define G_TYPE_WIN32_DIRECTORY_MONITOR (g_win32_directory_monitor_get_type ())
#define G_WIN32_DIRECTORY_MONITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), G_TYPE_WIN32_DIRECTORY_MONITOR, GWin32DirectoryMonitor))
#define G_WIN32_DIRECTORY_MONITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), G_TYPE_WIN32_DIRECTORY_MONITOR, GWin32DirectoryMonitorClass))
#define G_IS_WIN32_DIRECTORY_MONITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), G_TYPE_WIN32_DIRECTORY_MONITOR))
#define G_IS_WIN32_DIRECTORY_MONITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), G_TYPE_WIN32_DIRECTORY_MONITOR))
#define G_WIN32_DIRECTORY_MONITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), G_TYPE_WIN32_DIRECTORY_MONITOR, GWin32DirectoryMonitorClass))
typedef struct _GWin32DirectoryMonitor GWin32DirectoryMonitor;
typedef struct _GWin32DirectoryMonitorClass GWin32DirectoryMonitorClass;
typedef struct _GWin32DirectoryMonitorPrivate GWin32DirectoryMonitorPrivate;
struct _GWin32DirectoryMonitor {
GLocalDirectoryMonitor parent_instance;
GWin32DirectoryMonitorPrivate * priv;
};
struct _GWin32DirectoryMonitorClass {
GLocalDirectoryMonitorClass parent_class;
};
GType g_win32_directory_monitor_get_type (void);
void g_win32_directory_monitor_register (GIOModule *module);
G_END_DECLS
#endif /* __G_WIN32_DIRECTORY_MONITOR_H__ */