From 3aff9ef229a3489451a7665e0f332707abbc736c Mon Sep 17 00:00:00 2001 From: Bruno Martins Date: Thu, 13 Jan 2022 20:48:25 +0000 Subject: [PATCH] hidl: touch: Use pragma once Change-Id: Ib2567a21f0a31e88db6015e3504f78153ece7668 --- hidl/touch/GloveMode.h | 7 ++----- hidl/touch/KeyDisabler.h | 7 ++----- hidl/touch/StylusMode.h | 7 ++----- hidl/touch/TouchscreenGesture.h | 7 ++----- 4 files changed, 8 insertions(+), 20 deletions(-) diff --git a/hidl/touch/GloveMode.h b/hidl/touch/GloveMode.h index 38a522c1..08fe4a7e 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 e6309efd..3d4464b4 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 c9b12b2c..91bbee2d 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 4d40847b..28bf9c8a 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