aboutsummaryrefslogtreecommitdiff
path: root/ir/ConsumerIr.h
diff options
context:
space:
mode:
authorSebastiano Barezzi <barezzisebastiano@gmail.com>2021-09-13 01:16:43 +0200
committerSebastiano Barezzi <barezzisebastiano@gmail.com>2021-09-20 14:19:36 +0200
commit0cd4e50d6f5bce1ea252fecffa0249b550a6630f (patch)
tree2e17aee6cdd6dc4c8117eec62d91c20628fccfc6 /ir/ConsumerIr.h
parentec4147512ce8d3519e8b345370f4425ca7158d35 (diff)
sdm660-common: ir: Binderize
Change-Id: Ib704750a56eec2e26440bdfee92976776db58812
Diffstat (limited to 'ir/ConsumerIr.h')
-rw-r--r--ir/ConsumerIr.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/ir/ConsumerIr.h b/ir/ConsumerIr.h
index 65acddd..3c90250 100644
--- a/ir/ConsumerIr.h
+++ b/ir/ConsumerIr.h
@@ -28,7 +28,8 @@ using ::android::hardware::Void;
using ::android::sp;
struct ConsumerIr : public IConsumerIr {
- ConsumerIr(consumerir_device_t *device);
+ ConsumerIr();
+ ~ConsumerIr();
// Methods from ::android::hardware::ir::V1_0::IConsumerIr follow.
Return<bool> transmit(int32_t carrierFreq, const hidl_vec<int32_t>& pattern) override;
Return<void> getCarrierFreqs(getCarrierFreqs_cb _hidl_cb) override;
@@ -36,8 +37,6 @@ private:
consumerir_device_t *mDevice;
};
-extern "C" IConsumerIr* HIDL_FETCH_IConsumerIr(const char* name);
-
} // namespace implementation
} // namespace V1_0
} // namespace ir