Commit 55d04219 authored by adrien faveraux's avatar adrien faveraux Committed by Vlad Zahorodnii
Browse files

migrate ifndef to pragma once

parent 59c86126
Pipeline #53704 passed with stage
in 7 minutes and 12 seconds
......@@ -3,8 +3,7 @@
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/
#ifndef KWAYLAND_SERVER_APPMENU_INTERFACE_H
#define KWAYLAND_SERVER_APPMENU_INTERFACE_H
#pragma once
#include <KWaylandServer/kwaylandserver_export.h>
#include <QObject>
......@@ -97,5 +96,3 @@ private:
};
}
#endif
......@@ -3,8 +3,7 @@
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/
#ifndef WAYLAND_SERVER_BUFFER_INTERFACE_H
#define WAYLAND_SERVER_BUFFER_INTERFACE_H
#pragma once
#include <QImage>
#include <QObject>
......@@ -175,5 +174,3 @@ private:
}
Q_DECLARE_METATYPE(KWaylandServer::BufferInterface*)
#endif
......@@ -3,8 +3,7 @@
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/
#ifndef KWAYLAND_SERVER_CLIENTCONNECTION_H
#define KWAYLAND_SERVER_CLIENTCONNECTION_H
#pragma once
#include <sys/types.h>
......@@ -141,5 +140,3 @@ private:
}
Q_DECLARE_METATYPE(KWaylandServer::ClientConnection*)
#endif
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/
#ifndef WAYLAND_SERVER_COMPOSITOR_INTERFACE_H
#define WAYLAND_SERVER_COMPOSITOR_INTERFACE_H
#pragma once
#include "region_interface.h"
#include "surface_interface.h"
......@@ -53,5 +52,3 @@ private:
};
} // namespace KWaylandServer
#endif
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/
#ifndef KWAYLAND_SERVER_CONTRAST_INTERFACE_H
#define KWAYLAND_SERVER_CONTRAST_INTERFACE_H
#pragma once
#include <QObject>
......@@ -73,5 +72,3 @@ private:
};
}
#endif
......@@ -3,8 +3,7 @@
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/
#ifndef WAYLAND_SERVER_DATA_CONTROL_DEVICE_INTERFACE_H
#define WAYLAND_SERVER_DATA_CONTROL_DEVICE_INTERFACE_H
#pragma once
#include <QObject>
......@@ -55,5 +54,3 @@ private:
}
Q_DECLARE_METATYPE(KWaylandServer::DataControlDeviceV1Interface*)
#endif
......@@ -3,8 +3,7 @@
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/
#ifndef WAYLAND_SERVER_DATA_CONTROL_DEVICE_MANAGER_INTERFACE_H
#define WAYLAND_SERVER_DATA_CONTROL_DEVICE_MANAGER_INTERFACE_H
#pragma once
#include <QObject>
......@@ -41,5 +40,3 @@ private:
};
}
#endif
......@@ -3,8 +3,7 @@
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/
#ifndef WAYLAND_SERVER_DATA_CONTROL_OFFER_INTERFACE_H
#define WAYLAND_SERVER_DATA_CONTROL_OFFER_INTERFACE_H
#pragma once
#include <QObject>
......@@ -47,5 +46,3 @@ private:
}
Q_DECLARE_METATYPE(KWaylandServer::DataControlOfferV1Interface*)
#endif
......@@ -3,8 +3,7 @@
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/
#ifndef WAYLAND_SERVER_DATA_CONTROL_SOURCE_INTERFACE_H
#define WAYLAND_SERVER_DATA_CONTROL_SOURCE_INTERFACE_H
#pragma once
#include "abstract_data_source.h"
......@@ -47,5 +46,3 @@ private:
}
Q_DECLARE_METATYPE(KWaylandServer::DataControlSourceV1Interface*)
#endif
......@@ -5,8 +5,7 @@
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/
#ifndef WAYLAND_SERVER_DATA_DEVICE_INTERFACE_H
#define WAYLAND_SERVER_DATA_DEVICE_INTERFACE_H
#pragma once
#include <QObject>
......@@ -133,5 +132,3 @@ private:
}
Q_DECLARE_METATYPE(KWaylandServer::DataDeviceInterface*)
#endif
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/
#ifndef WAYLAND_SERVER_DATA_DEVICE_MANAGER_INTERFACE_H
#define WAYLAND_SERVER_DATA_DEVICE_MANAGER_INTERFACE_H
#pragma once
#include <QObject>
......@@ -53,5 +52,3 @@ private:
}
Q_DECLARE_OPERATORS_FOR_FLAGS(KWaylandServer::DataDeviceManagerInterface::DnDActions)
#endif
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/
#ifndef WAYLAND_SERVER_DATA_OFFER_INTERFACE_H
#define WAYLAND_SERVER_DATA_OFFER_INTERFACE_H
#pragma once
#include <QObject>
......@@ -71,5 +70,3 @@ private:
}
Q_DECLARE_METATYPE(KWaylandServer::DataOfferInterface*)
#endif
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/
#ifndef WAYLAND_SERVER_DATA_SOURCE_INTERFACE_H
#define WAYLAND_SERVER_DATA_SOURCE_INTERFACE_H
#pragma once
#include "abstract_data_source.h"
......@@ -62,5 +61,3 @@ private:
}
Q_DECLARE_METATYPE(KWaylandServer::DataSourceInterface*)
#endif
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/
#ifndef WAYLAND_SERVER_DISPLAY_H
#define WAYLAND_SERVER_DISPLAY_H
#pragma once
#include <QList>
#include <QObject>
......@@ -157,5 +156,3 @@ private:
};
}
#endif
......@@ -3,8 +3,7 @@
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/
#ifndef WAYLAND_SERVER_DPMS_INTERFACE_H
#define WAYLAND_SERVER_DPMS_INTERFACE_H
#pragma once
#include <QObject>
......@@ -62,5 +61,3 @@ private:
};
}
#endif
......@@ -3,8 +3,7 @@
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/
#ifndef WAYLAND_SERVER_DPMS_INTERFACE_P_H
#define WAYLAND_SERVER_DPMS_INTERFACE_P_H
#pragma once
#include "dpms_interface.h"
......@@ -47,5 +46,3 @@ protected:
};
}
#endif
......@@ -3,8 +3,7 @@
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/
#ifndef WAYLAND_SERVER_EGLSTREAM_CONTROLLER_INTERFACE_H
#define WAYLAND_SERVER_EGLSTREAM_CONTROLLER_INTERFACE_H
#pragma once
#include "global.h"
#include "surface_interface.h"
......@@ -45,5 +44,3 @@ private:
};
}
#endif
......@@ -3,8 +3,7 @@
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/
#ifndef KWAYLAND_SERVER_FAKEINPUT_INTERFACE_H
#define KWAYLAND_SERVER_FAKEINPUT_INTERFACE_H
#pragma once
#include <QPointF>
#include <QSizeF>
......@@ -172,5 +171,3 @@ private:
}
Q_DECLARE_METATYPE(KWaylandServer::FakeInputDevice*)
#endif
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/
#ifndef KWAYLAND_SERVER_FILTERED_DISPLAY_H
#define KWAYLAND_SERVER_FILTERED_DISPLAY_H
#pragma once
#include "global.h"
#include "display.h"
......@@ -44,5 +43,3 @@ private:
};
}
#endif
......@@ -3,8 +3,7 @@
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/
#ifndef WAYLAND_SERVER_GLOBAL_H
#define WAYLAND_SERVER_GLOBAL_H
#pragma once
#include <QObject>
......@@ -89,5 +88,3 @@ protected:
};
}
#endif
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