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>
This commit is contained in:
Kieran Bingham
2021-04-13 12:45:09 +01:00
parent 05b8022601
commit 296a903fe3
+6 -6
View File
@@ -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();