From 296a903fe36e9097daf5caf4ff21e9a728074a50 Mon Sep 17 00:00:00 2001 From: Kieran Bingham Date: Tue, 13 Apr 2021 12:45:09 +0100 Subject: libcamera: ipa_proxy: Scope ProxyState to IPAProxy The ProxyState is only used by the IPAProxy, so it should remain inside that scope. This helps clarify the usage, and improves the documentation by bringing the (future) ProxyState documentation into the class. Reviewed-by: Laurent Pinchart Signed-off-by: Kieran Bingham --- include/libcamera/internal/ipa_proxy.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'include') diff --git a/include/libcamera/internal/ipa_proxy.h b/include/libcamera/internal/ipa_proxy.h index 9fe446c3..ea9f0760 100644 --- a/include/libcamera/internal/ipa_proxy.h +++ b/include/libcamera/internal/ipa_proxy.h @@ -17,15 +17,15 @@ namespace libcamera { class IPAModule; -enum ProxyState { - ProxyStopped, - ProxyStopping, - ProxyRunning, -}; - class IPAProxy : public IPAInterface { public: + enum ProxyState { + ProxyStopped, + ProxyStopping, + ProxyRunning, + }; + IPAProxy(IPAModule *ipam); ~IPAProxy(); -- cgit v1.2.1