Debian Codegraph @

gdk/win32/gdkwin32monitor.h

raw
1 /*
2 * gdkwin32monitor.h
3 *
4 * Copyright 2016 Red Hat, Inc.
5 *
6 * Matthias Clasen <[email protected]>
7 * Руслан Ижбулатов <[email protected]>
8 *
9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public
11 * License as published by the Free Software Foundation; either
12 * version 2 of the License, or (at your option) any later version.
13 *
14 * This library is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * Library General Public License for more details.
18 *
19 * You should have received a copy of the GNU Library General Public
20 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
21 */
22
23 #ifndef __GDK_WIN32_MONITOR_H__
24 #define __GDK_WIN32_MONITOR_H__
25
26 #if !defined (__GDKWIN32_H_INSIDE__) && !defined (GDK_COMPILATION)
27 #error "Only <gdk/gdkwin32.h> can be included directly."
28 #endif
29
30 #include <gdk/gdkmonitor.h>
31
32 G_BEGIN_DECLS
33
34 #define GDK_TYPE_WIN32_MONITOR (gdk_win32_monitor_get_type ())
35 #define GDK_WIN32_MONITOR(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_WIN32_MONITOR, GdkWin32Monitor))
36 #define GDK_IS_WIN32_MONITOR(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_WIN32_MONITOR))
37
38 #ifdef GDK_COMPILATION
39 typedef struct _GdkWin32Monitor GdkWin32Monitor;
40 #else
41 typedef GdkMonitor GdkWin32Monitor;
42 #endif
43 typedef struct _GdkWin32MonitorClass GdkWin32MonitorClass;
44
45 GDK_AVAILABLE_IN_3_22
46 GType gdk_win32_monitor_get_type (void) G_GNUC_CONST;
47
48 G_END_DECLS
49
50 #endif /* __GDK_WIN32_MONITOR_H__ */