Move resource_cast helper to shared utils/ directory
This commit is contained in:
parent
e0074d6078
commit
0b21c53d44
16 changed files with 14 additions and 17 deletions
|
@ -6,8 +6,6 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "kwin_export.h"
|
|
||||||
|
|
||||||
#include <limits>
|
#include <limits>
|
||||||
#include <type_traits>
|
#include <type_traits>
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
#include "datacontrolsource_v1.h"
|
#include "datacontrolsource_v1.h"
|
||||||
#include "clientconnection.h"
|
#include "clientconnection.h"
|
||||||
#include "datacontroldevicemanager_v1.h"
|
#include "datacontroldevicemanager_v1.h"
|
||||||
#include "utils.h"
|
#include "utils/resource.h"
|
||||||
// Qt
|
// Qt
|
||||||
#include <QStringList>
|
#include <QStringList>
|
||||||
// Wayland
|
// Wayland
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
#include "clientconnection.h"
|
#include "clientconnection.h"
|
||||||
#include "datadevicemanager.h"
|
#include "datadevicemanager.h"
|
||||||
#include "datasource_p.h"
|
#include "datasource_p.h"
|
||||||
#include "utils.h"
|
#include "utils/resource.h"
|
||||||
// Qt
|
// Qt
|
||||||
#include <QStringList>
|
#include <QStringList>
|
||||||
// Wayland
|
// Wayland
|
||||||
|
|
|
@ -6,8 +6,8 @@
|
||||||
#include "drmlease_v1.h"
|
#include "drmlease_v1.h"
|
||||||
#include "display.h"
|
#include "display.h"
|
||||||
#include "drmlease_v1_p.h"
|
#include "drmlease_v1_p.h"
|
||||||
#include "utils.h"
|
|
||||||
#include "utils/common.h"
|
#include "utils/common.h"
|
||||||
|
#include "utils/resource.h"
|
||||||
|
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
#include "output.h"
|
#include "output.h"
|
||||||
#include "display.h"
|
#include "display.h"
|
||||||
#include "display_p.h"
|
#include "display_p.h"
|
||||||
#include "utils.h"
|
#include "utils/resource.h"
|
||||||
|
|
||||||
#include "core/output.h"
|
#include "core/output.h"
|
||||||
|
|
||||||
|
|
|
@ -8,8 +8,8 @@
|
||||||
|
|
||||||
#include "display.h"
|
#include "display.h"
|
||||||
#include "display_p.h"
|
#include "display_p.h"
|
||||||
#include "utils.h"
|
|
||||||
#include "utils/common.h"
|
#include "utils/common.h"
|
||||||
|
#include "utils/resource.h"
|
||||||
|
|
||||||
#include "core/output.h"
|
#include "core/output.h"
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
#include "plasmashell.h"
|
#include "plasmashell.h"
|
||||||
#include "display.h"
|
#include "display.h"
|
||||||
#include "surface.h"
|
#include "surface.h"
|
||||||
#include "utils.h"
|
#include "utils/resource.h"
|
||||||
|
|
||||||
#include <qwayland-server-plasma-shell.h>
|
#include <qwayland-server-plasma-shell.h>
|
||||||
|
|
||||||
|
|
|
@ -14,8 +14,8 @@
|
||||||
#include "relativepointer_v1_p.h"
|
#include "relativepointer_v1_p.h"
|
||||||
#include "seat.h"
|
#include "seat.h"
|
||||||
#include "surface.h"
|
#include "surface.h"
|
||||||
#include "utils.h"
|
|
||||||
#include "utils/common.h"
|
#include "utils/common.h"
|
||||||
|
#include "utils/resource.h"
|
||||||
|
|
||||||
namespace KWin
|
namespace KWin
|
||||||
{
|
{
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
#include "primaryselectionsource_v1.h"
|
#include "primaryselectionsource_v1.h"
|
||||||
#include "clientconnection.h"
|
#include "clientconnection.h"
|
||||||
#include "primaryselectiondevicemanager_v1.h"
|
#include "primaryselectiondevicemanager_v1.h"
|
||||||
#include "utils.h"
|
#include "utils/resource.h"
|
||||||
// Qt
|
// Qt
|
||||||
#include <QStringList>
|
#include <QStringList>
|
||||||
// Wayland
|
// Wayland
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
|
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
|
||||||
*/
|
*/
|
||||||
#include "region_p.h"
|
#include "region_p.h"
|
||||||
#include "utils.h"
|
#include "utils/resource.h"
|
||||||
|
|
||||||
namespace KWin
|
namespace KWin
|
||||||
{
|
{
|
||||||
|
|
|
@ -29,8 +29,8 @@
|
||||||
#include "textinput_v2_p.h"
|
#include "textinput_v2_p.h"
|
||||||
#include "textinput_v3_p.h"
|
#include "textinput_v3_p.h"
|
||||||
#include "touch_p.h"
|
#include "touch_p.h"
|
||||||
#include "utils.h"
|
|
||||||
#include "utils/common.h"
|
#include "utils/common.h"
|
||||||
|
#include "utils/resource.h"
|
||||||
#include "xdgtopleveldrag_v1.h"
|
#include "xdgtopleveldrag_v1.h"
|
||||||
|
|
||||||
#include <linux/input.h>
|
#include <linux/input.h>
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#include "subcompositor.h"
|
#include "subcompositor.h"
|
||||||
#include "surface_p.h"
|
#include "surface_p.h"
|
||||||
#include "transaction.h"
|
#include "transaction.h"
|
||||||
#include "utils.h"
|
#include "utils/resource.h"
|
||||||
|
|
||||||
#include <wayland-server.h>
|
#include <wayland-server.h>
|
||||||
// std
|
// std
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
|
|
||||||
#include "core/graphicsbuffer.h"
|
#include "core/graphicsbuffer.h"
|
||||||
#include "surface.h"
|
#include "surface.h"
|
||||||
#include "utils.h"
|
|
||||||
// Qt
|
// Qt
|
||||||
#include <QHash>
|
#include <QHash>
|
||||||
#include <QPointer>
|
#include <QPointer>
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
#include "display.h"
|
#include "display.h"
|
||||||
#include "seat.h"
|
#include "seat.h"
|
||||||
#include "surface.h"
|
#include "surface.h"
|
||||||
#include "utils.h"
|
#include "utils/resource.h"
|
||||||
|
|
||||||
#include "qwayland-server-tablet-unstable-v2.h"
|
#include "qwayland-server-tablet-unstable-v2.h"
|
||||||
|
|
||||||
|
|
|
@ -10,8 +10,8 @@
|
||||||
#include "display.h"
|
#include "display.h"
|
||||||
#include "output.h"
|
#include "output.h"
|
||||||
#include "seat.h"
|
#include "seat.h"
|
||||||
#include "utils.h"
|
|
||||||
#include "utils/common.h"
|
#include "utils/common.h"
|
||||||
|
#include "utils/resource.h"
|
||||||
|
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
#include "datasource_p.h"
|
#include "datasource_p.h"
|
||||||
#include "display.h"
|
#include "display.h"
|
||||||
#include "surface.h"
|
#include "surface.h"
|
||||||
#include "utils.h"
|
#include "utils/resource.h"
|
||||||
#include "xdgshell.h"
|
#include "xdgshell.h"
|
||||||
|
|
||||||
#include <qwayland-server-qt-toplevel-drag-v1.h>
|
#include <qwayland-server-qt-toplevel-drag-v1.h>
|
||||||
|
|
Loading…
Reference in a new issue