30 lines
687 B
C++
30 lines
687 B
C++
/*
|
|
* SPDX-FileCopyrightText: 2022-2024 The LineageOS Project
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <vendor/lineage/touch/1.0/IHighTouchPollingRate.h>
|
|
|
|
namespace vendor {
|
|
namespace lineage {
|
|
namespace touch {
|
|
namespace V1_0 {
|
|
namespace implementation {
|
|
|
|
using ::android::hardware::Return;
|
|
|
|
class HighTouchPollingRate : public IHighTouchPollingRate {
|
|
public:
|
|
// Methods from ::vendor::lineage::touch::V1_0::IHighTouchPollingRate follow.
|
|
Return<bool> isEnabled() override;
|
|
Return<bool> setEnabled(bool enabled) override;
|
|
};
|
|
|
|
} // namespace implementation
|
|
} // namespace V1_0
|
|
} // namespace touch
|
|
} // namespace lineage
|
|
} // namespace vendor
|