hidl: touch: Use pragma once

Change-Id: Ib2567a21f0a31e88db6015e3504f78153ece7668
tirimbino
Bruno Martins 3 years ago
parent 605b563c75
commit 3aff9ef229
  1. 7
      hidl/touch/GloveMode.h
  2. 7
      hidl/touch/KeyDisabler.h
  3. 7
      hidl/touch/StylusMode.h
  4. 7
      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_GLOVEMODE_H
#define VENDOR_LINEAGE_TOUCH_V1_0_GLOVEMODE_H
#pragma once
#include <hidl/MQDescriptor.h>
#include <hidl/Status.h>
@ -54,5 +53,3 @@ class GloveMode : public IGloveMode {
} // namespace touch
} // namespace lineage
} // namespace vendor
#endif // VENDOR_LINEAGE_TOUCH_V1_0_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_KEYDISABLER_H
#define VENDOR_LINEAGE_TOUCH_V1_0_KEYDISABLER_H
#pragma once
#include <hidl/MQDescriptor.h>
#include <hidl/Status.h>
@ -54,5 +53,3 @@ class KeyDisabler : public IKeyDisabler {
} // namespace touch
} // namespace lineage
} // namespace vendor
#endif // VENDOR_LINEAGE_TOUCH_V1_0_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_STYLUSMODE_H
#define VENDOR_LINEAGE_TOUCH_V1_0_STYLUSMODE_H
#pragma once
#include <hidl/MQDescriptor.h>
#include <hidl/Status.h>
@ -54,5 +53,3 @@ class StylusMode : public IStylusMode {
} // namespace touch
} // namespace lineage
} // namespace vendor
#endif // VENDOR_LINEAGE_TOUCH_V1_0_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_TOUCHSCREENGESTURE_H
#define VENDOR_LINEAGE_TOUCH_V1_0_TOUCHSCREENGESTURE_H
#pragma once
#include <hidl/MQDescriptor.h>
#include <hidl/Status.h>
@ -61,5 +60,3 @@ class TouchscreenGesture : public ITouchscreenGesture {
} // namespace touch
} // namespace lineage
} // namespace vendor
#endif // VENDOR_LINEAGE_TOUCH_V1_0_TOUCHSCREENGESTURE_H

Loading…
Cancel
Save