quartz: Add a forgotten file
authorMatthias Clasen <mclasen@redhat.com>
Sat, 1 Apr 2017 21:40:53 +0000 (17:40 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 1 Apr 2017 21:41:00 +0000 (17:41 -0400)
gdk/quartz/gdkquartzmonitor.h [new file with mode: 0644]

diff --git a/gdk/quartz/gdkquartzmonitor.h b/gdk/quartz/gdkquartzmonitor.h
new file mode 100644 (file)
index 0000000..c9555ee
--- /dev/null
@@ -0,0 +1,45 @@
+/*
+ * gdkquartzmonitor.h
+ *
+ * Copyright 2017 Tom Schoonjans
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library 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
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef __GDK_QUARTZ_MONITOR_H__
+#define __GDK_QUARTZ_MONITOR_H__
+
+#if !defined (__GDKQUARTZ_H_INSIDE__) && !defined (GDK_COMPILATION)
+#error "Only <gdk/gdkquartz.h> can be included directly."
+#endif
+
+#include <gdk/gdkmonitor.h>
+
+G_BEGIN_DECLS
+
+#define GDK_TYPE_QUARTZ_MONITOR           (gdk_quartz_monitor_get_type ())
+#define GDK_QUARTZ_MONITOR(object)        (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_QUARTZ_MONITOR, GdkQuartzMonitor))
+#define GDK_IS_QUARTZ_MONITOR(object)     (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_QUARTZ_MONITOR))
+
+typedef struct _GdkQuartzMonitor      GdkQuartzMonitor;
+typedef struct _GdkQuartzMonitorClass GdkQuartzMonitorClass;
+
+GDK_AVAILABLE_IN_3_22
+GType             gdk_quartz_monitor_get_type            (void) G_GNUC_CONST;
+
+
+G_END_DECLS
+
+#endif  /* __GDK_QUARTZ_MONITOR_H__ */
+