backends/drm: use #pragma
This commit is contained in:
parent
629a32a802
commit
ed8d696698
6 changed files with 6 additions and 24 deletions
|
@ -6,8 +6,7 @@
|
|||
|
||||
SPDX-License-Identifier: GPL-2.0-or-later
|
||||
*/
|
||||
#ifndef KWIN_DRM_BACKEND_H
|
||||
#define KWIN_DRM_BACKEND_H
|
||||
#pragma once
|
||||
#include "core/platform.h"
|
||||
|
||||
#include "dpmsinputeventfilter.h"
|
||||
|
@ -113,5 +112,3 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -6,8 +6,7 @@
|
|||
|
||||
SPDX-License-Identifier: GPL-2.0-or-later
|
||||
*/
|
||||
#ifndef KWIN_drm_crtc_H
|
||||
#define KWIN_drm_crtc_H
|
||||
#pragma once
|
||||
|
||||
#include "drm_object.h"
|
||||
|
||||
|
@ -64,5 +63,3 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -6,9 +6,7 @@
|
|||
|
||||
SPDX-License-Identifier: GPL-2.0-or-later
|
||||
*/
|
||||
|
||||
#ifndef DRM_GPU_H
|
||||
#define DRM_GPU_H
|
||||
#pragma once
|
||||
|
||||
#include "drm_pipeline.h"
|
||||
|
||||
|
@ -137,5 +135,3 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif // DRM_GPU_H
|
||||
|
|
|
@ -6,10 +6,8 @@
|
|||
|
||||
SPDX-License-Identifier: GPL-2.0-or-later
|
||||
*/
|
||||
#ifndef KWIN_DRM_LOGGING_H
|
||||
#define KWIN_DRM_LOGGING_H
|
||||
#pragma once
|
||||
#include <QDebug>
|
||||
#include <QLoggingCategory>
|
||||
|
||||
Q_DECLARE_LOGGING_CATEGORY(KWIN_DRM)
|
||||
#endif
|
||||
|
|
|
@ -6,8 +6,7 @@
|
|||
|
||||
SPDX-License-Identifier: GPL-2.0-or-later
|
||||
*/
|
||||
#ifndef KWIN_DRM_OUTPUT_H
|
||||
#define KWIN_DRM_OUTPUT_H
|
||||
#pragma once
|
||||
|
||||
#include "drm_abstract_output.h"
|
||||
#include "drm_object.h"
|
||||
|
@ -92,5 +91,3 @@ private:
|
|||
}
|
||||
|
||||
Q_DECLARE_METATYPE(KWin::DrmOutput *)
|
||||
|
||||
#endif
|
||||
|
|
|
@ -7,8 +7,7 @@
|
|||
|
||||
SPDX-License-Identifier: GPL-2.0-or-later
|
||||
*/
|
||||
#ifndef KWIN_DRM_POINTER_H
|
||||
#define KWIN_DRM_POINTER_H
|
||||
#pragma once
|
||||
|
||||
#include <memory>
|
||||
#include <xf86drm.h>
|
||||
|
@ -149,5 +148,3 @@ struct DrmDeleter<drmModeLesseeListRes>
|
|||
template<typename T>
|
||||
using DrmUniquePtr = std::unique_ptr<T, DrmDeleter<T>>;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue