backends/virtual: Use #pragma once
This commit is contained in:
parent
f80a14d4f6
commit
64c71a37a0
4 changed files with 9 additions and 20 deletions
|
@ -6,8 +6,8 @@
|
|||
|
||||
SPDX-License-Identifier: GPL-2.0-or-later
|
||||
*/
|
||||
#ifndef KWIN_EGL_GBM_BACKEND_H
|
||||
#define KWIN_EGL_GBM_BACKEND_H
|
||||
#pragma once
|
||||
|
||||
#include "abstract_egl_backend.h"
|
||||
#include "outputlayer.h"
|
||||
|
||||
|
@ -65,6 +65,4 @@ private:
|
|||
std::map<Output *, std::unique_ptr<VirtualEglLayer>> m_outputs;
|
||||
};
|
||||
|
||||
} // namespace
|
||||
|
||||
#endif
|
||||
} // namespace KWin
|
||||
|
|
|
@ -6,8 +6,7 @@
|
|||
|
||||
SPDX-License-Identifier: GPL-2.0-or-later
|
||||
*/
|
||||
#ifndef KWIN_SCENE_QPAINTER_VIRTUAL_BACKEND_H
|
||||
#define KWIN_SCENE_QPAINTER_VIRTUAL_BACKEND_H
|
||||
#pragma once
|
||||
|
||||
#include "outputlayer.h"
|
||||
#include "qpainterbackend.h"
|
||||
|
@ -55,6 +54,4 @@ private:
|
|||
int m_frameCounter = 0;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
} // namespace KWin
|
|
@ -6,8 +6,7 @@
|
|||
|
||||
SPDX-License-Identifier: GPL-2.0-or-later
|
||||
*/
|
||||
#ifndef KWIN_VIRTUAL_BACKEND_H
|
||||
#define KWIN_VIRTUAL_BACKEND_H
|
||||
#pragma once
|
||||
|
||||
#include "platform.h"
|
||||
|
||||
|
@ -73,6 +72,4 @@ private:
|
|||
std::unique_ptr<Session> m_session;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
} // namespace KWin
|
||||
|
|
|
@ -6,8 +6,7 @@
|
|||
|
||||
SPDX-License-Identifier: GPL-2.0-or-later
|
||||
*/
|
||||
#ifndef KWIN_VIRTUAL_OUTPUT_H
|
||||
#define KWIN_VIRTUAL_OUTPUT_H
|
||||
#pragma once
|
||||
|
||||
#include "output.h"
|
||||
|
||||
|
@ -49,6 +48,4 @@ private:
|
|||
int m_identifier;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
} // namespace KWin
|
||||
|
|
Loading…
Reference in a new issue