diff options
Diffstat (limited to 'exynos4/interfaces/livedisplay/1.0/include/Utils.h')
-rw-r--r-- | exynos4/interfaces/livedisplay/1.0/include/Utils.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/exynos4/interfaces/livedisplay/1.0/include/Utils.h b/exynos4/interfaces/livedisplay/1.0/include/Utils.h new file mode 100644 index 0000000..5aa9f8a --- /dev/null +++ b/exynos4/interfaces/livedisplay/1.0/include/Utils.h @@ -0,0 +1,41 @@ +/* +** Copyright 2016, The CyanogenMod Project +** 2017-2018, 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. +** You may obtain a copy of the License at +** +** http://www.apache.org/licenses/LICENSE-2.0 +** +** Unless required by applicable law or agreed to in writing, software +** distributed under the License is distributed on an "AS IS" BASIS, +** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +** See the License for the specific language governing permissions and +** limitations under the License. +*/ + +#ifndef VENDOR_LINEAGE_LIVEDISPLAY_V1_0_UTILS_H +#define VENDOR_LINEAGE_LIVEDISPLAY_V1_0_UTILS_H + +#include <utils/Errors.h> + +namespace vendor { +namespace lineage { +namespace livedisplay { +namespace V1_0 { +namespace implementation { + +class Utils { + public: + static android::status_t readInt(const char* node, int32_t* value); + static android::status_t writeInt(const char* node, int32_t value); +}; + +} // namespace implementation +} // namespace V1_0 +} // namespace livedisplay +} // namespace lineage +} // namespace vendor + +#endif // VENDOR_LINEAGE_LIVEDISPLAY_V1_0_UTILS_H |