From 49771c6dccb28228839b5e88ada36bd6646bf933 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Mon, 6 Jul 2020 13:59:19 +0300 Subject: libcamera: ipa_proxy: Allow stop() on a stopped IPA MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit To make error handling easier in callers, allow the stop() function to be called when the proxy is already stopped, or not started yet. Signed-off-by: Laurent Pinchart Reviewed-by: Jacopo Mondi Reviewed-by: Niklas Söderlund --- include/libcamera/internal/ipa_proxy.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/libcamera/internal/ipa_proxy.h b/include/libcamera/internal/ipa_proxy.h index aec8f04f..b429ce5a 100644 --- a/include/libcamera/internal/ipa_proxy.h +++ b/include/libcamera/internal/ipa_proxy.h @@ -27,6 +27,8 @@ public: std::string configurationFile(const std::string &file) const; + void stop() override = 0; + protected: std::string resolvePath(const std::string &file) const; -- cgit v1.2.1