Commit 5bf1332d authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

backends/wayland: Use #pragma once

parent a56b09ab
......@@ -7,8 +7,8 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef KWIN_EGL_WAYLAND_BACKEND_H
#define KWIN_EGL_WAYLAND_BACKEND_H
#pragma once
#include "abstract_egl_backend.h"
#include "outputlayer.h"
#include "utils/damagejournal.h"
......@@ -116,7 +116,5 @@ private:
friend class EglWaylandTexture;
};
}
}
#endif
} // namespace Wayland
} // namespace KWin
......@@ -6,10 +6,9 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef KWIN_WAYLAND_LOGGING_H
#define KWIN_WAYLAND_LOGGING_H
#pragma once
#include <QDebug>
#include <QLoggingCategory>
Q_DECLARE_LOGGING_CATEGORY(KWIN_WAYLAND_BACKEND)
#endif
......@@ -7,8 +7,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef KWIN_SCENE_QPAINTER_WAYLAND_BACKEND_H
#define KWIN_SCENE_QPAINTER_WAYLAND_BACKEND_H
#pragma once
#include "outputlayer.h"
#include "qpainterbackend.h"
......@@ -96,7 +95,5 @@ private:
QMap<Output *, std::shared_ptr<WaylandQPainterOutput>> m_outputs;
};
}
}
#endif
} // namespace Wayland
} // namespace KWin
......@@ -7,8 +7,8 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef KWIN_WAYLAND_BACKEND_H
#define KWIN_WAYLAND_BACKEND_H
#pragma once
#include <config-kwin.h>
// KWin
#include "inputbackend.h"
......@@ -387,5 +387,3 @@ inline KWayland::Client::ShmPool *WaylandBackend::shmPool()
} // namespace Wayland
} // namespace KWin
#endif // KWIN_WAYLAND_BACKEND_H
......@@ -6,8 +6,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef KWIN_WAYLAND_OUTPUT_H
#define KWIN_WAYLAND_OUTPUT_H
#pragma once
#include "output.h"
......@@ -112,7 +111,5 @@ private:
bool m_hasBeenConfigured = false;
};
}
}
#endif
} // namespace Wayland
} // namespace KWin
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment