LibreOffice Module vcl (master) 1
gtkbackend.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
9
10#ifndef INCLUDED_VCL_INC_UNX_GTK_GTKBACKEND_HXX
11#define INCLUDED_VCL_INC_UNX_GTK_GTKBACKEND_HXX
12
13#include <gtk/gtk.h>
14#if defined(GDK_WINDOWING_X11)
15#if GTK_CHECK_VERSION(4, 0, 0)
16#include <gdk/x11/gdkx.h>
17#else
18#include <gdk/gdkx.h>
19#endif
20bool DLSYM_GDK_IS_X11_DISPLAY(GdkDisplay* pDisplay);
21#endif
22#if defined(GDK_WINDOWING_WAYLAND)
23#if GTK_CHECK_VERSION(4, 0, 0)
24#include <gdk/wayland/gdkwayland.h>
25#else
26#include <gdk/gdkwayland.h>
27#endif
28bool DLSYM_GDK_IS_WAYLAND_DISPLAY(GdkDisplay* pDisplay);
29#endif
30
31#endif // INCLUDED_VCL_INC_UNX_GTK_GTKBACKEND_HXX
32
33/* vim:set shiftwidth=4 softtabstop=4 expandtab: */