Jan Altensen | 1a84336 | 2019-01-20 01:40:51 +0100 | [diff] [blame^] | 1 | /* |
| 2 | * Copyright (C) 2019 The LineageOS Project |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
| 16 | |
| 17 | #include "SunlightEnhancement.h" |
| 18 | |
| 19 | namespace vendor { |
| 20 | namespace lineage { |
| 21 | namespace livedisplay { |
| 22 | namespace V2_0 { |
| 23 | namespace implementation { |
| 24 | |
| 25 | // Methods from ::vendor::lineage::livedisplay::V2_0::ISunlightEnhancement follow. |
| 26 | Return<bool> SunlightEnhancement::isEnabled() { |
| 27 | // TODO implement |
| 28 | return bool {}; |
| 29 | } |
| 30 | |
| 31 | Return<bool> SunlightEnhancement::setEnabled(bool enabled) { |
| 32 | // TODO implement |
| 33 | return bool {}; |
| 34 | } |
| 35 | |
| 36 | |
| 37 | // Methods from ::android::hidl::base::V1_0::IBase follow. |
| 38 | |
| 39 | //ISunlightEnhancement* HIDL_FETCH_ISunlightEnhancement(const char* /* name */) { |
| 40 | //return new SunlightEnhancement(); |
| 41 | //} |
| 42 | // |
| 43 | } // namespace implementation |
| 44 | } // namespace V2_0 |
| 45 | } // namespace livedisplay |
| 46 | } // namespace lineage |
| 47 | } // namespace vendor |