Commit 6db530bf authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

backends/x11: Use #pragma once

parent 8dd719e4
......@@ -6,8 +6,8 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef KWIN_EGL_X11_BACKEND_H
#define KWIN_EGL_X11_BACKEND_H
#pragma once
#include "eglonxbackend.h"
#include "kwinglutils.h"
#include "outputlayer.h"
......@@ -71,6 +71,4 @@ private:
X11WindowedBackend *m_backend;
};
} // namespace
#endif
} // namespace KWin
......@@ -6,10 +6,9 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef KWIN_X11_LOGGING_H
#define KWIN_X11_LOGGING_H
#pragma once
#include <QDebug>
#include <QLoggingCategory>
Q_DECLARE_LOGGING_CATEGORY(KWIN_X11WINDOWED)
#endif
......@@ -6,8 +6,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef KWIN_SCENE_QPAINTER_X11_BACKEND_H
#define KWIN_SCENE_QPAINTER_X11_BACKEND_H
#pragma once
#include "outputlayer.h"
#include "qpainterbackend.h"
......@@ -57,6 +56,4 @@ private:
QMap<Output *, std::shared_ptr<X11WindowedQPainterOutput>> m_outputs;
};
}
#endif
} // namespace KWin
......@@ -6,8 +6,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef KWIN_X11WINDOWED_BACKEND_H
#define KWIN_X11WINDOWED_BACKEND_H
#pragma once
#include "inputbackend.h"
#include "inputdevice.h"
......@@ -177,6 +176,4 @@ private:
QVector<X11WindowedOutput *> m_outputs;
};
}
#endif
} // namespace KWin
......@@ -6,8 +6,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef KWIN_X11WINDOWED_OUTPUT_H
#define KWIN_X11WINDOWED_OUTPUT_H
#pragma once
#include "output.h"
#include <kwin_export.h>
......@@ -82,6 +81,4 @@ private:
X11WindowedBackend *m_backend;
};
}
#endif
} // 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