backends/wayland: Use #pragma once
This commit is contained in:
parent
a56b09ab9d
commit
5bf1332df5
5 changed files with 14 additions and 25 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue