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:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user