From a6de9030893753e5428ee912fe7c52fbf93febd1 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Mon, 27 Apr 2020 02:36:18 +0300 Subject: ipa: Pass IPA initialization settings to IPAInterface::init() Add a new IPASettings class to pass IPA initialization settings through the IPAInterface::init() method. The settings currently only contain the name of a configuration file, and are expected to be extended later. Signed-off-by: Laurent Pinchart Reviewed-by: Jacopo Mondi --- src/ipa/vimc/vimc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ipa/vimc') diff --git a/src/ipa/vimc/vimc.cpp b/src/ipa/vimc/vimc.cpp index cfdbd6f9..e6bda8ec 100644 --- a/src/ipa/vimc/vimc.cpp +++ b/src/ipa/vimc/vimc.cpp @@ -31,7 +31,7 @@ public: IPAVimc(); ~IPAVimc(); - int init() override; + int init(const IPASettings &settings) override; int start() override; void stop() override; @@ -61,7 +61,7 @@ IPAVimc::~IPAVimc() ::close(fd_); } -int IPAVimc::init() +int IPAVimc::init(const IPASettings &settings) { trace(IPAOperationInit); -- cgit v1.2.1