summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libcamera/internal/camera.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/libcamera/internal/camera.h b/include/libcamera/internal/camera.h
index 1a08da0c..9f5adac1 100644
--- a/include/libcamera/internal/camera.h
+++ b/include/libcamera/internal/camera.h
@@ -19,6 +19,7 @@
namespace libcamera {
+class CameraControlValidator;
class PipelineHandler;
class Stream;
@@ -38,6 +39,8 @@ public:
uint32_t requestSequence_;
+ const CameraControlValidator *validator() const { return validator_.get(); }
+
private:
enum State {
CameraAvailable,
@@ -64,6 +67,8 @@ private:
bool disconnected_;
std::atomic<State> state_;
+
+ std::unique_ptr<CameraControlValidator> validator_;
};
} /* namespace libcamera */