From: Bruno Martins Date: Thu, 13 Jan 2022 20:48:25 +0000 (+0000) Subject: hidl: touch: Use pragma once X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3aff9ef229a3489451a7665e0f332707abbc736c;p=GitHub%2FLineageOS%2Fandroid_hardware_samsung.git hidl: touch: Use pragma once Change-Id: Ib2567a21f0a31e88db6015e3504f78153ece7668 --- diff --git a/hidl/touch/GloveMode.h b/hidl/touch/GloveMode.h index 38a522c..08fe4a7 100644 --- a/hidl/touch/GloveMode.h +++ b/hidl/touch/GloveMode.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019 The LineageOS Project + * Copyright (C) 2019-2022 The LineageOS Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,8 +14,7 @@ * limitations under the License. */ -#ifndef VENDOR_LINEAGE_TOUCH_V1_0_GLOVEMODE_H -#define VENDOR_LINEAGE_TOUCH_V1_0_GLOVEMODE_H +#pragma once #include #include @@ -54,5 +53,3 @@ class GloveMode : public IGloveMode { } // namespace touch } // namespace lineage } // namespace vendor - -#endif // VENDOR_LINEAGE_TOUCH_V1_0_GLOVEMODE_H diff --git a/hidl/touch/KeyDisabler.h b/hidl/touch/KeyDisabler.h index e6309ef..3d4464b 100644 --- a/hidl/touch/KeyDisabler.h +++ b/hidl/touch/KeyDisabler.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019 The LineageOS Project + * Copyright (C) 2019-2022 The LineageOS Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,8 +14,7 @@ * limitations under the License. */ -#ifndef VENDOR_LINEAGE_TOUCH_V1_0_KEYDISABLER_H -#define VENDOR_LINEAGE_TOUCH_V1_0_KEYDISABLER_H +#pragma once #include #include @@ -54,5 +53,3 @@ class KeyDisabler : public IKeyDisabler { } // namespace touch } // namespace lineage } // namespace vendor - -#endif // VENDOR_LINEAGE_TOUCH_V1_0_KEYDISABLER_H diff --git a/hidl/touch/StylusMode.h b/hidl/touch/StylusMode.h index c9b12b2..91bbee2 100644 --- a/hidl/touch/StylusMode.h +++ b/hidl/touch/StylusMode.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019 The LineageOS Project + * Copyright (C) 2019-2022 The LineageOS Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,8 +14,7 @@ * limitations under the License. */ -#ifndef VENDOR_LINEAGE_TOUCH_V1_0_STYLUSMODE_H -#define VENDOR_LINEAGE_TOUCH_V1_0_STYLUSMODE_H +#pragma once #include #include @@ -54,5 +53,3 @@ class StylusMode : public IStylusMode { } // namespace touch } // namespace lineage } // namespace vendor - -#endif // VENDOR_LINEAGE_TOUCH_V1_0_STYLUSMODE_H diff --git a/hidl/touch/TouchscreenGesture.h b/hidl/touch/TouchscreenGesture.h index 4d40847..28bf9c8 100644 --- a/hidl/touch/TouchscreenGesture.h +++ b/hidl/touch/TouchscreenGesture.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019 The LineageOS Project + * Copyright (C) 2019-2022 The LineageOS Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,8 +14,7 @@ * limitations under the License. */ -#ifndef VENDOR_LINEAGE_TOUCH_V1_0_TOUCHSCREENGESTURE_H -#define VENDOR_LINEAGE_TOUCH_V1_0_TOUCHSCREENGESTURE_H +#pragma once #include #include @@ -61,5 +60,3 @@ class TouchscreenGesture : public ITouchscreenGesture { } // namespace touch } // namespace lineage } // namespace vendor - -#endif // VENDOR_LINEAGE_TOUCH_V1_0_TOUCHSCREENGESTURE_H