summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham@ideasonboard.com>2021-04-13 12:45:09 +0100
committerKieran Bingham <kieran.bingham@ideasonboard.com>2021-04-13 20:52:19 +0100
commit296a903fe36e9097daf5caf4ff21e9a728074a50 (patch)
tree585b1e24470be026c0b7eceeb230ca2e4babd81c
parent05b80226010bef5d296ed8331a0582a6e045a4ae (diff)
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 <laurent.pinchart@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
-rw-r--r--include/libcamera/internal/ipa_proxy.h12
1 files changed, 6 insertions, 6 deletions
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();