summaryrefslogtreecommitdiff
path: root/src/libcamera/include/pipeline_handler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcamera/include/pipeline_handler.h')
-rw-r--r--src/libcamera/include/pipeline_handler.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/libcamera/include/pipeline_handler.h b/src/libcamera/include/pipeline_handler.h
index 70cfbe6e..a86ba696 100644
--- a/src/libcamera/include/pipeline_handler.h
+++ b/src/libcamera/include/pipeline_handler.h
@@ -19,6 +19,7 @@ class Camera;
class CameraManager;
class DeviceEnumerator;
class MediaDevice;
+class PipelineHandler;
class Request;
class Stream;
class StreamConfiguration;
@@ -26,10 +27,14 @@ class StreamConfiguration;
class CameraData
{
public:
+ explicit CameraData(PipelineHandler *pipe)
+ : pipe_(pipe)
+ {
+ }
virtual ~CameraData() {}
-protected:
- CameraData() {}
+ Camera *camera_;
+ PipelineHandler *pipe_;
private:
CameraData(const CameraData &) = delete;