Add some more cases to the app-id unit tests
[glib.git] / gio / kqueue / gkqueuefilemonitor.h
blob32752f105aa2a4203ad009e4b61f7700410881db
1 /*******************************************************************************
2 Copyright (c) 2011, 2012 Dmitry Matveev <me@dmitrymatveev.co.uk>
4 Permission is hereby granted, free of charge, to any person obtaining a copy
5 of this software and associated documentation files (the "Software"), to deal
6 in the Software without restriction, including without limitation the rights
7 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8 copies of the Software, and to permit persons to whom the Software is
9 furnished to do so, subject to the following conditions:
11 The above copyright notice and this permission notice shall be included in
12 all copies or substantial portions of the Software.
14 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20 THE SOFTWARE.
21 *******************************************************************************/
23 #ifndef __G_KQUEUE_FILE_MONITOR_H__
24 #define __G_KQUEUE_FILE_MONITOR_H__
26 #include <glib-object.h>
27 #include <string.h>
28 #include <gio/gfilemonitor.h>
29 #include <gio/glocalfilemonitor.h>
30 #include <gio/giomodule.h>
32 G_BEGIN_DECLS
34 #define G_TYPE_KQUEUE_FILE_MONITOR (g_kqueue_file_monitor_get_type ())
35 #define G_KQUEUE_FILE_MONITOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_KQUEUE_FILE_MONITOR, GKqueueFileMonitor))
36 #define G_KQUEUE_FILE_MONITOR_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), G_TYPE_KQUEUE_FILE_MONITOR, GKqueueFileMonitorClass))
37 #define G_IS_KQUEUE_FILE_MONITOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_KQUEUE_FILE_MONITOR))
38 #define G_IS_KQUEUE_FILE_MONITOR_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_KQUEUE_FILE_MONITOR))
40 typedef struct _GKqueueFileMonitor GKqueueFileMonitor;
41 typedef struct _GKqueueFileMonitorClass GKqueueFileMonitorClass;
43 struct _GKqueueFileMonitorClass {
44 GLocalFileMonitorClass parent_class;
47 GType g_kqueue_file_monitor_get_type (void);
49 G_END_DECLS
51 #endif /* __G_KQUEUE_FILE_MONITOR_H__ */